Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925507 - dev-lang/mono-6.12.0.182:
Summary: dev-lang/mono-6.12.0.182:
Status: RESOLVED DUPLICATE of bug 915985
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-25 20:00 UTC by Benjamin Schulz
Modified: 2024-02-27 23:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
buildlog.zip it is in zip format since its 1200KB (buildlog.zip,63.84 KB, application/octet-stream)
2024-02-25 20:04 UTC, Benjamin Schulz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schulz 2024-02-25 20:00:28 UTC
fails to emerge

Reproducible: Always

Steps to Reproduce:
1. USE="minimal" emerge mono
2.
3.
Actual Results:  
emerge fails

Expected Results:  
emerge should compile and install mono

emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.6.13-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.38
KiB Mem:    32791324 total,  17819852 free
KiB Swap:   31249404 total,  31231996 free
Timestamp of repository gentoo: Sun, 25 Feb 2024 16:00:00 +0000
Head commit of repository gentoo: b8caf1c42aa39b7be6588ff5377c1112eab7202a
Timestamp of repository escpr2: Fri, 08 Dec 2023 17:18:01 +0000
Head commit of repository escpr2: 8d84a976f5df90476c9fa42f9497ad0000a0d82f

Timestamp of repository guru: Sun, 25 Feb 2024 10:18:11 +0000
Head commit of repository guru: ec94ab728e3a286e31ced74cbd6f959b3d480da5

Timestamp of repository pixlra: Mon, 12 Feb 2024 16:35:52 +0000
Head commit of repository pixlra: 9e1d3c5bf18c4bb087edf2dc6a2de4cea436d6ab

Timestamp of repository sage-on-gentoo: Wed, 14 Feb 2024 02:33:27 +0000
Head commit of repository sage-on-gentoo: 794d28851e0e98ddff16c65de09e714bfb775271

Timestamp of repository science: Thu, 22 Feb 2024 08:18:23 +0000
Head commit of repository science: 8bb295af9ac1e46208eb9a9c702f4ac7ca0a4f19

Timestamp of repository ssnb: Mon, 12 Feb 2024 16:35:48 +0000
Head commit of repository ssnb: 5eb8878de019fa9e5ca6c20eb220f9fb7231f749

Timestamp of repository steam-overlay: Fri, 16 Feb 2024 23:18:24 +0000
Head commit of repository steam-overlay: 214f4d5b11850f9751ee0939df3dd2aaaaef6d26

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20240112::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

escpr2
    location: /var/db/repos/escpr2
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/escpr2.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

pixlra
    location: /var/db/repos/pixlra
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pixlra.git
    masters: gentoo
    volatile: False

sage-on-gentoo
    location: /var/db/repos/sage-on-gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo
    volatile: False

