Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15426 - portage overwriting things in digest
Summary: portage overwriting things in digest
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 04:29 UTC by Mark Guertin
Modified: 2011-10-30 22:21 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 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