FreeBSD Port: lang/mono

2017-09-21 Thread Maciej Przybecki
Hi,
Are you going to upgrade this port to latest 5.2 version soon ?
I made some research and managed to compile on FreeBSD 11.1 using:

PREFIX="$HOME/build/mono/" &&
VERSION="5.2.0.215" &&
FILENAME="mono-$VERSION.tar.bz2" &&
curl -O "https://download.mono-project.com/sources/mono/$FILENAME 
" &&
tar -xvf "$FILENAME" &&
cd "mono-$VERSION" &&
./configure —prefix="$PREFIX" --disable-nls --disable-dtrace --build="$(gcc 
-dumpmachine)" &&
sed -EI -e "s|#define HAVE_LOCALCHARSET_H.*|#undef HAVE_LOCALCHARSET_H|" 
eglib/config.h &&
mkdir -p "$PREFIX" &&
gmake &&
gmake install &&
echo "Mono $VERSION successfully built and installed to '$PREFIX'."


Best regards,
Maciej Przybecki



___
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-21 Thread David Naylor
Hi

A quick update on the update to mono5.  In theory everything should be
working (i.e. mono, monodevelop, etc).

A review has also been created (so you can access the patch).  Please test
it.

https://reviews.freebsd.org/D12440

Regards

On 25 August 2017 at 21:41, David Naylor  wrote:

> On Tuesday, 15 August 2017 12:21:20 Romain Tartière wrote:
> > Hi David,
> >
> > On Tue, Aug 15, 2017 at 09:11:57AM +0200, David Naylor wrote:
> > > Here is an update on porting mono 5:
> > >  - mono: 5.1.0.1 (needs to be updated to 5.2, tests run)
> > >  - msbuild: 15.3 (needs tests ported and run, upstream bugs filed)
> > >  - fsharp: 4.1.25 (WIP)
> > >  - monodevelop: 7.0.1.24 (WIP)
> > >  - gtksharp20: 2.12.45 (WIP)
> > >  - avahi-sharp: 0.7 (not started)
> > >  - bumping all dependent ports (not started)
> > >  - exp-run (not started)
> > >
> > > Would anyone be interested in doing a (Phabricator) review?
> >
> > I don't actively use mono nowadays but sure, I can check if my old code
> > tests suites still pass with the update.  I have just registered to
> > Phabricator and have no previous experience with this tool, so get ready
> > to teach me stuff ;-)
>
> Great, thanks.
>
> Here is a status update (with patch [1][3]).  Things aren't ready yet, but
> as
> it
> stands:
>  - lang/mono: 5.2.0.215 (tests failing in mcs/class/corlib
> [run-test-local])
>  - devel/msbuild: 15.3 (tests failing [with SIGABRT])
>  - lang/sharp: 4.1.25 (tests failing in math/measures/test.fsx [Invalid IL
> code])
>  - x11-toolkits/gtk-sharp20: 2.12.45
>  - x11-toolkits/gnome-sharp20: 2.24.4
> WIP:
>  - devel/monodevelop: 7.1.0.1297 (full nuget package restore required
> [extra
> nuget support required])
>  - devel/mono-addins: depreciate [2] (broken with mono5), fix dependencies
> TODO:
>  - mono: test self hosting
>  - update mono-lite version
>  - avahi-sharp: 0.7
>  - bump all dependent ports
>  - exp-run
>  - commit to ports
>  - upstream patches
>  - fix tests
>
> Note that the failing tests don't worry me too much.  Most of them are edge
> cases that won't affect the average user (i.e. not a blocker to commit to
> ports) - also I don't know how many tests are failing on other platforms
> (if
> any).
>
> [1] git clone https://github.com/DragonSA/ports; cd ports; git diff
> master..origin/mono5.2.0.215
> [2] A general discussion needs to be had around nuget packages.  How do we
> consume them?
>   i) as downloads with each port containing a copy
>  ii) local ports with consistency across the Ports Collections
> iii) A mixture of the above (i.e. (ii) is there is a native component,
> otherwise (i))
> I prefer (ii) as I think it gives the end user the best leverage to patch
> issues with nuget packages locally (and to get updates without waiting on
> a)
> upstream, and b) us/ports maintainer).  However, at this point that option
> is
> at 0% progress.
> [3] https://people.freebsd.org/~dbn/mono-20170825.diff.xz
___
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"

