sys-libs/talloc-2.3.3::gentoo failed (compile phase): Waf: Leaving directory `/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3-abi _x86_32.x86/bin/default' Build failed Traceback (most recent call last): File "/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3/third_party/waf/waf lib/Task.py", line 360, in process self.post_run() File "/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3/third_party/waf/waf lib/extras/gccdeps.py", line 81, in post_run txt = Utils.readf(name) File "/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3/third_party/waf/waf lib/Utils.py", line 237, in readf with open(fname, m) as f: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/portage/sys-libs/t alloc-2.3.3/work/talloc-2.3.3-abi_x86_32.x86/bin/default/lib/replace/replace.c.2 .d' * ERROR: sys-libs/talloc-2.3.3::gentoo failed (compile phase): * build failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2687: Called multilib-minimal_src_compile * environment, line 1678: Called multilib_foreach_abi 'multilib-minimal_abi_ src_compile' * environment, line 1945: Called multibuild_foreach_variant '_multilib_multi build_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 1638: Called _multibuild_run '_multilib_multibuild_wrapp er' 'multilib-minimal_abi_src_compile' * environment, line 1636: Called _multilib_multibuild_wrapper 'multilib-mini mal_abi_src_compile' * environment, line 481: Called multilib-minimal_abi_src_compile * environment, line 1672: Called multilib_src_compile * environment, line 2157: Called waf-utils_src_compile * environment, line 3446: Called die * The specific snippet of code: * "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed" * * If you need support, post the output of `emerge --info '=sys-libs/talloc-2.3. 3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/talloc-2.3.3 ::gentoo'`. * The complete build log is located at '/tmp/portage/sys-libs/talloc-2.3.3/temp /build.log'. * The ebuild environment file is located at '/tmp/portage/sys-libs/talloc-2.3.3 /temp/environment'. * Working directory: '/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3-abi_ x86_32.x86' * S: '/tmp/portage/sys-libs/talloc-2.3.3/work/talloc-2.3.3' Reproducible: Always Steps to Reproduce: 1. emerge -av sys-libs/talloc 2. emerge -quDN --with-bdeps=y @world during switch from PYTHON_SINGLE_TARGET="python3_9 to PYTHON_SINGLE_TARGET="python3_10 3. emerge --unmerge sys-libs/talloc; emerge -av1 sys-libs/talloc Actual Results: See above. emerge --info '=sys-libs/talloc-2.3.3::gentoo': Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-11.3.0, glibc-2.34-r13, 5.15.52-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.52-x86_64-x86_64-AMD_FX-8320E_Eight-Core_Processor-with-glibc2.34 KiB Mem: 32835356 total, 2287984 free KiB Swap: 16777212 total, 16595196 free Timestamp of repository gentoo: Wed, 27 Jul 2022 03:30:01 +0000 Head commit of repository gentoo: f3dd7fcabbf96284a41bc457559b9ed1fafed217 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 distcc 3.4 x86_64-pc-linux-gnu [enabled] app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.9.12::gentoo, 3.10.5::gentoo dev-lang/rust-bin: 1.60.0::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.6::gentoo sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage 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 crazynotes location: /opt/overlays/mshurutov masters: gentoo priority: 0 linxon location: /var/lib/layman/linxon masters: gentoo priority: 50 palemoon location: /var/lib/layman/palemoon masters: gentoo priority: 50 pf4public location: /var/lib/layman/pf4public masters: gentoo priority: 50 powerman location: /var/lib/layman/powerman masters: gentoo priority: 50 torbrowser location: /var/lib/layman/torbrowser masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mtune=generic -Os -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict 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="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j49 -l8" 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="/tmp" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi alsa amd64 amr ao audiofile avif bash-completion bluetooth bmff branding bzip2 cairo cdda cdr cli corefonts crypt cups dbus djvu dri dts dvd dvdr ebook encode eps epub exif ffmpeg flac gd gdbm gdk-pixbuf gif glamor gme gnutls gui hdri heif iconv icu idn imlib infinality ipv6 jbig jingle jpeg jpeg2k jpegxl kerberos lcms ldap libglvnd libnotify libtirpc lz4 lzma lzo mac mad matroska mng mp3 mp4 mpeg mspub multilib musepack mwaw ncurses nls nptl ogg openal openexr opengl openmp opus pam pango pcre pdf png policykit ppds private-headers raw readline sdl seccomp sndfile speex spell split-usr ssl startup-notification svg systemd theora threads tiff truetype udev udisks unicode upower usb vaapi vcd vdpau vim-syntax visio vorbis vpx vulkan wavpack webp wmf woff2 wpd wps wxp-compat wxwidgets x264 x265 xattr xcb xcomposite xface xinerama xml xmp xpm xps xv xvid xvmc zlib zmf" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput metadata-transfer" KERNEL="linux" L10N="ru en" 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 radeonsi radeon" 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, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, 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 emerge -pqv '=sys-libs/talloc-2.3.3::gentoo': [ebuild N ] sys-libs/talloc-2.3.3 USE="python -compat" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Please attach the full build.log.
Created attachment 794675 [details] /tmp/portage/sys-libs/talloc-2.3.3/temp/build.log
Created attachment 794678 [details] /tmp/portage/sys-libs/talloc-2.3.3/temp/environment
Please disable distcc. *** This bug has been marked as a duplicate of bug 749261 ***
On other system with distcc this package was built successfully. But it was new package on that system and was built after switch python from 3.9 to 3.10.
(In reply to Michail Shurutov from comment #5) > On other system with distcc this package was built successfully. But it was > new package on that system and was built after switch python from 3.9 to > 3.10. I think waf is extremely fragile with distcc and it's a miracle if it ever works. waf is also really dependent on Python internals for ordering. See e.g. bug 836167.