Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261835 - portage-2.2_rc23 fails due to parallel-fetch
Summary: portage-2.2_rc23 fails due to parallel-fetch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 261959
  Show dependency tree
 
Reported: 2009-03-09 09:40 UTC by Christoph Gysin
Modified: 2009-03-13 21:19 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.log,2.42 KB, text/plain)
2009-03-09 09:42 UTC, Christoph Gysin
Details
emerge log (emerge-gnupg.log,26.50 KB, text/plain)
2009-03-09 09:42 UTC, Christoph Gysin
Details
emerge log with --debug (emerge-debug-gnupg.log,41.00 KB, text/plain)
2009-03-09 09:43 UTC, Christoph Gysin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Gysin 2009-03-09 09:40:39 UTC
I stumbled upon a weird behavior I coudn't completely trace back to where it comes from. I'm not too familiar with the internals of portage, maybe someone here can point me in the right direction.

When installing into a different ROOT, portage needs to install DEPENDS into the local ROOT to satisfy build dependencies. If a package happens to be the first to get merged, and is also going to be merged to ROOT, and the source tarball is already in distfiles, the first package will fail (Sorry if that isn't very well formulated).

It seems to be caused by parallel-fetch somehow. If I delete the sourcefile (libgcrypt-1.4.0.tar.bz2 in this example) everything works as expected.

I had the same issue with a couple of other packages as well.

Please see the following logs for more details.
Comment 1 Christoph Gysin 2009-03-09 09:42:01 UTC
Created attachment 184428 [details]
emerge --info

ROOT=/home/build/work/components/gpg PORTAGE_CONFIGROOT=/home/build/config emerge --info > emerge-info.log
Comment 2 Christoph Gysin 2009-03-09 09:42:46 UTC
Created attachment 184430 [details]
emerge log

ROOT=/home/build/work/components/gpg PORTAGE_CONFIGROOT=/home/build/config emerge -vtN -k app-crypt/gnupg > emerge-gnupg.log 2>&1
Comment 3 Christoph Gysin 2009-03-09 09:43:21 UTC
Created attachment 184431 [details]
emerge log with --debug

ROOT=/home/build/work/components/gpg PORTAGE_CONFIGROOT=/home/build/config emerge --debug -vtN -k app-crypt/gnupg > emerge-debug-gnupg.log 2>&1
Comment 4 Christoph Gysin 2009-03-09 09:46:26 UTC
Oh, and if I run the whole commandline with FEATURES=-parallel-fetch, everything works as expected.
Comment 5 Zac Medico gentoo-dev 2009-03-09 19:25:36 UTC
This is fixed in svn r12558.
Comment 6 Zac Medico gentoo-dev 2009-03-13 21:19:34 UTC
This is fixed in 2.1.6.8 and 2.2_rc24.