(See https://bugs.gentoo.org/951487#c24) If FEATURES='userpriv' then when recent stable versions of dev-libs/glib try to build an internal copy of gobject-introspection from src_configure, the process fails because, despite the `INTROSPECTION_BIN_DIR` and `INTROSPECTION_BIN_DIR` environment-variables being set, part of the call to `meson_src_install` ends up calling portage `dodoc`, which attempts to create directories beneath (root-owned) `${ED}` while still running as the `portage` user, and so fails as it doesn't have permission to create `${ED}/usr`. ``` Traceback (most recent call last): File "/usr/lib/portage/python3.12/doins.py", line 609, in <module> sys.exit(main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/portage/python3.12/doins.py", line 582, in main install_runner.install_dir(opts.dest) File "/usr/lib/portage/python3.12/doins.py", line 384, in install_dir self._dir_runner.run(dest) File "/usr/lib/portage/python3.12/doins.py", line 305, in run os.makedirs(dest) File "<frozen os>", line 215, in makedirs File "<frozen os>", line 215, in makedirs File "<frozen os>", line 215, in makedirs File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: b'/var/tmp/portage/dev-libs/glib-2.82.5/image/usr' * ERROR: dev-libs/glib-2.82.5::gentoo failed (configure phase): * dodoc failed ``` I suspect that this problem would be encountered on any system with FEATURES='userpriv' :(
(In reply to Stuart Shelton from comment #0) > (See https://bugs.gentoo.org/951487#c24) > As I asked over there, can you include the full build.log and emerge --info please? > > I suspect that this problem would be encountered on any system with > FEATURES='userpriv' :( It shoudn't be - that's the default configuration and you're the first person to report this with the ebuild being in that state for several months.
… although if `userpriv` is default, possibly some misinteraction with other FEATURES? Running: FEATURES='-userpriv' USE='introspection' emerge -va dev-libs/glib dev-libs/gobject-introspection … succeeds, whilst: USE='introspection' emerge -va dev-libs/glib dev-libs/gobject-introspection fails. ``` # emerge --info | grep ^FEATURES FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
(In reply to Stuart Shelton from comment #0) > [...] part of the call to > `meson_src_install` ends up calling portage `dodoc`, which attempts to > create directories beneath (root-owned) `${ED}` while still running as the > `portage` user, and so fails as it doesn't have permission to create > `${ED}/usr`. I think your analysis is right (or plausible to me), what isn't clear is why it ever works yet...
We can easily workaround it by calling ninja instead of meson_src_install to avoid einstalldocs, but I really want to get what's happening before doing that..
(In reply to Sam James from comment #1) > > As I asked over there, can you include the full build.log and emerge --info > please? # emerge --info Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.40_p688-r8, 6.13.4-gentoo x86_64) ================================================================= System uname: Linux-6.13.4-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1240L_v5_@_2.10GHz-with-glibc2.40 KiB Mem: 65748152 total, 19912724 free KiB Swap: 41943020 total, 41847296 free Timestamp of repository gentoo: Tue, 25 Mar 2025 01:44:11 +0000 sh sys-apps/busybox 1.36.1-r3 ld GNU ld (Gentoo 2.44 p1) 2.44.0 app-misc/pax-utils: 1.3.8 app-shells/bash: 5.2_p37 dev-build/make: 4.4.1-r100 dev-build/meson: 1.7.0 dev-lang/perl: 5.40.0-r1 dev-lang/python: 3.12.9 sys-apps/baselayout: 2.17 sys-apps/openrc: 0.56 sys-apps/sandbox: 2.39 sys-devel/binutils: 2.44 sys-devel/binutils-config: 5.5.2 sys-devel/gcc: 14.2.1.1868_p20241221 sys-devel/gcc-config: 2.12.1 sys-kernel/linux-headers: 6.12 sys-libs/glibc: 2.40_p688-r8 Repositories: gentoo location: /var/db/repo/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="Apache-2.0 Artistic Artistic-2 BSD BSD-1 BSD-2 BSD-4 GPL-1+ GPL-2 GPL-2+ GPL-3 GPL-3+ ISC LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ADA_TARGET="gcc_14" 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" ARCH="amd64" AUTOCLEAN="no" BINPKG_COMPRESS="zstd" BINPKG_FORMAT="gpkg" BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]" BINPKG_GPG_SIGNING_DIGEST="SHA512" BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]" BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg" BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_12 python_single_target_python3_12 multilib zstd cet" BROOT="" CALLIGRA_FEATURES="karbon sheets words" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32 -mfpmath=sse" CGO_CFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe" CGO_CPPFLAGS="-Wp,-D_REENTRANT" CGO_CXXFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe" CGO_FFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe -fno-protect-parens -fstack-arrays" CGO_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -Wl,-z,relro -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,separate-code -Wl,-z,max-page-size=2097152" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE=" /lib/modules/* /var/lib/portage/eclass/linux-info/* *.py[co] " COLUMNS="165" CONFIG_PROTECT="/etc /etc/env.d /lib/rcscripts/addons /usr/share/gnupg/qualified.txt /var/www/localhost/htdocs/phpBB /var/www/localhost/htdocs/roundcube/config /var/www/localhost/htdocs/wordpress" CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/ca-certificates.conf /etc/env.d /etc/fonts /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPPFLAGS="-Wp,-D_REENTRANT" CPU_FLAGS_ARM="" CPU_FLAGS_PPC="" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CXXFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe" DEFAULT_ABI="amd64" DISTDIR="/var/cache/portage/dist" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--autounmask-write=y --backtrack=100 --binpkg-changed-deps=y --binpkg-respect-use=y --buildpkg=y --color=y --ignore-soname-deps=n --keep-going=y --rebuild-if-new-slot=y --verbose=y --verbose-conflicts" EMERGE_WARNING_DELAY="10" 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" EPREFIX="" EROOT="/" ESYSROOT="/" FCFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe -fno-protect-parens -fstack-arrays" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" FFLAGS="-march=skylake -mabm -O3 -fallow-store-data-races -ffast-math -fno-semantic-interposition -fgraphite-identity -floop-nest-optimize -fivopts -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fno-plt -falign-functions=32 -fdevirtualize-speculatively -fgcse-las -fgcse-sm -fisolate-erroneous-paths-attribute -flive-range-shrinkage -fmodulo-sched -fmodulo-sched-allow-regmoves -fomit-frame-pointer -fsched-pressure -fstdarg-opt -malign-data=cacheline -mtls-dialect=gnu2 -ffp-contract=fast -ffast-math -fopenmp -Werror=odr -Werror=strict-aliasing -Werror=lto-type-mismatch -flto -fipa-pta -fdevirtualize-at-ltrans -fuse-linker-plugin -Wp,-D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -pipe -fno-protect-parens -fstack-arrays" FLFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -Wl,-z,relro -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,separate-code -Wl,-z,max-page-size=2097152" GCC_SPECS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" GENTOO_PROFILE="default/linux/amd64/23.0/split-usr/no-multilib" GOFLAGS="-trimpath '-ldflags=-bindnow -s -w' '-tags osusergo,netgo'" GPG_VERIFY_GROUP_DROP="nogroup" GPG_VERIFY_USER_DROP="nobody" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" HOME="/root" HOSTNAME="dellr330" INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.44/info:/usr/share/info" INPUT_DEVICES="libinput" INSTALL_MASK="AUTHORS BACKLOG BLURB CHANGELOG Changelog ChangeLog ChangeLog.0 ChangeLog.1 CHANGES Changes COPYING Copying CREDITS INSTALL MANIFEST NEWS PORTING THANKS TODO WHATS_NEW /usr/lib/debug /usr/share/locale -/usr/share/locale/locale.alias -/usr/share/locale/en -/usr/share/locale/en_GB -/usr/share/locale/en_US /usr/share/X11/locale -/usr/share/X11/locale/compose.dir -/usr/share/X11/locale/locale.alias -/usr/share/X11/locale/locale.dir -/usr/share/X11/locale/C -/usr/share/X11/locale/en_US.UTF-8 -/usr/share/X11/locale/iso8859-1 -/usr/share/X11/locale/iso8859-15 /usr/share/man -/usr/share/man/man0 -/usr/share/man/man0p -/usr/share/man/man1 -/usr/share/man/man1p -/usr/share/man/man2 -/usr/share/man/man3 -/usr/share/man/man3p -/usr/share/man/man4 -/usr/share/man/man5 -/usr/share/man/man6 -/usr/share/man/man7 -/usr/share/man/man8 -/usr/share/man/mann -/usr/share/man/cat0 -/usr/share/man/cat0p -/usr/share/man/cat1 -/usr/share/man/cat1p -/usr/share/man/cat2 -/usr/share/man/cat3 -/usr/share/man/cat3p -/usr/share/man/cat4 -/usr/share/man/cat5 -/usr/share/man/cat6 -/usr/share/man/cat7 -/usr/share/man/cat8 -/usr/share/man/catn /usr/lib64/python*/site-packages/mercurial/locale /usr/share/binutils-data/x86_64-pc-linux-gnu/*/locale /usr/share/gcc-data/x86_64-pc-linux-gnu/*/locale" IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack" JOBS="6" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LC_CTYPE="C.UTF-8" LC_MESSAGES="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -Wl,-z,relro -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,separate-code -Wl,-z,max-page-size=2097152" LDFLAGS_amd64="-m elf_x86_64" LDFLAGS_x32="-m elf32_x86_64" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSOPEN="|lesspipe %s" LEX="flex" LIBDIR_amd64="lib64" LIBDIR_x32="lib32" LIBDIR_x86="lib" LINES="49" LINGUAS="en en_GB en_US" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="luajit" MAKEOPTS="-j6" MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.44/man:/usr/local/share/man:/usr/share/man" MAXLOAD="7.00" MICROCODE_SIGNATURES="-S" MULTILIB_ABIS="amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" OFFICE_IMPLEMENTATION="libreoffice" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PEAR_CACHEDIR="/var/cache/pear" PEAR_DOWNLOADDIR="/var/tmp/pear" PEAR_TEMPDIR="/var/tmp" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" PKGDIR="/var/cache/portage/pkg/amd64/docker" PKGHOST="docker" ...
… PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos" PORTAGE_BIN_PATH="/usr/lib/portage/python3.12" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_COMPRESS_FLAGS="-9eT0" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@rufus.miltonroad.net" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="stuart@shelton.me smtp.miltonroad.net" PORTAGE_ELOG_SYSTEM="echo save mail_summary" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}"" PORTAGE_GRPNAME="portage" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_INTERNAL_CALLER="1" PORTAGE_LOGDIR="/var/log/portage" PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" PORTAGE_NICENESS="10" PORTAGE_OVERRIDE_EPREFIX="" PORTAGE_PYM_PATH="/usr/lib/python3.12/site-packages" PORTAGE_PYTHONPATH="/usr/lib/python3.12/site-packages" 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_RSYNC_RETRIES="-1" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_TRUST_HELPER="true" PORTAGE_USERNAME="portage" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTAGE_XATTR_EXCLUDE="bcachefs.* bcachefs_effective.* btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*" POSTGRES_TARGETS="postgres16" PROFILE_23_USRTYPE="split-usr" PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL" PWD="/" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" ROOT="/" ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RPMDIR="/var/cache/portage/rpm" RUBY_TARGETS="ruby32" RUSTFLAGS="-C target-cpu=skylake -C strip=debuginfo -C opt-level=3 -C link-arg=-Wl,-O2 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,-z,now -C link-arg=-Wl,-z,relro -C link-arg=-Wl,--enable-new-dtags -C link-arg=-Wl,--sort-common -C link-arg=-Wl,-z,separate-code -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-Wl,-z,max-page-size=2097152" SHLVL="2" SYMLINK_LIB="no" SYSROOT="/" TERM="screen-256color" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/* /lib/systemd /lib/udev" USE="acl acpi adns aio amd64 ao asm audit bash-completion bzip2 caps chroot crypt curl cxx encode expat fam ffmpeg fftw filecaps flac ftp gd gdbm gif gmp iconv icu id3tag idn inotify io-uring iodbc ipv6 javascript jemalloc jpeg jpeg2k json ladspa lame libatomic libffi libidn2 libsamplerate libtirpc libwww lighttpd lto lz4 lzma lzo mad mariadb mbox mdev memcached mmap mp3 mpfr mysql mysqli ncurses network nfs nls nntp nptl odbc ogg openmp openssl pam pcre perl pgo php pie png python readline rpc sctp seccomp sep-usr server slp smtp sndfile snmp speex spell split-usr sql sqlite ssl svg syslog test-rust theora threads tiff unicode unwind urandom uuid vim-syntax vorbis wavpack x264 xattr xinetd xml xs xvid xxhash yaml zlib zstd" ABI_X86="64" ADA_TARGET="gcc_14" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="luajit" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" USERLAND="GNU" USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_QUIC CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS GUILE_SINGLE_TARGET GUILE_TARGETS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PERL_FEATURES PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS" USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL" USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL" USE_EXPAND_UNPREFIXED="ARCH" USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux" USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS" USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS" USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d" VIDEO_CARDS="dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Working on getting a build.log… bear with!