The fix for bug #561264 seems to have broken something. I'm occasionally seeing this traceback: caribou ~ # e -1 links nfs-utils firefox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-client/links-2.12:2::gentoo USE="X bzip2 jpeg lzma ssl tiff unicode zlib -directfb -fbcon -gpm -ipv6 -livecd (-suid) (-svga)" 0 KiB [ebuild R ] net-fs/nfs-utils-1.3.2-r6::gentoo USE="caps libmount nfsidmap nfsv4 uuid -ipv6 -kerberos -nfsdcld -nfsv41 (-selinux) -tcpd" 0 KiB [ebuild U ] www-client/firefox-41.0.1::gentoo [41.0-r1::gentoo] USE="custom-optimization dbus egl gmp-autoupdate gstreamer jemalloc3 jit minimal startup-notification wifi -bindist -custom-cflags -debug -gstreamer-0 -hardened (-neon) (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite {-test}" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 155,968 KiB Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 155,968 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for www-client/firefox-41.0.1 * Checking for at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-41.0.1/temp" ... [ ok ] >>> Emerging (1 of 3) www-client/links-2.12::gentoo Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/emerge", line 50, in <module> retval = emerge_main() File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 1161, in emerge_main return run_action(emerge_config) File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 3194, in run_action emerge_config.args, spinner) File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 500, in action_build retval = mergetask.merge() File "/usr/lib64/python2.7/site-packages/_emerge/Scheduler.py", line 1032, in merge rval = self._merge() File "/usr/lib64/python2.7/site-packages/_emerge/Scheduler.py", line 1434, in _merge self._main_loop() File "/usr/lib64/python2.7/site-packages/_emerge/Scheduler.py", line 1405, in _main_loop self._event_loop.iteration() File "/usr/lib64/python2.7/site-packages/portage/util/_eventloop/EventLoop.py", line 270, in iteration if not x.callback(f, event, *x.args): File "/usr/lib64/python2.7/site-packages/portage/util/_async/PipeLogger.py", line 92, in _output_handler self.wait() File "/usr/lib64/python2.7/site-packages/_emerge/AsynchronousTask.py", line 57, in wait self._wait_hook() File "/usr/lib64/python2.7/site-packages/_emerge/AsynchronousTask.py", line 175, in _wait_hook self._exit_listener_stack.pop()(self) File "/usr/lib64/python2.7/site-packages/_emerge/SpawnProcess.py", line 168, in _pipe_logger_exit self.wait() File "/usr/lib64/python2.7/site-packages/_emerge/AsynchronousTask.py", line 54, in wait self._wait() File "/usr/lib64/python2.7/site-packages/_emerge/SubProcess.py", line 100, in _wait self._waitpid_loop() File "/usr/lib64/python2.7/site-packages/_emerge/SpawnProcess.py", line 171, in _waitpid_loop SubProcess._waitpid_loop(self) File "/usr/lib64/python2.7/site-packages/_emerge/SubProcess.py", line 106, in _waitpid_loop self.pid, self._waitpid_cb) File "/usr/lib64/python2.7/site-packages/portage/util/_eventloop/EventLoop.py", line 348, in child_watch_add self._poll_child_processes() File "/usr/lib64/python2.7/site-packages/portage/util/_eventloop/EventLoop.py", line 392, in _poll_child_processes x.callback(x.pid, wait_retval[1], x.data) File "/usr/lib64/python2.7/site-packages/_emerge/SubProcess.py", line 116, in _waitpid_cb self._set_returncode((pid, condition)) File "/usr/lib64/python2.7/site-packages/_emerge/AbstractEbuildProcess.py", line 321, in _set_returncode SpawnProcess._set_returncode(self, wait_retval) File "/usr/lib64/python2.7/site-packages/_emerge/SpawnProcess.py", line 207, in _set_returncode pids = get_pids(self.cgroup) File "/usr/lib64/python2.7/site-packages/_emerge/SpawnProcess.py", line 186, in get_pids with open(os.path.join(cgroup, 'cgroup.procs'), 'r') as f: IOError: [Errno 2] No such file or directory: u'/sys/fs/cgroup/portage/www-client:links-2.12.ORArZY/cgroup.procs' It's random but I notice it only happens when multiple package atoms are passed to emerge. Portage 2.2.23 (python 2.7.10-final-0, default/linux/amd64/13.0/developer, gcc-5.2.0, glibc-2.22, 4.1.6-gentoo x86_64) ================================================================= System uname: Linux-4.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3920XM_CPU_@_2.90GHz-with-gentoo-2.2 KiB Mem: 32596404 total, 26576936 free KiB Swap: 1048572 total, 1048572 free sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [enabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.3.2::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.8.5::gentoo, 4.9.3::gentoo, 5.2.0::gentoo sys-devel/gcc-config: 1.8::local sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.22::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git+ssh://git@git.gentoo.org/repo/gentoo.git priority: -1000 local location: /home/dirtyepic/overlay sync-type: git sync-uri: git+ssh://git@github.com:dirtyepic/overlay.git masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/src/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -march=native -pipe" FEATURES="assume-digests binpkg-logs ccache cgroup clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=native -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12 V=1" 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" PORTAGE_TMPDIR="/var/tmp"
This is fixed in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ef7c3e4748bd497cc70bcb76e8b0cd217f3d0d4f
Released in portage-2.2.24