ssnb
    location: /var/db/repos/ssnb
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ssnb.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -O3 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="7zip R X a52 aac acl acpi activities addc addressbook admin ads alembic alsa amd64 amr amrenc appstream aprs aptx archive asm aspell assistant athena avif base bittorrent blake2 bluetooth bluray boost branding broadway brotli bs2b btrfs bzip2 cairo calendar capi caps cdda cddb cdio cdr cdrom chromium cinnamon clamav cli clippy codec2 collada color-management colord context contrib contribcvv contribdnn contribfreetype contribhdf contribxfeatures2d cpudetection crypt cryptsetup cuda cue cups curl cvs dbus deep-sky designer dhcp-tools dhcpcd dia dicom discover distancefieldgenerator distributed djvu dos download dri drm dropbox dts dv dvb dvd dvdr dvi eds education efiemu eglfs eigen elogind encode eps epub equalizer escprlib evdev examples excel exif expat extra extraengine faad fbgemm fdk ffmpeg fftw fits flac flite fltk font-styles fontconfig fortran fpx frei0r fribidi ftp fuse gd gdal gdbm gdbui geckodriver geolocation geos gflags gif gimp git gloo gme gml gmp gnome gnome-keyring gnome-shell gnumeric gnuplot gnutls go goffice googledrive gpg gpgme gphoto2 gps grammar graphics graphite grub gsf gsl gsm gssapi gstreamer gtk gtk3 gtk4 gts gui guile handbook hardcoded-tables hdf5 heif hex highlight html htmlreport http humanities hunspell ibus iconv icu iec61883 ieee1394 image image-backend imagemagick imagequant innodb-lz4 innodb-lzo introspection iprint ipv6 jack java javascript jdbc jit jpeg jpeg2k jpegxl json julia junction jupyter kaccounts kafka kate kbd kbindicator kcm kde kdesu kerberos keyring kpathsea kvazaar kwallet ladspa lapack latency-timing latex latin layers lcms ldac ldap lensfun libaom libaribb24 libcaca libdrm libilbc libnotify libproxy librtmp libsoxr libtesseract libtirpc libuv libv4l libxml2 linguist llvm lm-sensors logrotate lrz lspclient lto lv2 lz4 lzma lzo mad map marble mariadb markdown mate math mathml matio media mediaplayer mercurial metapost mng mobi modplug modula2 mongodb mono motif mount mp3 mp4 mpd mpeg multilib multimedia multitarget mysql nautilus nbconvert ncurses netapi netcdf netlink network networkmanager nfc nftables nls nnpack notebook nsight ntfs numpy nvcontrol nvdec nvenc nvidia objc objc++ objc-gc oci8 odbc offlinehelp ogg okular opds openal opencl opencv opencvapps openexr opengl openh264 openmp openssl openvdb opus oqgraph oracle origin osg osl osmesa oss oxygen pam pango panorama pcap pcre pdf pdfimport pdfium perl pgplot phonon pim pipewire pixeltool plasma png policykit positioning postgres postscript ppds ppp printsupport pstricks publishers pulseaudio pyqt6 python qalculate qdbus qml qmldesigner qnnpack qt5 qt6 qtattributionsscanner qtaudio qtcamera qtdiag qtegrity qthelp qtmedia qtmultimedia qtplugininfo quick quick3d racket rar rav1e raw readline redland remote-fs reviewboard rss rtf rtmp rubberband ruby rust rust-analyzer rust-src rustfmt rustls samba sanitizer sasl scanner science scope scripts scripttools sdk sdl sdl-image sdl2 search seccomp semantic-desktop sensord sensors serial serialport serialterminal server session sha2 shaderc shaders shapefile share sieve sift sim skins smartcard smp snapper snappy sndfile sndio sodium sound source-highlight spacenav spam-report spamassassin spatialaudio speech speex spell sphinx split-usr spotlight sql sqlite srt ssh ssl sst-rsync stars startup-notification subversion svg svg2 svt-av1 systemtap szip t1lib tcl telephony telescope tensorpipe terminal tesseract test-rust tex4ht texi2html theora thesaurus threads tiff tk tools tor-hardening tpm truetype twolame udev udisks uefi ufw unicode unrar upower usb utils v4l v4lutils vaapi vala vcd vdpau verify-file verify-sig video vidstab vis-profiler vlc vnc vorbis vpx vtv vulkan wav wavpack webchannel webdav webengine webkit webp websockets widgets wifi winbind wineappdb wireless wma wmf wordperfect wxwidgets x11extras x264 x265 xattr xcb xft xine xinerama xkb xla xls xml xmlpatterns xmlwriter xmp xmss xorg xpm xps xrandr xray xrender xs xscreensaver xv xvid xxhash yassl zeromq zimg zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia d3d12" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Benjamin Schulz 2024-02-25 20:04:14 UTC
Created attachment 885998 [details]
buildlog.zip it is in zip format since its 1200KB
Comment 2 Benjamin Schulz 2024-02-25 20:06:17 UTC
chmod +x _tmpinst/bin/al
make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/runtime'
make[2]: Entering directory '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/runtime'
if test -w /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mcs; then :; else chmod -R +w /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mcs; fi
make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/runtime'
cd /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14              ' CC='x86_64-pc-linux-gnu-gcc' all-profiles
mkdir -p -- build/deps
make[6]: mono: No such file or directory
make[6]: *** [build/profiles/build.make:134: build/deps/basic-profile-check.exe] Error 127
*** The runtime 'mono' doesn't appear to be usable.
*** Trying the 'monolite-linux/1A5E0066-58DC-428A-B21C-0AD6CDAE2789' directory.
 * ACCESS DENIED:  open_wr:            /proc/10361/task/10361/mem
 * ACCESS DENIED:  open_wr:            /proc/self/mem
* Assertion: should not be reached at icall.c:4157


=================================================================
        Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
        Native stacktrace:
