Summary: | sys-apps/portage: FEATURES=parallel-install: IOError: [Errno 2] No such file or directory: '/var/tmp/portage/app-arch/unrar-5.3.11/build-info/BINPKGMD5' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Rick Farina (Zero_Chaos) <zerochaos> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | 2.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 573774 |
Description
Rick Farina (Zero_Chaos)
2016-03-24 20:38:25 UTC
Since _record_binpkg_info is called via addExitListener, the order call in relation to other exit listeners is somewhat fragile. The issue may be similar to bug 562264 in this respect, where the problem was solved by using a CompositeTask instance was used to ensure that _sync_callback was called before exit listeners: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4205ec912aebf2e3b0bd673fcacb576b1f344329 We can certainly do the same for _record_binpkg_info. There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_578204 It can be applied as follows: mkdir -p /etc/portage/patches/sys-apps/portage wget -O /etc/portage/patches/sys-apps/portage/bug_578204.patch \ https://github.com/zmedico/portage/commit/617a78c8e9123b3df8725a2ac2cf16043895ed5b.patch emerge -1 portage This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c5c5cabc4e25922710a911833cae69ad0ee2ef7a Fixed in 2.3.0. |