we have errors in distinfo SIZE

2017-09-21 Thread Dipl.-Ing. Harald E. Langner

we have errors

in distinfo the size of the last to files is wrong

SHA256 (dotnet-coreclr-c7da48a_GH0.tar.gz) = 
8529ce9e9dcc524046205487ca8a8e584d8180c3fecb59bc27944326525d8c83

SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762122
SHA256 (dotnet-roslyn-322bd5b_GH0.tar.gz) = 
9740a0922f2fafa0251f462e7f27cfd6891dc078c22b008c49e11db6637edeea

SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058493

you can not download the files with

#make fetch-recursive

   error:
   => dotnet-coreclr-c7da48a_GH0.tar.gz doesn't seem to exist in
   /usr/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    0  B 0  Bps
   ..
   dotnet-coreclr-c7da48a_GH0.tar.gz   30 MB 30
   kBps 16m42s
   => 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/ports/distfiles/ and try again.

   *** Error code 1
   Stop.

*Solution:*

   correct the SIZEas it was caluclate:
            ...
            SHA256 (dotnet-coreclr-c7da48a_GH0.tar.gz) = 
8529ce9e9dcc524046205487ca8a8e584d8180c3fecb59bc27944326525d8c83

            SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762122
    changed in:
            SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762105

            SHA256 (dotnet-roslyn-322bd5b_GH0.tar.gz) = 
9740a0922f2fafa0251f462e7f27cfd6891dc078c22b008c49e11db6637edeea

            SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058493
    changed in:
            SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058637
    => then I have got them:

      but a changed size good be a Bug, sign of a virus or just simple 
a sludgy bad documentation work (forget to write the changes)

      Have I concern about that or anything?

best regards

Harald




___
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"

we have errors in distinfo SIZE

2017-09-21 Thread Dipl.-Ing. Harald E. Langner

we have errors

in distinfo the size of the last to files is wrong

SHA256 (dotnet-coreclr-c7da48a_GH0.tar.gz) = 
8529ce9e9dcc524046205487ca8a8e584d8180c3fecb59bc27944326525d8c83

SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762122
SHA256 (dotnet-roslyn-322bd5b_GH0.tar.gz) = 
9740a0922f2fafa0251f462e7f27cfd6891dc078c22b008c49e11db6637edeea

SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058493

you can not download the files with

#make fetch-recursive

   error:
   => dotnet-coreclr-c7da48a_GH0.tar.gz doesn't seem to exist in
   /usr/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    0  B 0  Bps
   ..
   dotnet-coreclr-c7da48a_GH0.tar.gz   30 MB 30
   kBps 16m42s
   => 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/ports/distfiles/ and try again.

   *** Error code 1
   Stop.

*Solution:*

   correct the SIZE
            ...
            SHA256 (dotnet-coreclr-c7da48a_GH0.tar.gz) = 
8529ce9e9dcc524046205487ca8a8e584d8180c3fecb59bc27944326525d8c83

            SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762122
    ändern:
            SIZE (dotnet-coreclr-c7da48a_GH0.tar.gz) = 31762105

            SHA256 (dotnet-roslyn-322bd5b_GH0.tar.gz) = 
9740a0922f2fafa0251f462e7f27cfd6891dc078c22b008c49e11db6637edeea

            SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058493
    ändern:
            SIZE (dotnet-roslyn-322bd5b_GH0.tar.gz) = 22058637
    => und dann wurden sie runtergeladen:
       die Veränderte Größe könnte ein Bug, ein Virus oder nur 
schlampige dokumentation sein

       muss ich mir da sorgen machen?



___
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"