Date: Wed, 27 Sep 2017 21:00:25 +0200 From: David Naylor <naylor.b.david@gmail.com> To: Russell Haley <russ.haley@gmail.com> Cc: Freebsd-mono <freebsd-mono@freebsd.org> Subject: Re: Update on porting mono 5 Message-ID: <1605602.zREDmETBTz@dragon.local> In-Reply-To: <CABx9NuSbCT_99xzFAGiQ=K9KNOVCTCByd4JHWtz7X9eGHM0Rtw@mail.gmail.com> References: <17078253.u2dgjZK1Z6@dragon.local> <2134833.Sy1MOPJqMe@dragon.local> <CABx9NuSbCT_99xzFAGiQ=K9KNOVCTCByd4JHWtz7X9eGHM0Rtw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1788311.Ke5iizjor3 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Monday, 25 September 2017 23:35:04 Russell Haley wrote: > 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-core > clr-c7da48a_GH0.tar.gz fetch: > https://codeload.github.com/dotnet/coreclr/tar.gz/c7da48a?dummy=/dotnet-cor > eclr-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/cla > ss/lib/monolite /bin/mv > /usr/home/russellh/FreeBSD/ports/lang/mono/work/monolite-1050200001-latest > /usr/home/russellh/FreeBSD/ports/lang/mono/work/mono-mono-5.2.0.215/mcs/cla > ss/lib/monolite/1050200001 ===> 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 Oops, I gave you the incorrect incantation for patch. Something like: # patch -Ep1 < /path/to/patch The patch in question should be removed (and should be empty). See [1] for what the patches should look like (minus the .orig files ;-)). Regarding distinfo - I've been having issues with a lot (but not all?) of them. It appears the github has changes how they get generated. I'll need verify no changes in the sources though. [1] https://github.com/DragonSA/ports/tree/mono-5.2.0.215/lang/mono/files --nextPart1788311.Ke5iizjor3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAlnL9UlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lUBNg//SFECUCE78Ih9yAKZv/42Gu0J2H2w4Qn5rPXJkCsy7c5jSsBRuf1WA1J2 IEKSYCeQEFFTdcVIdLhCREWmtckNAybcHCXB8noRPHbSDTlHHLqO2/FT/0Q8TNyh Hu2+r3HVeh7Zm6X76la4DPMZPy8SxDfygVDrXUW5R6z2KCM09FSY/HWVcIz/2Ny1 LGK3g+yHQJEpiKyFiPn4yg1cbOfWNAnvdeVuq+I+EWkf8CKpGucBPdHf2KbcCFgL TPqnr412gH76oKbOiosGnbNb3Tl2tjJqyYq4KEwf4/Ml6uiUJadZsLqbmR+2RKyK biN7ap9ycWmtaUQcQxtIz7SUNRUTN/ZYDP5SWFmJaRTn1g1wtrweq75Z8qofX0Pv lP1r+7FvaPs+cBh0JW83NKNgwM2NbqKQuMyVEMjZ1mz1KGIgVsNWtwak+SR/RDd9 EaVs3F69QoT2SosMee1L/2UxMpgYbrUD93ZhbSgHCgPTU3RAIMuHhPcSyyIQsMeM kI8wsYiA1yNnHbXyLJKCz/PS2qxHGYkiuji9u4sttDWzX7SEPjVScbxlmGdI4XGU nZDqYR5PRQswf48S6CDibYtKZnnXeLd1bN9lShM2cF9SpAhHljU8w9n2teWmVAMd hoOHNf4mYmrj6mx39i7BvUGXmWJ7HHCFL5ueV2cSsnXFZ2cJKgY= =yMYa -----END PGP SIGNATURE----- --nextPart1788311.Ke5iizjor3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1605602.zREDmETBTz>