Emerge blows up trying to update systemd-235-r1 to systemd-236: $ sudo emerge -q1 systemd [ snip ] >>> Emerging (1 of 1) sys-apps/systemd-236::gentoo >>> Installing (1 of 1) sys-apps/systemd-236::gentoo >>> Failed to install sys-apps/systemd-236, Log file: [ snip ] Running custom install script '/bin/sh -c mkdir -p $DESTDIR//var/lib/systemd' Running custom install script '/bin/sh -c touch $DESTDIR/usr' * Final size of build directory: 303020 KiB (295.9 MiB) * Final size of installed tree: 1680 KiB ( 1.6 MiB) Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/portage/dbapi/_MergeProcess.py", line 235, in _spawn prev_mtimes=self.prev_mtimes, counter=counter) File "/usr/lib64/python3.5/site-packages/portage/dbapi/vartree.py", line 1704, in wrapper return f(self, *args, **kwargs) File "/usr/lib64/python3.5/site-packages/portage/dbapi/vartree.py", line 5150, in merge counter=counter) File "/usr/lib64/python3.5/site-packages/portage/dbapi/vartree.py", line 3965, in treewalk file_mode = os.lstat(fpath).st_mode File "/usr/lib64/python3.5/site-packages/portage/__init__.py", line 250, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/sys-apps/systemd-236/image/usr/share/man/man3/sd_journal_seek_head.3' !!! existing preserved libs found Happens every time with systemd-236, but haven't seen it with other packages. Reproducible: Always
Created attachment 510314 [details] emerge --info systemd
Created attachment 510316 [details] build.log (tar/gz)
This should not happen, so it looks like there's a problem with the filesystem you have mounted on /var/tmp/portage.
*** This bug has been marked as a duplicate of bug 641262 ***