Created attachment 743334 [details] environment file in /var/tmp/portage Hello, dev-libs/nss-3.70 does not emerge when using distcc, but emerge fine without distcc. ******** Here is the build.log * Package: dev-libs/nss-3.70 * Repository: gentoo * Maintainer: mozilla@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: distcc network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nss-3.70.tar.gz to /var/tmp/portage/dev-libs/nss-3.70/work >>> Source unpacked in /var/tmp/portage/dev-libs/nss-3.70/work >>> Preparing source in /var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss ... * Applying nss-3.53-gentoo-fixups.patch ... patching file Makefile patching file config/Makefile patching file config/nss-config.in patching file config/nss.pc.in patching file manifest.mn Hunk #1 succeeded at 10 with fuzz 2. [ ok ] * Applying nss-3.21-gentoo-fixup-warnings.patch ... [ ok ] * Applying nss-3.23-hppa-byte_order.patch ... [ ok ] * Will copy sources from /var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss * abi_x86_64.amd64: copying to /var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile distcc[62] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Sep 30 2021 16:36:31 distcc[62] (dcc_recursion_safeguard) safeguard level=0 distcc[62] (main) compiler name is "x86_64-pc-linux-gnu-gcc" distcc[62] (dcc_set_path) setting PATH=/opt/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin:/usr/lib/llvm/10/bin distcc[62] (dcc_scan_args) scanning arguments: x86_64-pc-linux-gnu-gcc -E -E -P - distcc[62] (dcc_scan_args) -E call for cpp must be local distcc[62] (dcc_get_hostlist) not reading /var/tmp/portage/.distcc/hosts: No such file or directory distcc[62] (dcc_parse_hosts_file) load hosts from /etc/distcc/hosts distcc[62] (dcc_parse_hosts) found tcp token "10.42.0.1/12,cpp,lzo" distcc[62] (dcc_parse_options) got CPP option distcc[62] (dcc_parse_options) got LZO option distcc[62] (dcc_parse_hosts) found tcp token "10.42.0.2/24,cpp,lzo" distcc[62] (dcc_parse_options) got CPP option distcc[62] (dcc_parse_options) got LZO option distcc[62] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3 distcc[62] (dcc_note_state) note state 3, file "(NULL)", host "localhost" distcc[62] exec on localhost: x86_64-pc-linux-gnu-gcc -E -E -P - distcc[62] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[62] (dcc_spawn_child) forking to execute: x86_64-pc-linux-gnu-gcc -E -E -P - distcc[62] (dcc_spawn_child) child started as pid63 distcc[63] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 distcc[62] (dcc_collect_child) cc child 63 terminated with status 0 distcc[62] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 0 minflt, 0 majflt distcc[62] compile (null) on localhost completed ok distcc[62] (dcc_unlock) release lock fd3 distcc[62] elapsed compilation time 0.007164s distcc[62] (dcc_exit) exit: code 0; self: 0.001329 user 0.001329 sys; children: 0.003918 user 0.002985 sys distcc[62] (dcc_cleanup_tempfiles_inner) deleted 0 temporary files make -j1 -j1 -C coreconf CC=x86_64-pc-linux-gnu-gcc USE_64=1 make: Entering directory '/var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss-abi_x86_64.amd64/coreconf' distcc[84] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Sep 30 2021 16:36:31 distcc[84] (dcc_recursion_safeguard) safeguard level=0 distcc[84] (main) compiler name is "x86_64-pc-linux-gnu-gcc" distcc[84] (dcc_set_path) setting PATH=/opt/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin:/usr/lib/llvm/10/bin distcc[84] (dcc_scan_args) scanning arguments: x86_64-pc-linux-gnu-gcc -dumpversion distcc[84] (dcc_scan_args) compiler apparently called not for compile distcc[84] (dcc_get_hostlist) not reading /var/tmp/portage/.distcc/hosts: No such file or directory distcc[84] (dcc_parse_hosts_file) load hosts from /etc/distcc/hosts distcc[84] (dcc_parse_hosts) found tcp token "10.42.0.1/12,cpp,lzo" distcc[84] (dcc_parse_options) got CPP option distcc[84] (dcc_parse_options) got LZO option distcc[84] (dcc_parse_hosts) found tcp token "10.42.0.2/24,cpp,lzo" distcc[84] (dcc_parse_options) got CPP option distcc[84] (dcc_parse_options) got LZO option distcc[84] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3 distcc[84] exec on localhost: x86_64-pc-linux-gnu-gcc -dumpversion distcc[84] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[84] (dcc_spawn_child) forking to execute: x86_64-pc-linux-gnu-gcc -dumpversion distcc[84] (dcc_spawn_child) child started as pid85 distcc[85] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 distcc[84] (dcc_collect_child) cc child 85 terminated with status 0 distcc[84] (dcc_collect_child) cc times: user 0.000000s, system 0.000000s, 0 minflt, 0 majflt distcc[84] compile (null) on localhost completed ok distcc[84] (dcc_unlock) release lock fd3 distcc[84] elapsed compilation time 0.002863s distcc[84] (dcc_exit) exit: code 0; self: 0.000000 user 0.002459 sys; children: 0.001719 user 0.000859 sys distcc[84] (dcc_cleanup_tempfiles_inner) deleted 0 temporary files ../coreconf/rules.mk:285: *** missing separator. Stop. make: Leaving directory '/var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss-abi_x86_64.amd64/coreconf' * ERROR: dev-libs/nss-3.70::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/nss-3.70::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/nss-3.70::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.70/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.70/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss-abi_x86_64.amd64' * S: '/var/tmp/portage/dev-libs/nss-3.70/work/nss-3.70/nss' ******* I am in the middle of an update of an old Gentoo, so using a binary version of emerge. ******* Output of `/opt/portage/bin/emerge -pqv '=dev-libs/nss-3.70::gentoo'` [ebuild R ] dev-libs/nss-3.70 USE="-cacert -utils" ABI_X86="(64) -32 (-x32)" ******* Output of `emerge --info '=dev-libs/nss-3.70::gentoo'` is attached in emerge_info.txt. It is not from binary, as I have problems with python and layman. Portage 3.0.20 (python 3.9.0-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.72-gentoo-x86_64-Intel-R-_Core-TM-_i5-7300U_CPU_@_2.60GHz-with-glibc2.32 KiB Mem: 16261892 total, 7673144 free KiB Swap: 18874364 total, 18874364 free Timestamp of repository gentoo: Fri, 01 Oct 2021 13:15:01 +0000 Head commit of repository gentoo: 465c6e9dd5f49c568f08f3a0824e70b3ae8f6a4d sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 distcc 3.4 x86_64-pc-linux-gnu [enabled] app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo dev-lang/rust: 1.47.0-r2::gentoo dev-util/cmake: 3.17.4-r1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.2-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.2-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 localrepo location: /var/db/repos/localrepo masters: gentoo x-portage location: /usr/local/portage masters: gentoo priority: 0 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 gnome location: /var/lib/layman/gnome sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/proj/gnome.git masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio sync-type: laymansync sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git masters: gentoo priority: 50 ppfeufer-gentoo-overlay location: /var/lib/layman/ppfeufer-gentoo-overlay sync-type: laymansync sync-uri: https://github.com/ppfeufer/gentoo-overlay.git masters: gentoo priority: 50 raiagent location: /var/lib/layman/raiagent sync-type: laymansync sync-uri: https://github.com/leycec/raiagent masters: gentoo priority: 50 robert7k location: /var/lib/layman/robert7k sync-type: laymansync sync-uri: https://github.com/robert7k/gentoo-overlay.git masters: gentoo priority: 50 stefantalpalaru location: /var/lib/layman/stefantalpalaru sync-type: laymansync sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git masters: gentoo priority: 50 waebbl location: /var/lib/layman/waebbl sync-type: laymansync sync-uri: https://github.com/waebbl/waebbl-gentoo.git masters: gentoo priority: 50 wichtounet location: /var/lib/layman/wichtounet sync-type: laymansync sync-uri: https://github.com/wichtounet/wichtounet-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE no-source-code freedist" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -O2 -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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /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=skylake -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=36 --load-average=36" 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="-march=skylake -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=skylake -O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/" LANG="fr_FR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j36 -l36" 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="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds emboss encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui guile iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 f16c" 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="emu efi-32 efi-64 pc" INPUT_DEVICES="evdev synaptics wacom" 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" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp plustek" USERLAND="GNU" VIDEO_CARDS="intel i965" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS ================================================================= Package Settings ================================================================= dev-libs/nss-3.70::gentoo was built with the following: USE="-cacert -utils" ABI_X86="(64) -32 (-x32)" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" ******* Output of `/opt/portage/bin/emerge --version` Portage 3.0.26 (python 3.9.0-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo x86_64) I do not know if it is a problem of nss or distcc, and have no clue where to look for the source of this problem. Thanks and best regards, Sylvain
I found this bug is due to verbose mode of DISTCC (use of DISTCC_VERBOSE=1). It must be same type of problem as bug https://bugs.gentoo.org/818148 I will see to warn not to use DISTCC_VERBOSE=1 on a regular use, as it breaks emerge of many packages.