Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641264 - portage-2.3.19 FileNotFoundError from dbapi when emerging systemd
Summary: portage-2.3.19 FileNotFoundError from dbapi when emerging systemd
Status: RESOLVED DUPLICATE of bug 641262
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-16 10:51 UTC by Märt Bakhoff
Modified: 2017-12-18 23:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info systemd (emerge-info.log,5.49 KB, text/plain)
2017-12-16 10:52 UTC, Märt Bakhoff
Details
build.log (tar/gz) (build.log.tgz,158.20 KB, application/x-compressed-tar)
2017-12-16 10:54 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2017-12-16 10:51:44 UTC
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
Comment 1 Märt Bakhoff 2017-12-16 10:52:19 UTC
Created attachment 510314 [details]
emerge --info systemd
Comment 2 Märt Bakhoff 2017-12-16 10:54:02 UTC
Created attachment 510316 [details]
build.log (tar/gz)
Comment 3 Zac Medico gentoo-dev 2017-12-16 20:47:30 UTC
This should not happen, so it looks like there's a problem with the filesystem you have mounted on /var/tmp/portage.
Comment 4 Zac Medico gentoo-dev 2017-12-18 23:00:40 UTC

*** This bug has been marked as a duplicate of bug 641262 ***