Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2017 22:49:12 -0800
From:      Russell Haley <russ.haley@gmail.com>
To:        David Naylor <naylor.b.david@gmail.com>
Cc:        Freebsd-mono <freebsd-mono@freebsd.org>, Tomas Weinfurt <Tomas.Weinfurt@microsoft.com>
Subject:   Re: Update on porting mono 5
Message-ID:  <CABx9NuQS4bGyj8KXsdRTt=fDhcmJGmChNubmMHPma=OstN6MTQ@mail.gmail.com>
In-Reply-To: <CABx9NuSfj5EsvS6EdoJ-DCynzsA8VfN2hJq5QsAmFDxAxQDpDg@mail.gmail.com>
References:  <17078253.u2dgjZK1Z6@dragon.local> <CAMQxofmmGtshS7ykYHpKwhiT-yoti6Ri2qs00nMSR5xMzZc6Jg@mail.gmail.com> <1723656.WBGSMfOCjc@dragon.local> <1794151.yOGvER6fHk@dragon.local> <CABx9NuTi-n5OAY0ZFd7ALbU0HPyx82DWzu%2BDorVTnJviZ21NuA@mail.gmail.com> <CABx9NuSfj5EsvS6EdoJ-DCynzsA8VfN2hJq5QsAmFDxAxQDpDg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi David, your patch applied cleanly but failed to find a file.

Complete output here:https://pastebin.com/0Q92wURs . The interesting
part follows.


russellh@prescott:~/FreeBSD/ports% cd lang/mono
russellh@prescott:~/FreeBSD/ports/lang/mono% make
===>  License MIT accepted by the user
===>   mono-5.2.0.215 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mono-5.2.0.215 for building
===>  Extracting for mono-5.2.0.215
=> SHA256 Checksum OK for nuget.31.zip.
=> SHA256 Checksum OK for monolite-1050200001-latest.tar.gz.
=> SHA256 Checksum OK for mono-mono-mono-5.2.0.215_GH0.tar.gz.
=> SHA256 Checksum OK for mono-Lucene.Net.Light-85978b7_GH0.tar.gz.
=> SHA256 Checksum OK for mono-NUnitLite-690603b_GH0.tar.gz.
=> SHA256 Checksum OK for mono-Newtonsoft.Json-471c3e0_GH0.tar.gz.
=> SHA256 Checksum OK for mono-NuGet.BuildTasks-8d30747_GH0.tar.gz.
=> SHA256 Checksum OK for mono-aspnetwebstack-e77b12e_GH0.tar.gz.
=> SHA256 Checksum OK for mono-buildtools-b5cc6e6_GH0.tar.gz.
=> SHA256 Checksum OK for mono-cecil-1003fcb_GH0.tar.gz.
=> SHA256 Checksum OK for mono-cecil-33d50b8_GH0.tar.gz.
=> SHA256 Checksum OK for mono-corefx-78360b2_GH0.tar.gz.
=> SHA256 Checksum OK for mono-corert-ed6296d_GH0.tar.gz.
=> SHA256 Checksum OK for mono-ikdasm-88b67c4_GH0.tar.gz.
=> SHA256 Checksum OK for mono-ikvm-fork-7c1e61b_GH0.tar.gz.
=> SHA256 Checksum OK for mono-linker-c7450ca_GH0.tar.gz.
=> SHA256 Checksum OK for
mono-reference-assemblies-142cbeb_GH0.tar.gz.
=> SHA256 Checksum OK for mono-roslyn-binaries-dcb0a05_GH0.tar.gz.
=> SHA256 Checksum OK for mono-rx-b29a4b0_GH0.tar.gz.
=> SHA256 Checksum OK for xamarin-benchmarker-97f618c_GH0.tar.gz.
=> SHA256 Checksum mismatch for dotnet-coreclr-c7da48a_GH0.tar.gz.
=> SHA256 Checksum mismatch for dotnet-roslyn-322bd5b_GH0.tar.gz.
===>  Refetch for 1 more times files:
dotnet-coreclr-c7da48a_GH0.tar.gz  dotnet-roslyn-322bd5b_GH0.tar.gz
===>  License MIT accepted by the user
===>   mono-5.2.0.215 depends on file: /usr/local/sbin/pkg - found
=> dotnet-coreclr-c7da48a_GH0.tar.gz doesn't seem to exist in
/usr/home/russellh/FreeBSD/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/dotnet/coreclr/tar.gz/c7da48a?dummy=/dotnet-coreclr-c7da48a_GH0.tar.gz
fetch: https://codeload.github.com/dotnet/coreclr/tar.gz/c7da48a?dummy=/dotnet-coreclr-c7da48a_GH0.tar.gz:
size unknown
fetch: https://codeload.github.com/dotnet/coreclr/tar.gz/c7da48a?dummy=/dotnet-coreclr-c7da48a_GH0.tar.gz:
size of remote file is not known
dotnet-coreclr-c7da48a_GH0.tar.gz                       30 MB 2657
kBps 00m12s
=> Fetched file size mismatch (expected 31762122, actual 31762105)
=> Trying next site
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/dotnet-coreclr-c7da48a_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/dotnet-coreclr-c7da48a_GH0.tar.gz:
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/home/russellh/FreeBSD/ports/distfiles/ and
try again.
*** Error code 1

