Created attachment 848362 [details] Output of build.log and build environment Hello, dev-libs/gobject-introspection-1.74.0 does not build on hardened musl profile, when emerging xfce-desktop. It should compile on musl, as it does on other musl-based distros. Unfortunately I cannot yet provide URL's, but see respective packages in Adelie, Void and Alpine Linux repositories. Reading the repective ebuild it seems as it would need to be adapted to work with musl. The build output indicates this as well, as the failed attempt to use glib-2.0 shows. Relevant logs are attached, further information can be provided. Thanks in advance. Output of emerge --info '=dev-libs/gobject-introspection-1.74.0::gentoo': Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.0/musl/hardened, gcc-11, musl-1.2.3, 6.0.0-4-amd64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.0.0-4-amd64-x86_64-Intel-R-_Core-TM-_i7-10510U_CPU_@_1. 80GHz-with-libc KiB Mem: 16173284 total, 2871644 free KiB Swap: 16777212 total, 16285028 free Timestamp of repository gentoo: Fri, 13 Jan 2023 11:00:02 +0000 Head commit of repository gentoo: de78decd557db68c05c7b57875acf77c04281a79 Timestamp of repository musl: Tue, 10 Jan 2023 17:47:42 +0000 Head commit of repository musl: 5c2be20ff529c865e619130250a132f7898b5c5b sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p5) 2.39.0 ccache version 4.7.4 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust-bin: 1.66.1::gentoo dev-util/ccache: 4.7.4::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/musl: 1.2.3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync. gentoo. org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 musl location: /var/db/repos/musl sync-type: git sync-uri: hxxps:// github. com/gentoo-mirror/musl.git masters: gentoo volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="/etc /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" CXXFLAGS="-O2 -pipe -march=native" 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="-O2 -pipe -march=native" 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 network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="rsync://mirror. netcologne. de/gentoo/" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j6" 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="X acl acpi alsa amd64 appindicator bzip2 caps cli colord crypt cups dbus dist-kernel dri elogind ffmpeg fontconfig fortran hardened iconv icu libglvnd libnotify libtirpc lm-sensors man ncurses nls nptl opengl openmp pam pcre pie readline seccomp split-usr ssl ssp test-rust threads truetype udev unicode upower verify-sig wifi x264 xattr xtpax zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" 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 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 sse3 sse4_1 sse4_2 ssse3" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de-DE en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS Output of emerge -pqv '=dev-libs/gobject-introspection-1.74.0::gentoo': [ebuild N ] dev-libs/gobject-introspection-1.74.0 USE="-doctool -gtk-doc -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11" * IMPORTANT: 4 news items need reading for repository 'gentoo'. * Use eselect news read to view new items.
I think there's something more to this but I'm not sure yet. I've built this fine on musl many a time. Also, this is small, and you don't need to do it this time - but would you mind uploading build.log and environment as separate files? We're used to sifting through them in that format so it's easier to find bits.
(In reply to Sam James from comment #1) > I think there's something more to this but I'm not sure yet. I've built this > fine on musl many a time. > > Also, this is small, and you don't need to do it this time - but would you > mind uploading build.log and environment as separate files? We're used to > sifting through them in that format so it's easier to find bits. Of course, this would have been my preferred way of uploading the logs as well. Unfortunately I didn't find the option to attach more than one file in the bug report tool. I will add them right away.
Created attachment 848368 [details] Build Environment Same build env as in first attachment, separated reupload for better overview.
Created attachment 848370 [details] Build Log Same build log as in first attachment, separated reupload for better overview.
Thanks! Tried again in a llvm+musl stage3 & musl stage3 (so gcc) and both worked, so something more is going on here. There's something notable in Alpine's patches to adapt to 64-bit time_t: https://git.alpinelinux.org/aports/tree/main/gobject-introspection/musl-time64.patch. I think this is something we probably need to pull in, but I don't think it should be causing your issue either. In the absence of further ideas (I'm not giving up yet, but I need to get on with some other bits for now), I wonder two things: 1. does 'env' show anything interesting? Could you share its output? (I know it's likely in the environment file, but it's hard to then see "stuff you set" vs "stuff the ebuild set"). 2. If you grab a musl stage3, then immediately emerge -v1 gobject-introspection, does it work? If not, can we try figure out the steps needed to try make it happen?
I also wonder if rebuilding glib helps at all, but also if you get any interesting messages when you try to lddtree it (or during its build).
(In reply to Sam James from comment #5) > Thanks! > > Tried again in a llvm+musl stage3 & musl stage3 (so gcc) and both worked, so > something more is going on here. Could this be related to hardened musl toolchain? This Gentoo installation is still pretty new, as I just started installing it. Not sure if relevant, but I tried emerging it while in a chroot on a debian system. > […] > > In the absence of further ideas (I'm not giving up yet, but I need to get on > with some other bits for now), I wonder two things: > 1. does 'env' show anything interesting? Could you share its output? (I know > it's likely in the environment file, but it's hard to then see "stuff you > set" vs "stuff the ebuild set"). Output of env: SHELL=/bin/bash XDG_CONFIG_DIRS=/etc/xdg LESS=-R -M --shift 5 CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild EDITOR=/bin/nano PWD=/ CONFIG_PROTECT=/usr/share/gnupg/qualified.txt LOGNAME=root MANPATH=/usr/share/gcc-data/x86_64-gentoo-linux-musl/11/man:/usr/share/binutils-data/x86_64-gentoo-linux-musl/2.39/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man HOME=/root LANG=C.UTF8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90: CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS=-C target-feature=-crt-static INFOPATH=/usr/share/gcc-data/x86_64-gentoo-linux-musl/11/info:/usr/share/binutils-data/x86_64-gentoo-linux-musl/2.39/info:/usr/share/info TERM=xterm-256color LESSOPEN=|lesspipe %s USER=root MANPAGER=manpager DISPLAY=:0 SHLVL=1 DOAS_USER=pigeonmaster PAGER=/usr/bin/less LEX=flex GCC_SPECS= GSETTINGS_BACKEND=dconf PS1=(chroot) \[\033]0;\u@\h:\w\007\]\[\033[01;31m\]\h\[\033[01;34m\] \w \$\[\033[00m\] XDG_DATA_DIRS=/usr/local/share:/usr/share PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin _=/usr/bin/env > 2. If you grab a musl stage3, then immediately emerge -v1 > gobject-introspection, does it work? If not, can we try figure out the steps > needed to try make it happen? "emerge -v1 gobject-introspection" did not yield any different result. I could retry in an even "fresher" install, but doubt any difference, as this install has not really been touched much yet.
(In reply to Mike from comment #7) > (In reply to Sam James from comment #5) > > Thanks! > > > > Tried again in a llvm+musl stage3 & musl stage3 (so gcc) and both worked, so > > something more is going on here. > > Could this be related to hardened musl toolchain? > This Gentoo installation is still pretty new, as I just started installing > it. Not sure if relevant, but I tried emerging it while in a chroot on a > debian system. It shouldn't be. It's what I default to. > > 2. If you grab a musl stage3, then immediately emerge -v1 > > gobject-introspection, does it work? If not, can we try figure out the steps > > needed to try make it happen? > > > "emerge -v1 gobject-introspection" did not yield any different result. I > could retry in an even "fresher" install, but doubt any difference, as this > install has not really been touched much yet. Can you humour me and try it? (as it worked straight away for me, and identifying what makes your system interesting is going to be a big part of this) (Just extract it to /tmp and chroot in.)
(In reply to Sam James from comment #6) > I also wonder if rebuilding glib helps at all, but also if you get any > interesting messages when you try to lddtree it (or during its build). glib rebuilt without any problems, rebuilding gobject-introspection failed exactly as before. Curious to see now, if there will be any changes with a fresh stage3, I'll report back as soon as it's done.
(In reply to Sam James from comment #8) > > > 2. If you grab a musl stage3, then immediately emerge -v1 > > > gobject-introspection, does it work? If not, can we try figure out the steps > > […] > (Just extract it to /tmp and chroot in.) Same error as before, new logs are attached. Steps to reproduce: 1. Stage 3 from hxxps://linux.rz.ruhr-uni-bochum. de/download/gentoo-mirror/releases/amd64/autobuilds/current-stage3-amd64-musl-hardened/stage3-amd64-musl-hardened-20230108T161708Z.tar.xz (not sure if this was the same as used before) 2. extract to /tmp, chroot in according to Handbook:AMD64 3. emerge --sync 4. no update of portage (although requested as of today) 5. emerge -v1 gobject-introspection Output of emerge --info: Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.0/musl/hardened, gcc-11, musl-1.2.3, 6.0.0-4-amd64 x86_64) ================================================================= System uname: Linux-6.0.0-4-amd64-x86_64-Intel-R-_Core-TM-_i7-10510U_CPU_@_1. 80GHz-with-libc KiB Mem: 16173284 total, 918756 free KiB Swap: 16777212 total, 16754788 free Timestamp of repository gentoo: Fri, 13 Jan 2023 12:30:01 +0000 Head commit of repository gentoo: 216fa11e5c4e228b36e073048757a38b25c1b7bb sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p5) 2.39.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9::gentoo, 3.11.1::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/musl: 1.2.3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-gentoo-linux-musl" CFLAGS="-O2 -pipe" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -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="-O2 -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 network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="hxxp://distfiles.gentoo. org" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" 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="acl amd64 bzip2 cli crypt dri fortran hardened iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp test-rust unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 848372 [details] Build Log in fresh Stage 3 New build log of failed gobject-introspection build in fresh stage3-chroot
The same steps work for me with no failure (just tried them) so we'll have to try see when the error gets triggered and poke more. How bizarre. Anything interesting about the host machine?
(In reply to Sam James from comment #12) > The same steps work for me with no failure (just tried them) so we'll have > to try see when the error gets triggered and poke more. > > How bizarre. Anything interesting about the host machine? I am surprised as well. The host machine is a Lenovo T14 Gen 1 Laptop, with latest firmware updates installed and no peculiar BIOS/UEFI settings. I'm running Debian testing/sid (tracking bookworm release, with security updates from sid, see hxxps://wiki.debian. org/DebianTesting#Best_practices_for_Testing_users). Root and User use ZSH, with grml zshrc (hxxps://git.grml. org/f/grml-etc-core/etc/zsh/zshrc). It runs mostly without any problems, but the usr-merge was problematic in my case. Not sure if this is default behaviour since the usr-merge, but executables in /sbin have to be called directly, i.e. chroot requires "sudo (doas in my particular case) /sbin/chroot [dir]". Just calling chroot returns that no such executable has been found. Hope this helps, please let me know, if you need more detailed information.
I had tried the same process with the musl+llvm stage3 without luck. Having rebooted into the gentoo installation itself, I could now successfully compile gobject-introspection. I'm still clueless as to what has caused this problem, I suppose it has either to do with Debian, the chroot or a peculiar setting on my side, that I'm not (yet) aware of. Anyway sorry for the trouble and thank you very much for your time and help! P.S.: I'm not yet marking this as resolved, in case there's further interest to investigate this. Please do let me know if I can be of help.
(In reply to Mike from comment #14) > I had tried the same process with the musl+llvm stage3 without luck. Having > rebooted into the gentoo installation itself, I could now successfully > compile gobject-introspection. > > I'm still clueless as to what has caused this problem, I suppose it has > either to do with Debian, the chroot or a peculiar setting on my side, that > I'm not (yet) aware of. > > Anyway sorry for the trouble and thank you very much for your time and help! > > P.S.: I'm not yet marking this as resolved, in case there's further interest > to investigate this. Please do let me know if I can be of help. (Sorry, I'd missed this until now.) I wonder if it's something like under sandbox, with whatever kernel settings Debian has (including runtime toggles like sysctls), it failed.