=================================================================
        0x562d9762fa4a - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d9762fe49 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d975d3681 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d9762eeb1 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x7f658424bd70 - /lib64/libc.so.6 : 
        0x7f658429bd6c - /lib64/libc.so.6 : 
        0x7f658424bcc2 - /lib64/libc.so.6 : raise
        0x7f65842344ed - /lib64/libc.so.6 : abort
        0x562d9758575a - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d978db5fe - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d978fe7e3 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : monoeg_assertion_message
        0x562d978fe867 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d97766de1 - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x562d9777441b - /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/mono/mini/mono : 
        0x408b8ae7 - Unknown

=================================================================
        Telemetry Dumper:
=================================================================
Pkilling 0x140073947363008x from 0x140073985185344x
Entering thread summarizer pause from 0x140073985185344x
Finished thread summarizer pause from 0x140073985185344x.
Failed to create breadcrumb file (null)/crash_hash_0x75bd189e0
/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/runtime/etc/../bin/mono-hang-watchdog: line 3: /var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64/tools/mono-hang-watchdog/mono-hang-watchdog: No such file or directory

Waiting for dumping threads to resume

=================================================================
        External Debugger Dump:
=================================================================
warning: opening /proc/PID/mem file for lwp 10361.10361 failed: Permission denied (13)
[New LWP 10401]
[New LWP 10402]
warning: opening /proc/self/mem file failed: Permission denied (13)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f65842f7eca in wait4 () from /lib64/libc.so.6
  Id   Target Id                                       Frame 
* 1    Thread 0x7f6584211640 (LWP 10361) "mono"        0x00007f65842f7eca in wait4 () from /lib64/libc.so.6
  2    Thread 0x7f6583bff6c0 (LWP 10401) "SGen worker" 0x00007f6584296b05 in ?? () from /lib64/libc.so.6
  3    Thread 0x7f6581dff6c0 (LWP 10402) "Finalizer"   0x00007f6584296b05 in ?? () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6581dff6c0 (LWP 10402) "Finalizer"):
