emerge fails with Microsoft (R) Visual C# Compiler version 2.6.0.62309 (d3f6b8e7) Copyright (C) Microsoft Corporation. All rights reserved. CSC [basic] mscorlib.dll /var/tmp/portage/dev-lang/mono-5.12.0.226/work/mono-5.12.0.226-.arm64/mcs/class/referencesource/mscorlib/system/missingmethodexception.cs(25,43): error CS0246: The type or namespace name 'MissingMemberException' could not be found (are you missing a using directive or an assembly reference?) /var/tmp/portage/dev-lang/mono-5.12.0.226/work/mono-5.12.0.226-.arm64/mcs/class/referencesource/mscorlib/system/missingmethodexception.cs(44,32): error CS0115: 'MissingMethodException.Message': no suitable method found to override /var/tmp/portage/dev-lang/mono-5.12.0.226/work/mono-5.12.0.226-.arm64/mcs/class/referencesource/mscorlib/system/missingmethodexception.cs(25,67): error CS0535: 'MissingMethodException' does not implement interface member 'ISerializable.GetObjectData(SerializationInfo, StreamingContext)' /var/tmp/portage/dev-lang/mono-5.12.0.226/work/mono-5.12.0.226-.arm64/mcs/class/referencesource/mscorlib/system/globalization/compareinfo.cs(1001,47): error CS0246: The type or namespace name 'String' could not be found (are you missing a using directive or an assembly reference?) make[8]: *** [../../build/library.make:342: ../../class/lib/basic/mscorlib.dll] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/mono-5.12.0.226::gentoo 2. fails 3. Expected Results: disabling roslyn, like suggested by the mono developers, with a patch to the ebuild like this: --- mono-5.12.0.226.ebuild 2018-07-15 20:51:37.020404938 +0200 +++ mono-5.12.0.226.ebuild.new 2018-07-15 20:53:14.260404984 +0200 @@ -85,6 +85,9 @@ $(use_with xen xen_opt) --without-ikvm-native --disable-dtrace + # mono build system fails on arm64 see https://github.com/mono/mono/issues/7017 + # remove once upstream bug is resolved + $(use_with arm64 csc=mcs) $(use_with doc mcs-docs) $(use_enable nls) ) fixes the problem: make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-5.12.0.226/work/mono-5.12.0.226-.arm64' >>> Completed installing mono-5.12.0.226 into /var/tmp/portage/dev-lang/mono-5.12.0.226/image/ * Final size of build directory: 3538740 KiB ( 3.3 GiB) * Final size of installed tree: 376860 KiB (368.0 MiB) emerge --info '=dev-lang/mono-5.12.0.226::gentoo' portage 2.3.42 (python 3.6.6-final-0, default/linux/arm64/17.0, gcc-7.3.0, glibc-2.27-r5, 3.14.29 aarch64) ================================================================= System Settings ================================================================= System uname: Linux-3.14.29-aarch64-with-gentoo-2.6 KiB Mem: 1858764 total, 424452 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 14 Jul 2018 17:30:01 +0000 Head commit of repository gentoo: 0f24582387abadee81a99da3fff025c483c57ca2 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/cmake: 3.11.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6::gentoo sys-apps/openrc: 0.38.1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo sys-devel/gcc: 5.4.0-r4::gentoo, 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-O2 -march=armv8-a+crc+fp+simd+crypto -mabi=lp64 -mcpu=cortex-a53+crc+fp+simd+crypto -ftree-vectorize -mtune=cortex-a53" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=armv8-a+crc+fp+simd+crypto -mabi=lp64 -mcpu=cortex-a53+crc+fp+simd+crypto -ftree-vectorize -mtune=cortex-a53" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it" MAKEOPTS="-j4" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl alsa arm64 berkdb bzip2 cairo cli crypt cxx djvu dri fftw fortran gdbm gif gpl iconv icu ipv6 jbig jpeg jpeg2k libtirpc lzma modules multilib ncurses nls nptl openmp pam pcre png postscript readline seccomp ssl svg tcpd tiff truetype unicode webp xattr zlib" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="it uk" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="mali fbdev" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820c5cf2b1a03bca290fa9044e2fed4981844141 commit 820c5cf2b1a03bca290fa9044e2fed4981844141 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-05-16 21:27:03 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-05-16 21:27:03 +0000 dev-lang/mono: Remove old Closes: https://bugs.gentoo.org/468412 Closes: https://bugs.gentoo.org/548340 Closes: https://bugs.gentoo.org/634692 Closes: https://bugs.gentoo.org/661270 Closes: https://bugs.gentoo.org/663608 Closes: https://bugs.gentoo.org/687950 Closes: https://bugs.gentoo.org/689332 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org> dev-lang/mono/Manifest | 8 -- dev-lang/mono/files/mono-4.4.1.0-x86_32.patch | 20 ---- dev-lang/mono/files/mono-4.8.0.371-makedev.patch | 34 ------- dev-lang/mono/files/mono-4.8.0.371-x86_32.patch | 27 ------ dev-lang/mono/mono-4.4.1.0.ebuild | 113 ----------------------- dev-lang/mono/mono-4.8.0.524.ebuild | 109 ---------------------- dev-lang/mono/mono-5.14.0.177.ebuild | 107 --------------------- dev-lang/mono/mono-5.16.0.220.ebuild | 108 ---------------------- dev-lang/mono/mono-5.18.1.0.ebuild | 103 --------------------- dev-lang/mono/mono-5.20.1.19-r1.ebuild | 109 ---------------------- dev-lang/mono/mono-6.0.0.334.ebuild | 105 --------------------- dev-lang/mono/mono-6.4.0.198.ebuild | 105 --------------------- 12 files changed, 948 deletions(-)