Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140971 - emerge should use a file lock on PORTAGE_BUILDDIR
Summary: emerge should use a file lock on PORTAGE_BUILDDIR
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 78771 (view as bug list)
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-07-18 14:58 UTC by hariseldon78
Modified: 2006-09-24 23:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hariseldon78 2006-07-18 14:58:05 UTC
if i run 2 parallel emerge of two packages one of them crashes if they come to compile the same package.
probably this is not a bug but maybe emerge could use some sort of locking system so when it find a locked package it can just wait for the other session to end its compilation, and then continue with the other packages in list..
Comment 1 Zac Medico gentoo-dev 2006-07-18 16:42:31 UTC
This is fixed in svn r3920.
Comment 2 Zac Medico gentoo-dev 2006-07-20 14:06:27 UTC
This has been released in 2.1.1_pre3-r2.
Comment 3 Zac Medico gentoo-dev 2006-08-04 21:08:21 UTC
*** Bug 78771 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2006-09-24 20:48:13 UTC
This is more properly fixed as of svn r4521.  PORTAGE_BUILDDIR is locked throughout all of the phases now, so there's no chance that a parallel emerge process can interfere with it while another one is using it.
Comment 5 Zac Medico gentoo-dev 2006-09-24 23:14:45 UTC
This has been released in 2.1.2_pre1-r2.