Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645426 - sys-apps/systemd-236-r1 failed to pack binary package
Summary: sys-apps/systemd-236-r1 failed to pack binary package
Status: RESOLVED DUPLICATE of bug 641262
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-22 23:52 UTC by Michael Jones
Modified: 2018-01-23 18:17 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,218.42 KB, application/gzip)
2018-01-22 23:52 UTC, Michael Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2018-01-22 23:52:09 UTC
Created attachment 516018 [details]
build.log.gz

I've had the same problem happen on multiple machines.

Rebuilding it on some of them fixes the problem, others, such as a machine that's currently very heavily loaded running virtual machines, fails. Could it be a race condition somehow?






installsources: rsyncing source files
rsync: link_stat "/var/tmp/portage/sys-apps/systemd-236-r5/work/var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/build/x86_64-pc-linux-gnu/32/libgcc" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]
ecompressdir: xz  /usr/share/doc
ecompressdir: xz  /usr/share/man
tar: ./usr/share/man/man3/sd_journal_seek_head.3: File removed before we read it
 * ERROR: sys-apps/systemd-236-r5::gentoo failed (package phase):
 *   failed to pack binary package: '/usr/portage-packages/sys-apps/systemd-236-r5.tbz2.11451'
 *
 * Call stack:
 *       misc-functions.sh, line 666:  Called __dyn_package
 *       misc-functions.sh, line 546:  Called assert 'failed to pack binary package: '/usr/portage-packages/sys-apps/systemd-236-r5.tbz2.11451''
 *   isolated-functions.sh, line  16:  Called die
 * The specific snippet of code:
 *              [[ $x -eq 0 ]] || die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-apps/systemd-236-r5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/systemd-236-r5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/systemd-236-r5/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/systemd-236-r5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/systemd-236-r5/temp'
 * S: '/var/tmp/portage/sys-apps/systemd-236-r5/work/systemd-236'
Comment 1 Mike Gilbert gentoo-dev 2018-01-23 17:05:30 UTC
This looks a lot like bug 641262. Are you building on btrfs with a 4.14.x series kernel?
Comment 2 Michael Jones 2018-01-23 18:17:44 UTC
Yep, yes to both, and this looks like a duplicate report.

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