http://www.mono-project.com/docs/about-mono/releases/3.8.0/ Reproducible: Always
Related to similar of this: https://bugs.gentoo.org/show_bug.cgi?id=501130 We are currently 6 releases behind in portage.
*** Bug 529234 has been marked as a duplicate of this bug. ***
*** Bug 529232 has been marked as a duplicate of this bug. ***
version bump tested working. needs DEPEND=!<dev-lang/mono-3.4.0 or something around that, the build automagically uses system libraries and fails miserably.
Alex do you have a working ebuild?
The 3.10.0 ebuild of dotnet does not build on my odroid u2 (arm hardfp, keyworded system): It apparently builds, but seems to have some problems with the make system. [...] Compilation succeeded - 1 warning(s) caspol.cs(724,20): warning CS0612: `System.Security.SecurityManager.SavePolicyLevel(System.Security.Policy.PolicyLevel)' is obsolete caspol.cs(745,20): warning CS0612: `System.Security.SecurityManager.SavePolicyLevel(System.Security.Policy.PolicyLevel)' is obsolete caspol.cs(765,20): warning CS0612: `System.Security.SecurityManager.SavePolicyLevel(System.Security.Policy.PolicyLevel)' is obsolete caspol.cs(778,21): warning CS0612: `System.Security.SecurityManager.SavePolicyLevel(System.Security.Policy.PolicyLevel)' is obsolete caspol.cs(790,22): warning CS0612: `System.Security.SecurityManager.SavePolicyLevel(System.Security.Policy.PolicyLevel)' is obsolete caspol.cs(804,20): warning CS0618: `System.Security.SecurityManager.SecurityEnabled' is obsolete: `The security manager cannot be turned off on MS runtime' caspol.cs(815,20): warning CS0612: `System.Security.SecurityManager.CheckExecutionRights' is obsolete caspol.cs(847,36): warning CS0612: `System.Security.SecurityManager.PolicyHierarchy()' is obsolete caspol.cs(921,34): warning CS0612: `System.Security.SecurityManager.LoadPolicyLevelFromFile(string, System.Security.PolicyLevelType)' is obsolete caspol.cs(927,34): warning CS0612: `System.Security.SecurityManager.LoadPolicyLevelFromFile(string, System.Security.PolicyLevelType)' is obsolete caspol.cs(83,15): warning CS0414: The private field `Mono.Tools.CasPol.forcePolicyChanges' is assigned but its value is never used Compilation succeeded - 21 warning(s) MCS [net_4_5] mdbrebase.exe MCS [net_4_5] ikdasm.exe ../../../external/ikdasm/Disassembler.cs(2152,69): warning CS0618: `System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete: `This requests should not be used' ../../../external/ikdasm/Disassembler.cs(2155,69): warning CS0618: `System.Security.Permissions.SecurityAction.RequestRefuse' is obsolete: `This requests should not be used' ../../../external/ikdasm/Disassembler.cs(2158,69): warning CS0618: `System.Security.Permissions.SecurityAction.RequestOptional' is obsolete: `This requests should not be used' ../../../external/ikvm/reflect/Reader/Authenticode.cs(67,8): warning CS0219: The variable `dwLength' is assigned but its value is never used Compilation succeeded - 4 warning(s) Makefile:96: recipe for target 'profiles-do--all' failed make[3]: *** [profiles-do--all] Error 2 Makefile:564: recipe for target 'all-local' failed make[2]: *** [all-local] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0_build/runtime' Makefile:518: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0_build' Makefile:445: recipe for target 'all' failed make: *** [all] Error 2 ^[[33;01m*^[[0m __helpers_die: WARNING: emake failed ^[[33;01m*^[[0m autotools-utils_src_compile: WARNING: emake failed >>> Source compiled. >>> Test phase [not enabled]: dev-lang/mono-3.10.0 [...] /usr/bin/install -c -c -m 755 ./../../class/lib/xbuild_12/xbuild.exe /var/tmp/portage/dev-lang/mono-3.10.0/image//usr/lib/mono/xbuild/12.0/bin test ! -f ./../../class/lib/xbuild_12/xbuild.exe.mdb || /usr/bin/install -c -c -m 755 ./../../class/lib/xbuild_12/xbuild.exe.mdb /var/tmp/portage/dev-lang/mono-3.10.0/image//usr/lib/mono/xbuild/12.0/bin test ! -f xbuild.exe.so || /usr/bin/install -c -c -m 755 xbuild.exe.so /var/tmp/portage/dev-lang/mono-3.10.0/image//usr/lib/mono/xbuild/12.0/bin make[6]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0/mcs/tools/xbuild' make[5]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0/mcs/tools/xbuild' make install-local make[4]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0/mcs' make[3]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0/mcs' Makefile:96: recipe for target 'profiles-do--install' failed make[2]: *** [profiles-do--install] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0/mcs' Makefile:572: recipe for target 'install-exec' failed make[1]: *** [install-exec] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0_build/runtime' Makefile:518: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 * ERROR: dev-lang/mono-3.10.0::dotnet failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/mono-3.10.0::dotnet'`, * the complete build log and the output of `emerge -pqv '=dev-lang/mono-3.10.0::dotnet'`. * The complete build log is located at '/var/tmp/portage/dev-lang/mono-3.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-3.10.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0_build' * S: '/var/tmp/portage/dev-lang/mono-3.10.0/work/mono-3.10.0' Full logs are attached as files.
Created attachment 391016 [details] build 3.10.0 on odroid
Created attachment 391018 [details] emerge --info on odroid
log files
if you are using -j then you need to scroll up (sometimes very far) to find the real error: Error: Cannot load support for ResX format: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies . The system cannot find the file specified.Error: Cannot load support for ResX format: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken= b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. Error: Cannot load support for ResX format: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies . The system cannot find the file specified. ensure that you have completely removed the old mono version before starting the build of the new (emerge --unmerge mono).
Again, where are you getting the 3.10.0 ebuild from?
Created attachment 396182 [details] mono-3.12.0.ebuild I just tried to compile mono with 3.12.0 based on the ebuild 3.2.8 and it worked. I had to remove what's about bug#504108 and force USE="-doc". Please find enclosed the ebuild I used.
*** Bug 539980 has been marked as a duplicate of this bug. ***
When bringing mono up-to-date with version-3.12.0 I think mod_mono also should be bumped to 3.12, right? Possibly this should go in it's own bug but I still take it up here as they are connected and as a solution works together. I was able to emerge mono-3.12.0 with this ebuild and mod_mono-3.12 by simply renaming mod_mono-2.10 + this hack by change in the ebuild: IUSE="debug" -DEPEND="=dev-dotnet/xsp-${GO_MONO_REL_PV}*" +DEPEND=">=dev-dotnet/xsp-2.10" RDEPEND="${DEPEND}" and this in /usr/portage/eclass/go-mono.eclass: else GO_MONO_P=${P} - SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" + SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz" fi ----- the tarball format for mod_mono changed from bz2 to gz starting with mod_mono-3.8 while the ebuild change works permanently placed in my local portage overlay, the eclass change will of course be overwritten on sync, but it's probably not the best way to do it as my aim was just to get it to work. I haven't done any testing yet.
Hello, Sorry if it's not the right place, but the release of the version 4.0 arrived April 29th. http://www.mono-project.com/docs/about-mono/releases/4.0.0/ Have a nice day.
According to https://fedoraproject.org/wiki/Changes/Mono_4 support for versions older then 4 has been discontinued. But in contrary, building Mono from source does not require a working mono, this is only true for git installs. This would also fix #548042.
Created attachment 402964 [details] mono-4.0.0.ebuild
people CC'd and reporter, please test. important cases are all combinations of USE=-*, USE=*, with and without mono-2.x, 3.x installed. I do not have enough CPU power to check all of these. if there is no response from dotnet within 14 days (either accept or reject), I will get proxy-maint to commit.
These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/mono-4.0.0::gentoo [3.2.8::gentoo] USE="llvm%* nls -debug -doc -minimal -pax_kernel -xen" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB checking for llvm-config... /usr/bin/llvm-config llvm-config: unknown component name: jit checking LLVM version... 3.6.0 configure: error: Compiling with stock LLVM is not supported, please use the Mono LLVM repo at https://github.com/mono/llvm, with the GIT branch which matches this version of mono, i.e. 'mono-2-10' for Mono 2.10. sys-devel/llvm-3.6.0::gentoo was built with the following: USE="clang libffi ncurses python static-analyzer xml -debug -doc -gold -libedit -multitarget -ocaml -test" ABI_X86="32 64 -x32" PYTHON_TARGETS="python2_7 -pypy" VIDEO_CARDS="radeon"
Created attachment 403376 [details] mono-4.0.0.ebuild v2
(In reply to Alex Xu (Hello71) from comment #20) > Created attachment 403376 [details] > mono-4.0.0.ebuild v2 after renaming your ebuild I was able to emerge dev-lang/mono-4.0.1 at http://download.mono-project.com/sources/mono/ there is a mono-4.0.1.34.tar.bz2 I tried to emerge that version but get an error: >>> Unpacking source... >>> Unpacking mono-4.0.1.34.tar.bz2 to /var/tmp/portage/dev-lang/mono-4.0.1.34/work >>> Source unpacked in /var/tmp/portage/dev-lang/mono-4.0.1.34/work * ERROR: dev-lang/mono-4.0.1.34::gentoo failed (prepare phase): * The source directory '/var/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1.34' doesn't exist source is in /var/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/
Created attachment 403690 [details] failed build log
I used the ebuild from comment 20. I worked on mono-4.0.1.28. I renamed the ebuild mono-4.0.1.28.ebuild and had to add S="${WORKDIR}/${PN}-4.0.1" to avoid bug in comment 21. Here is my experimentation : without mono installed : dev-lang/mono-4 nls -debug -doc -minimal -pax_kernel -xen : WORK dev-lang/mono-4 -nls debug -doc -minimal -pax_kernel -xen : WORK dev-lang/mono-4 -nls -debug doc -minimal -pax_kernel -xen : FAIL dev-lang/mono-4 -nls -debug -doc minimal -pax_kernel -xen : WORK dev-lang/mono-4 -nls -debug -doc -minimal pax_kernel -xen : FAIL dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel xen : WORK dev-lang/mono-4 nls debug -doc -minimal -pax_kernel xen : WORK without mono-2.10.9-r2[-minimal -pax_kernel -xen] installed : dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL without mono-3.2.8[nls minimal pax_kernel xen doc debug] installed : dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL Portage 2.2.19 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.2, glibc-2.20-r2, 3.18.13-gentoo x86_64) ================================================================= System uname: Linux-3.18.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 8130568 total, 1094500 free KiB Swap: 9767516 total, 9767516 free Timestamp of repository gentoo: Sun, 17 May 2015 11:00:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.25 p1.0) 2.25 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.3::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25::gentoo sys-devel/gcc: 4.6.4::gentoo, 4.7.4::gentoo, 4.8.4::gentoo, 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 crossdev location: /home/legarrec/info/overlay masters: gentoo priority: 0 gnome location: /var/lib/layman/gnome masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j9 --load-average=9" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noclean parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O0" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home/legarrec/info" USE="X a52 aac accessibility acpi aes alsa amd64 avx berkdb branding bzip2 cairo cdda cdr cjk cli colord cracklib crypt cuda cups cxx dbus declarative dhcpcd djvu doc dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig fortran gdbm gif gl glamor gnome gnome-keyring gnome-online-accounts gnuplot gpm gstreamer gtk gtk3 gudev iconv introspection ipv6 jabber jpeg jpeg2k kde kdrive kipi lapack lcms ldap libav libnotify libsecret lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mpi multilib natspec nautilus ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf perl phonon plasma png policykit popcnt postscript ppds pulseaudio python qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb vorbis webkit wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
(In reply to LE GARREC Vincent from comment #23) > I used the ebuild from comment 20. I worked on mono-4.0.1.28. I renamed the > ebuild mono-4.0.1.28.ebuild and had to add S="${WORKDIR}/${PN}-4.0.1" to > avoid bug in comment 21. > > Here is my experimentation : > without mono installed : > dev-lang/mono-4 nls -debug -doc -minimal -pax_kernel -xen : WORK > dev-lang/mono-4 -nls debug -doc -minimal -pax_kernel -xen : WORK > dev-lang/mono-4 -nls -debug doc -minimal -pax_kernel -xen : FAIL > dev-lang/mono-4 -nls -debug -doc minimal -pax_kernel -xen : WORK > dev-lang/mono-4 -nls -debug -doc -minimal pax_kernel -xen : FAIL > dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel xen : WORK > dev-lang/mono-4 nls debug -doc -minimal -pax_kernel xen : WORK > > without mono-2.10.9-r2[-minimal -pax_kernel -xen] installed : > dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL > > without mono-3.2.8[nls minimal pax_kernel xen doc debug] installed : > dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL > > > Portage 2.2.19 (python 3.3.5-final-0, > default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.2, glibc-2.20-r2, > 3.18.13-gentoo x86_64) > ================================================================= > System uname: > Linux-3.18.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with- > gentoo-2.2 > KiB Mem: 8130568 total, 1094500 free > KiB Swap: 9767516 total, 9767516 free > Timestamp of repository gentoo: Sun, 17 May 2015 11:00:01 +0000 > sh bash 4.3_p33-r2 > ld GNU ld (Gentoo 2.25 p1.0) 2.25 > app-shells/bash: 4.3_p33-r2::gentoo > dev-java/java-config: 2.2.0::gentoo > dev-lang/perl: 5.20.2-r1::gentoo > dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo > dev-util/cmake: 3.2.2::gentoo > dev-util/pkgconfig: 0.28-r2::gentoo > sys-apps/baselayout: 2.2::gentoo > sys-apps/openrc: 0.16.3::gentoo > sys-apps/sandbox: 2.6-r1::gentoo > sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo > sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, > 1.15::gentoo > sys-devel/binutils: 2.25::gentoo > sys-devel/gcc: 4.6.4::gentoo, 4.7.4::gentoo, 4.8.4::gentoo, > 4.9.2::gentoo > sys-devel/gcc-config: 1.8::gentoo > sys-devel/libtool: 2.4.6-r1::gentoo > sys-devel/make: 4.1-r1::gentoo > sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) > sys-libs/glibc: 2.20-r2::gentoo > Repositories: > > gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > > crossdev > location: /home/legarrec/info/overlay > masters: gentoo > priority: 0 > > gnome > location: /var/lib/layman/gnome > masters: gentoo > priority: 50 > > steam-overlay > location: /var/lib/layman/steam-overlay > masters: gentoo > priority: 50 > > ACCEPT_KEYWORDS="amd64 ~amd64" > ACCEPT_LICENSE="*" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer > -frecord-gcc-switches" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc > /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release > /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ > /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d > /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d > /etc/texmf/updmap.d /etc/texmf/web2c" > CXXFLAGS="-march=native -O0 -ggdb2 -g2 -pipe -fno-omit-frame-pointer > -frecord-gcc-switches" > DISTDIR="/usr/portage/distfiles" > EMERGE_DEFAULT_OPTS="-j9 --load-average=9" > FCFLAGS="-O2 -pipe" > FEATURES="assume-digests binpkg-logs compressdebug > config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news > noclean parallel-fetch preserve-libs protect-owned sandbox sfperms > splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans > userfetch userpriv usersandbox usersync" > FFLAGS="-O2 -pipe" > GENTOO_MIRRORS="http://distfiles.gentoo.org" > LANG="fr_FR.UTF-8" > LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O0" > MAKEOPTS="-j9" > PKGDIR="/usr/portage/packages" > PORTAGE_CONFIGROOT="/" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > --omit-dir-times --compress --force --whole-file --delete --stats > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local > --exclude=/packages" > PORTAGE_TMPDIR="/home/legarrec/info" > USE="X a52 aac accessibility acpi aes alsa amd64 avx berkdb branding bzip2 > cairo cdda cdr cjk cli colord cracklib crypt cuda cups cxx dbus declarative > dhcpcd djvu doc dri dts dvd dvdr eds emboss encode evo exif fam firefox flac > fontconfig fortran gdbm gif gl glamor gnome gnome-keyring > gnome-online-accounts gnuplot gpm gstreamer gtk gtk3 gudev iconv > introspection ipv6 jabber jpeg jpeg2k kde kdrive kipi lapack lcms ldap libav > libnotify libsecret lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mpi > multilib natspec nautilus ncurses nls nptl ogg opencl opengl openmp pam > pango pcre pdf perl phonon plasma png policykit popcnt postscript ppds > pulseaudio python qt3support qt4 readline sdl semantic-desktop session spell > sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg > systemd tcpd threads tiff tracker truetype udev udisks unicode upower usb > vorbis webkit wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv > xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem > bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel > intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file > authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user > autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env > expires ext_filter file_cache filter headers include info log_config logio > mem_cache mime mime_magic negotiation rewrite setenvif speling status > unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow > plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" > CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4 sse4_1 sse4_2 > ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm > earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip > navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 > timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" > KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 > lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console > presenter-minimizer" LINGUAS="fr en ja" OFFICE_IMPLEMENTATION="libreoffice" > PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" > PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby22" > USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan > length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq > steal rawnat logmark ipmark dhcpmac delude chaos account" > Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, > USE_PYTHON src_install phase needs to be run as root in sandbox for chown/chmod to work.
(In reply to Alex Xu (Hello71) from comment #24) > > src_install phase needs to be run as root in sandbox for chown/chmod to work. If I look inside the build of mono[+pax_kernel] : there's 2 problems : /usr/bin/install: cannot change permissions of '/home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/xbuild/Microsoft/VisualStudio/v9.0/WebApplications/Microsoft.WebApplication.targets': No such file or directory Here, you're right, the file really exists. I'm not an expert in ebuild. Can you tell me what's the modification I need to apply to solve this bug ? Thanks. /usr/bin/install -c -c -m 644 targets/Microsoft.WebApplication.targets /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/xbuild/Microsoft/VisualStudio/v9.0/WebApplications cannot create regular file '/home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml': File exists Here, this is because there's twice the same install : /usr/bin/install -c -c -m 644 frameworks/net_4.5.xml /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml /usr/bin/install -c -c -m 644 frameworks/net_4.5.xml /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml So, to make pax_kernel works, I think a patch is needed. But first, I would like to work with first bug solved. PS : I forget to test without mono installed : dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL
Hello, Sorry, I don't have the resources nor the knowledges to test it, but as a request could you please for hardened systems avoid the `--with-jit` line 86 of the attachment 403376 [details] (and checking other improvements I may not know)? Thank you.
(In reply to Thibaud "thican" CANALE from comment #26) > Hello, > > Sorry, I don't have the resources nor the knowledges to test it, but as a > request could you please for hardened systems avoid the `--with-jit` line 86 > of the attachment 403376 [details] (and checking other improvements I may > not know)? Thank you. --with-jit has been in since 2.10.9-r2.
(In reply to LE GARREC Vincent from comment #25) > (In reply to Alex Xu (Hello71) from comment #24) > > > > src_install phase needs to be run as root in sandbox for chown/chmod to work. > > If I look inside the build of mono[+pax_kernel] : there's 2 problems : > > /usr/bin/install: cannot change permissions of > '/home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/ > xbuild/Microsoft/VisualStudio/v9.0/WebApplications/Microsoft.WebApplication. > targets': No such file or directory > Here, you're right, the file really exists. I'm not an expert in ebuild. Can > you tell me what's the modification I need to apply to solve this bug ? > Thanks. > > /usr/bin/install -c -c -m 644 targets/Microsoft.WebApplication.targets > /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/ > xbuild/Microsoft/VisualStudio/v9.0/WebApplications > cannot create regular file > '/home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/ > xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml': File > exists > Here, this is because there's twice the same install : > /usr/bin/install -c -c -m 644 frameworks/net_4.5.xml > /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/ > xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml > /usr/bin/install -c -c -m 644 frameworks/net_4.5.xml > /home/legarrec/info/portage/dev-lang/mono-4.0.1.28/image//usr/lib/mono/ > xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml > So, to make pax_kernel works, I think a patch is needed. But first, I would > like to work with first bug solved. > > PS : I forget to test without mono installed : > dev-lang/mono-4 -nls -debug -doc -minimal -pax_kernel -xen : FAIL try -j1.
Created attachment 407978 [details] mono-4.0.2.5.ebuild mono-4.0.2.5.ebuild - Based off of in-tree mono-3.12.1.ebuild - Remove unused debug use flag - Use versionator.eclass to compute ${S} because the name of the top-level subdirectory in the source distribution (now) only includes 3 of the 4 version number components - Strip out all special src_prepare() steps. Some may still be necessary under some circumstances, but none were necessary in my case. - Update configure args to reflect those that actually exist - Don't need --without-sgen on ppc anymore (confirmed by me) - Eliminate unnecessary --with-libgdiplus configure arg, both previous use-flag-controlled settings are a) synonyms and b) the default. - Remove obsolete 3.4.0 fix in src_configure() - Remove unnecessary (in my case, anyway) src_compile() retry - Patch to fix build on ppc (and other big-endian probably) mono-4.0.2.5-fix-decimal-ms-on-big-endian.patch from https://bugzilla.xamarin.com/show_bug.cgi?id=31779 - Patch to fix build if --disable-sgen mono-4.0.2.5-fix-mono-dis-makefile-am-when-disable-sgen.patch from https://bugzilla.xamarin.com/show_bug.cgi?id=32015 - doc use-flag breaks build, not sure how to fix https://bugzilla.xamarin.com/show_bug.cgi?id=23799
Created attachment 407980 [details, diff] mono-4.0.2.5-fix-decimal-ms-on-big-endian.patch
Created attachment 407982 [details, diff] mono-4.0.2.5-fix-mono-dis-makefile-am-when-disable-sgen.patch
fyi there are ebuilds in dotnet overlay.
Hi Alex, are you suggesting I try to contribute to that overlay instead? The 4.0.2.5 ebuild there is problematic for a number of reasons, not least of which is it doesn't build on ppc...
(In reply to Ron MacNeil from comment #33) > Hi Alex, are you suggesting I try to contribute to that overlay instead? > The 4.0.2.5 ebuild there is problematic for a number of reasons, not least > of which is it doesn't build on ppc... not necessarily. just a note.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5667689e69837a94170aa003a3bfbc3ea207c7 dev-lang/mono bump to 4.0.3.20 is in the tree now. https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/mono/
and it only took... 11 months.
I'm sorry for delay. As you see dotnet team needs help now, so in future you can try also contact me via dotnet overlay on github for example, providing pull request there - so I will react faster