Re: Update on porting mono 5

2017-09-25 Thread Russell Haley
Sorry, hit send in gmail somehow. :-/

Hi David,

So, point 1: I suck at patching. I'm going to re-attempt when I'm not
so tired with a fresh ports from svn.

tldr; I think I failed to apply the patch, but the build started after
I modified the distinfo file.

Details:
I tried the new patch from phabricator, but mucked it up (man wget
russell!). So I used the patch above. I had items rejected but
realised the port version on this computer might have been old. I
reverted, updated and tried again. The patch patch seemed to succeed
(Output is here http://termbin.com/373z). However, I forgot to clean
up the *.rej and *.orig files so I'm a little unsure of the state.
None the less, the build for mono 5 started and ended on the following
error:

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
=> 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 mismatch: expected 31762122, actual 31762105
=> 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[1]: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono
*** Error code 1

Stop.
make: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono

I modified the distinfo file and changed the size. I also had to
change the size of the rosyln download. The last two files of the
distinfo were modified:

SHA256 (dotnet-coreclr-c7da48a_GH0.tar.gz) =
8529ce9e9dcc524046205487ca8a8e584d8180c3fecb59bc27944326525d8c83
SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762105
SHA256 (dotnet-roslyn-322bd5b_GH0.tar.gz) =
9740a0922f2fafa0251f462e7f27cfd6891dc078c22b008c49e11db6637edeea
SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058637

I ran the port without checksum, but then the patches failed (see point 1).

russellh@prescott:~/FreeBSD/ports/lang/mono% make NO_CHECKSUM=yes
===>  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
/bin/mkdir -p 
/usr/home/russellh/FreeBSD/ports/lang/mono/work/mono-mono-5.2.0.215/mcs/class/lib/monolite
/bin/mv 
/usr/home/russellh/FreeBSD/ports/lang/mono/work/monolite-105021-latest
/usr/home/russellh/FreeBSD/ports/lang/mono/work/mono-mono-5.2.0.215/mcs/class/lib/monolite/105021
===>  Patching for mono-5.2.0.215
===>  Applying FreeBSD patches for mono-5.2.0.215
===>   Ignoring patchfile patch-configure.ac.orig
===>   Ignoring patchfile patch-eglib_src_gfile-posix.c.orig
  I can't seem to find a patch in there anywhere.
=> FreeBSD patch patch-mono_metadata_socket-io.c failed to apply
cleanly.
=> Patch(es)  patch-configure.ac patch-eglib_src_gfile-posix.c applied
cleanly.
*** 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

Okay, that's it for tonight,

Cheers,

Russ

On Mon, Sep 25, 2017 at 4:54 AM, David Naylor  wrote:
> On Sunday, 24 September 2017 20:39:32 Russell Haley wrote:
>> Phabricator database is down. David, if you see this and can send your
>> patch I'll give it a shot tonight.
>
> Please see attached, to apply:
> # cd /usr/ports
> # patch -p1 < /path/to/patch
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"


Re: Update on porting mono 5

2017-09-25 Thread Russell Haley
Hi David,

I tried the new patch from phabricator, but mucked it up (man wget
russell!). So I used the patch above. I had items rejected but
realized the port version on this computer might have been old. I
reverted, updated and tried again. The patch patch seemed to succeed
(Output is here http://termbin.com/373z). However, I forgot to clean
up the *.rej and *.orig files so I'm a little unsure of the state.
None the less, the build for mono 5 started and ended on the following
error:

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
=> 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 mismatch: expected 31762122, actual 31762105
=> 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[1]: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono
*** Error code 1

Stop.
make: stopped in /usr/home/russellh/FreeBSD/ports/lang/mono

I modified the distinfo file and changed the size. I also had to
change the size of the rosyln download. The last two files of the
distinfo were modified:


On Mon, Sep 25, 2017 at 4:54 AM, David Naylor  wrote:
> On Sunday, 24 September 2017 20:39:32 Russell Haley wrote:
>> Phabricator database is down. David, if you see this and can send your
>> patch I'll give it a shot tonight.
>
> Please see attached, to apply:
> # cd /usr/ports
> # patch -p1 < /path/to/patch
___
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"