Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484332 - sys-apps/portage-2.2.1: 'doins' fails when multiple files with the same name are installed in parallel
Summary: sys-apps/portage-2.2.1: 'doins' fails when multiple files with the same name ...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 484436
  Show dependency tree
Reported: 2013-09-09 12:50 UTC by Michał Górny
Modified: 2013-09-10 00:44 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-09 12:50:43 UTC
Using the distutils-r1, something like:

  python_install() {
    insinto /usr/lib/python-bin/${EPYTHON}

That's being run in parallel. It's supposed to install file with the same basename in multiple directories. Sadly, it fails like:

/usr/bin/install: nie można wykonać stat na „/tmp/portage/dev-python/docutils-0.10/temp/”: Nie ma takiego pliku ani katalogu
!!! doins: /tmp/portage/dev-python/docutils-0.10/temp/ does not exist
 * ERROR: dev-python/docutils-0.10::gentoo-cvs failed (install phase):
 *   doins failed

which clearly shows that the parallel instances collide in temporary directory. Please fix portage to either not use temporary files at all here, or to create proper unique names.
Comment 3 Zac Medico gentoo-dev 2013-09-10 00:44:14 UTC
This is fixed in 2.2.2.