#0  0x00007f6584296b05 in ?? () from /lib64/libc.so.6
#1  0x00007f65842a1e08 in ?? () from /lib64/libc.so.6
#2  0x0000562d978678e4 in mono_os_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x562d97a647e0 <finalizer_sem>) at ../../mono/utils/mono-os-semaphore.h:203
#3  mono_coop_sem_wait (flags=MONO_SEM_FLAGS_ALERTABLE, sem=0x562d97a647e0 <finalizer_sem>) at ../../mono/utils/mono-coop-semaphore.h:41
#4  finalizer_thread (unused=unused@entry=0x0) at gc.c:965
#5  0x0000562d9781269a in start_wrapper_internal (stack_ptr=<optimized out>, start_info=0x0) at threads.c:1233
#6  start_wrapper (data=0x562d97df14f0) at threads.c:1308
#7  0x00007f658429a02a in ?? () from /lib64/libc.so.6
#8  0x00007f658430dac8 in ?? () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6583bff6c0 (LWP 10401) "SGen worker"):
#0  0x00007f6584296b05 in ?? () from /lib64/libc.so.6
#1  0x00007f6584299332 in pthread_cond_wait () from /lib64/libc.so.6
#2  0x0000562d978d1f6f in mono_os_cond_wait (cond=0x562d97a739c0 <work_cond>, mutex=0x562d97a73a00 <lock>) at ../../mono/utils/mono-os-mutex.h:219
#3  get_work (job=<synthetic pointer>, do_idle=<synthetic pointer>, work_context=<synthetic pointer>, worker_index=<optimized out>) at sgen-thread-pool.c:165
#4  thread_func (data=<optimized out>) at sgen-thread-pool.c:196
#5  0x00007f658429a02a in ?? () from /lib64/libc.so.6
#6  0x00007f658430dac8 in ?? () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6584211640 (LWP 10361) "mono"):
#0  0x00007f65842f7eca in wait4 () from /lib64/libc.so.6
#1  0x0000562d9762fd10 in dump_native_stacktrace (signal=signal@entry=0x562d9790e9b0 "SIGABRT", mctx=mctx@entry=0x7ffd56e24980) at mini-posix.c:1113
#2  0x0000562d9762fe49 in mono_dump_native_crash_info (signal=signal@entry=0x562d9790e9b0 "SIGABRT", mctx=mctx@entry=0x7ffd56e24980, info=info@entry=0x7ffd56e24c70) at mini-posix.c:1157
#3  0x0000562d975d3681 in mono_handle_native_crash (signal=0x562d9790e9b0 "SIGABRT", mctx=mctx@entry=0x7ffd56e24980, info=info@entry=0x7ffd56e24c70) at mini-exceptions.c:3423
#4  0x0000562d9762eeb1 in sigabrt_signal_handler (_dummy=<optimized out>, _info=0x7ffd56e24c70, context=0x7ffd56e24b40) at mini-posix.c:235
#5  <signal handler called>
#6  0x00007f658429bd6c in ?? () from /lib64/libc.so.6
#7  0x00007f658424bcc2 in raise () from /lib64/libc.so.6
#8  0x00007f65842344ed in abort () from /lib64/libc.so.6
#9  0x0000562d9758575a in monoeg_assert_abort () at goutput.c:57
#10 0x0000562d978db5fe in mono_log_write_logfile (log_domain=<optimized out>, level=<optimized out>, hdr=<optimized out>, message=0x562d98340390 "* Assertion: should not be reached at icall.c:4157\n") at mono-log-common.c:136
#11 0x0000562d978fe7e3 in monoeg_g_logstr (msg=<optimized out>, log_level=G_LOG_LEVEL_ERROR, log_domain=0x0) at goutput.c:151
#12 monoeg_g_logv_nofree (args=0x7ffd56e25300, format=0x562d979466a0 "* Assertion: should not be reached at %s:%d\n", log_level=G_LOG_LEVEL_ERROR, log_domain=0x0) at goutput.c:166
#13 monoeg_assertion_message (format=format@entry=0x562d979466a0 "* Assertion: should not be reached at %s:%d\n") at goutput.c:201
#14 0x0000562d978fe867 in mono_assertion_message_unreachable (file=file@entry=0x562d979162ab "icall.c", line=line@entry=4157) at goutput.c:228
#15 0x0000562d97766de1 in read_enum_value (type=8, mem=<optimized out>) at icall.c:4157
#16 get_enum_field (error=0x7ffd56e254c0, sorted=<synthetic pointer>, previous_value=<synthetic pointer>, j=<synthetic pointer>, field=0x562d9802b378, base_type=8, values=..., names=..., domain=<optimized out>) at icall.c:4447
#17 ves_icall_System_Enum_GetEnumValuesAndNames (type=..., type@entry=..., values=..., values@entry=..., names=names@entry=..., error=error@entry=0x7ffd56e254c0) at icall.c:4494
#18 0x0000562d9777441b in ves_icall_System_Enum_GetEnumValuesAndNames_raw (a0=0x7ffd56e255a0, a1=0x7ffd56e25590, a2=0x7ffd56e25598) at ../../mono/metadata/icall-def.h:297
#19 0x00000000408b8ae7 in ?? ()
#20 0x0000000000000000 in ?? ()
[Inferior 1 (process 10361) detached]

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7f658429bd6c):0x7f658429bd5c  04 00 44 89 ea 89 c7 89 de b8 ea 00 00 00 0f 05  ..D.............
0x7f658429bd6c  89 c3 f7 db 3d 00 f0 ff ff b8 00 00 00 00 0f 47  ....=..........G
0x7f658429bd7c  c3 e9 78 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00  ..x...ff........
0x7f658429bd8c  00 0f 1f 00 4c 89 e7 e8 b8 af ff ff e9 44 ff ff  ....L........D..

=================================================================
        Managed Stacktrace:
=================================================================
          at <unknown> <0xffffffff>
          at System.Enum:GetEnumValuesAndNames <0x000a6>
          at System.Enum:GetCachedValuesAndNames <0x000bb>
          at System.Enum:InternalGetValues <0x0002b>
          at System.RuntimeType:GetEnumName <0x0006f>
          at System.Enum:GetName <0x0004b>
          at System.Enum:InternalFormat <0x0005b>
          at System.Enum:ToString <0x00077>
          at Microsoft.CodeAnalysis.CSharp.ErrorFacts:GetMessage <0x00060>
          at Microsoft.CodeAnalysis.CSharp.CSharpCompiler:PrintLogo <0x00043>
          at Microsoft.CodeAnalysis.CommonCompiler:RunCore <0x00190>
          at Microsoft.CodeAnalysis.CommonCompiler:Run <0x00167>
          at <>c__DisplayClass1_0:<Run>b__0 <0x0004a>
          at Microsoft.CodeAnalysis.CommandLine.ConsoleUtil:RunWithUtf8Output <0x000af>
          at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc:Run <0x00233>
          at <Module>:invoke_int_string[]_BuildPaths_TextWriter_IAnalyzerAssemblyLoader <0x000f9>
          at Microsoft.CodeAnalysis.CommandLine.BuildClient:RunLocalCompilation <0x0008c>
          at Microsoft.CodeAnalysis.CommandLine.BuildClient:RunCompilation <0x0031b>
          at Microsoft.CodeAnalysis.CommandLine.BuildClient:Run <0x0014f>
          at Microsoft.CodeAnalysis.CSharp.CommandLine.Program:MainCore <0x000b7>
          at Microsoft.CodeAnalysis.CSharp.CommandLine.Program:Main <0x00033>
          at <Module>:runtime_invoke_int_object <0x00091>
