Mono .26 has been released. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I started working on a mono-0.26 ebuild but ran into an issue with the new build system some others are experiencing, too (according to the mono mailing lists). The compilation of mcs always fails with error CS0006: Cannot find assembly `System.Xml.dll' although the path where that assembly is located (${S}/runtime in our case) is in MONO_PATH. Can someone who is more experienced with mono or has the time to look into this please provide a workaround/fix ? :) I guess in the end it's just a one liner with some path changes :/ Summarized I changed the following: - removed the <= of libxml2 (talked to tberman and as I understood this is not an issue anymore [26946 should be closed when mono 0.26 is in the tree] - removed --with-gc=included from econf because it is default anyway - changed make -f makefile.gnu to just make because of their new build system it supports "profiles" now but I didn't use make PROFILE=... because the default profile is the equivalent to what "make -f makefile.gnu" did
Created attachment 16597 [details] mono-0.26
You probably need to set the prefix in mcs with: echo "prefix=/whatever" > mcs/build/config.make also, you might want to look into using the make fullbuild target in mono/
To my understanding "make fullbuild" is only meant for people who are updating from a tarball and want to issue all make-related things in one rush. Additionally we may run into problems if we use fullbuild because we can't seperate src_compile() and src_install() anymore. The default prefix for mono/mcs is always /usr/local if nothing is specified so I doubt it's related to not set a custom prefix, but I will further investigate this when I have some time... Otherwise I am of course happy when someone comes up with a working solution ;)
ouch, in my last comment I wanted to write: " ... who are updating from a snapshot ..."
make MCS=${S}/runtime/mcs gets me past System.Xml but into another problem. Yes, make fullbuild wouldn't allow splitting up the install process.
Comment on attachment 16597 [details] mono-0.26 PATH=${S}/runtime:${S}/mono/mini:${PATH} MONO_PATH=${S}/runtime:${MONO_PATH} make MCS=${S}/runtime/mcs || die "MCS compilation failure"
indeed, using "make MCS=${S}/runtime/mcs" seems to be a good start and a step that we need to do. But now we need to find a way to work around the Unhandled Exception in System.Data.dll... I wish building mcs/mono would be as easy and painless as building the Portable .NET packages ;-)
to have a version in portage we can of couse disable the mcs parts for now and then just keep working on it and do a revision bump.
would perhaps be the best solution, yes ;) I just added 0.26 with all the mcs-related things being commented... I hope we can get this fixed and mark it stable soon, because arch users are lagging behind to mono-0.24
Created attachment 16696 [details] mono-0.26 ebuild with working mcs compilation I was able to compile mono including mcs (without having mono installed) with this ebuild.
committed. I am sorry it took so long, please remind me or the team next time. I swear it'll go much faster with the upcoming release of mono within the next few days ;) Thank you for your submission!