Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115016 - ebuild digest fails if binaries from different architectures have the same name
Summary: ebuild digest fails if binaries from different architectures have the same name
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 12:31 UTC by Tomas Carnecky
Modified: 2005-12-09 13:04 UTC (History)
0 users

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 Tomas Carnecky 2005-12-09 12:31:23 UTC
my src_uri looks like this:

SRC_URI="x86? ( ftp://ftp.perforce.com/perforce/r05.2/bin.linux24x86/p4d )
   amd64? ( ftp://ftp.perforce.com/perforce/r05.2/bin.linux26amd64/p4d )"

ebuild digest fails because it fetches the first file (p4d for x86), makes the
MD5 checksum, but it doesn't fetch the second because it thinks it's already there.

This causes problems in our multi-architecture environment where we have one
shared distfiles directory. 

Is there a way to say in the SRC_URI: download the am64 binary to p4d.amd64 and
the x86 binary to p4d.x86 so we can then in src_unpack copy the right file to
the destination directory?

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-09 12:40:32 UTC
Ask upstream to use less sucky naming scheme, the same is valid for unversioned
tarballs, they break digests as soon as they are updated...
Comment 2 SpanKY gentoo-dev 2005-12-09 13:04:48 UTC
no, there isnt

as Jakub said, ask upstream to be less stupid ;)