=================================================================
make[8]: *** [build/profiles/build.make:134: build/deps/basic-profile-check.exe] Aborted
*** The contents of your 'monolite-linux/1A5E0066-58DC-428A-B21C-0AD6CDAE2789' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [build/profiles/build.make:117: do-profile-check-monolite] Error 1
make[7]: *** [build/profiles/build.make:93: do-profile-check] Error 2
make[6]: *** [build/profiles/build.make:129: do-profile-check-monolite] Error 2
make[5]: *** [build/profiles/build.make:93: do-profile-check] Error 2
make[4]: *** [Makefile:58: profile-do--build--all] Error 2
make[3]: *** [Makefile:54: profiles-do--all] Error 2
make[2]: *** [Makefile:709: all-mcs] Error 2
make[1]: *** [Makefile:602: all-recursive] Error 1
make: *** [Makefile:530: all] Error 2
 * ERROR: dev-lang/mono-6.12.0.182::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/mono-6.12.0.182::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/mono-6.12.0.182::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182'
 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/sandbox.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /proc/10361/task/10361/mem
A: /proc/10361/task/10361/mem
R: /proc/10361/task/10361/mem
C: /usr/bin/gdb -batch -x /tmp/mono-gdb-commands.10361 -nx 

F: open_wr
S: deny
P: /proc/self/mem
A: /proc/self/mem
R: /proc/10404/mem
C: /usr/bin/gdb -batch -x /tmp/mono-gdb-commands.10361 -nx 
 * --------------------------------------------------------------------------------

>>> Failed to emerge dev-lang/mono-6.12.0.182, Log file:

>>>  '/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/build.log'

 * Messages for package dev-lang/mono-6.12.0.182:

 * ERROR: dev-lang/mono-6.12.0.182::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/mono-6.12.0.182::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/mono-6.12.0.182::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-6.12.0.182/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-lang/mono-6.12.0.182/work/mono-6.12.0.182'
Comment 3 Benjamin Schulz 2024-02-25 20:11:36 UTC
one should note that i emerged it with minimal useflag. but that was because portage told me that otherwise there would be a circle where a library needs mono to be compiled and that mono itself needs that library, which should be broken with minimal...
Comment 4 Benjamin Schulz 2024-02-26 05:41:55 UTC
without USE="minimak", this happens

[nomerge       ] dev-lang/mono-6.12.0.182::gentoo  USE="nls -doc -minimal -pax-kernel (-selinux) -xen" ABI_X86="(64) -32 (-x32)" 
[ebuild  N     ]  dev-dotnet/libgdiplus-6.0.2-r4::gentoo  USE="cairo" 1.345 KiB
[ebuild  N     ]   dev-lang/mono-6.12.0.182::gentoo  USE="nls -doc -minimal -pax-kernel (-selinux) -xen" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 2 packages (2 new), Size of downloads: 1.345 KiB

 * Error: circular dependencies:

(dev-dotnet/libgdiplus-6.0.2-r4:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-lang/mono-6.12.0.182:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-dotnet/libgdiplus-6.0.2-r4:0/0::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-lang/mono-6.12.0.182 (Change USE: +minimal)



with minimal, the emerge fails...
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-27 00:22:34 UTC
Is 6.12.0.199-r2 better?
Comment 6 Benjamin Schulz 2024-02-27 18:01:44 UTC
Hi Sam, yes  dev-lang/mono-6.12.0.199-r2 from ~AMD64 worked.

But it also required USE="minimal" first, in order to be able to compile gliplus with a minimal mono, and then mono with gdiplus, but it worked.

Perhaps one should stabilize it and use it instead of the old package in stable?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-27 23:30:17 UTC
Stabilisation done in bug 925563, thanks for testing!

*** This bug has been marked as a duplicate of bug 915985 ***