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

Bug 15426

Summary: portage overwriting things in digest
Product: Portage Development Reporter: Mark Guertin <mguertin>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: major CC: mholzer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Guertin 2003-02-10 04:29:12 UTC
When you run ebuild foo.ebuild digest, it overwrites anything that may have been
in there from other arches

Reproducible: Always
Steps to Reproduce:
1. take a pkg with diff SRC_URI for arches, xfree-drm is good example
2. ebuild xfree-drm-4.2.99.4-r1.ebuild digest
3. it overwrites with only your aches digest into



Expected Results:  
it appends to any existing MD5 lines there
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-17 04:47:05 UTC
Portage cannot deal with SRC_URIs like that...
Portage cannot account for variables wrapped in bash conditionals.

You'll have to just deal with that one by hand as the ebuild is
definately illegal from a portage standpoint. The cache will
never be updated, because the bash conditionals aren't part of
portage. The metadata change will _always_ be wrong for it on
some platforms.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-10-14 11:25:10 UTC
does FEATURES="cvs" solve this problem ?
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-11-24 23:15:25 UTC
no answer means yes