Stop.
make[2]: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono
*** Error code 1

Stop.
make[1]: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono
*** Error code 1

Stop.
make: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono
russellh@prescott:~/FreeBSD/ports/lang/mono%



Night,
Russ

On Thu, Nov 23, 2017 at 10:58 PM, Russell Haley <russ.haley@gmail.com> wrote:
> On Thu, Nov 23, 2017 at 9:33 PM, Russell Haley <russ.haley@gmail.com> wrote:
>> On Thu, Nov 23, 2017 at 1:01 PM, David Naylor <naylor.b.david@gmail.com> wrote:
>>> On Monday, 13 November 2017 23:11:03 David Naylor wrote:
>>>> In the interim, I tried my hand at my own exp-run [1][2][3].  And things
>>>> didn't go well (well the exp-run was a success, but the results...).
>>>>
>>>> It appears that somehow the assemblies are being delay signed during build,
>>>> instead of signed.  It appears csc(1) [the replacement for mcs(1)] does not
>>>> support signing on non-Windows machines [4].  Mono recommends sn(1) should
>>>> be used to sign the dll after build.  I suggest we patch
>>>> Microsoft.Common.CurrentVersion.target to restore signing functionality.
>>>
>>> I've fixed signing of assemblies by using sn(1) after the compile step in the
>>> CoreCompile target.  This fixed one port and pushed post packages to breaking
>>> due to changes from mdb to pdb debug info.
>> Wow. I haven't seen sn or SigningTool in a long time. Nice job. I
>> didn't even think of it.
>>
>>>> Any help with the above or the following will be most appreciated:
>>>>  - Bumping the PORTREVISION of all ports that depend on mono
>>>>  - Patching security/ca_root_nss to update/sync/clear the mono certificate
>>>> (see cet-sync(1))
>>>>  - (Optional) Patch mono to store the certificates in $PREFIX, instead of
>>>> /usr/local/
>>>  - fix the follow port's pkg-plist:
>>>    - devel/dbus-sharp
>>>    - devel/mono-addins
>>>    - devel/newtonsoft-json
>>>    - multimedia/emby-server
>>>  - investigate why the following ports do not build:
>>>    - games/openra
>>>    - security/gnome-keyring-sharp
>>
>> I'm perusing your review right now. I haven't absorbed enough to
>> comment yet. You seem to have added a new make variable for
>> nuget_depends. Can you speak a little about that? I am wondering if
>> leverage that in dotnet core to pull in the managed assemblies that we
>> can't build on FreeBSD?
>>
>> Russ
>
> I submitted some comments on the patch. You've put in quite a bit of work!
>
> It seem that you are pulling binaries for Nuget, Rosyln and a big
> chunk of the dotnet framework. I can't help but think we could
> directly use this port as a framework to build the managed assemblies
> for core2 if we have all that working in order to build mono.
>
> I also see nuget3000 and paket are used. Can you describe where these
> are needed and what they are used for? I could have asked this on the
> review but thought this is a better for others on the list that don't
> want to wade through a review. :)
>
> Night,
> Russ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuQS4bGyj8KXsdRTt=fDhcmJGmChNubmMHPma=OstN6MTQ>