Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484730

Summary: emerge --sync with empty /usr/portage fails on sys-apps/portage-2.2.2
Product: Portage Development Reporter: Jan Pobrislo <ccx>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: bug, esigra, zerochaos
Priority: Normal Keywords: InVCS, REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=484950
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240187, 484436    

Description Jan Pobrislo 2013-09-13 08:59:49 UTC
When the /usr/portage directory is missing and users uses --sync for first time the portage is pulled as expected. However when the directory is there but empty it fails to fetch it with no relevant error message and a returncode of 0.
This works with sys-apps/portage-2.1.12.2, so it's a regression in 2.2

Reproducible: Always
Comment 2 Zac Medico gentoo-dev 2013-09-15 11:27:55 UTC
This is fixed in 2.2.5.
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-07 14:01:32 UTC
*** Bug 487156 has been marked as a duplicate of this bug. ***
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-07 14:02:25 UTC
respectfully, this isn't "RESOLVED" until a stable portage version has the fix.  Our stages are shipping a broken portage.
Comment 5 Sebastian Luther (few) 2013-11-27 06:28:41 UTC
2.2.7 is stable -> FIXED