Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24051 - Repoman is unable to handle multiple digests in a unique situation
Summary: Repoman is unable to handle multiple digests in a unique situation
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 08:46 UTC by Michael Cummings (RETIRED)
Modified: 2005-02-27 22:58 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 Michael Cummings (RETIRED) gentoo-dev 2003-07-07 08:46:22 UTC
I've come across a situation where repoman is unable to handle multiple 
digests. In the perl tree, we have a module called math-pari that requires a 
copy of the source of app-sci/pari to be in a parallel directory to the make 
directory.

However, we offer multiple versions of app-sci/pari, and the perl module itself 
is indifferent to which version you have, so long as the source it is looking 
at matches the version you have installed. To counter this, I set the math-pari 
ebuild to check "best-version" of the current install of app-sci/pari and use 
its source. I did not want to force users to install a particular version of 
pari (there is no sense in it), so this was the best work around I could come 
up with. However, in order to keep portage content, I needed multiple digests 
and Manifest entries for the possible app-sci/pari tarballs that the user might 
use.

Which is where repoman complains. It marks the extraneous digests as stray 
digests (even though they're not) and requried that I manually cvs commit the 
files.

I'm passing this on for future development/bug purposes, though I'm open if 
there is a better solution that neither forces the user to upgrade their 
install of app-sci/pari and still makes repoman happy. 

Thanks!

Mike

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-10-09 12:31:11 UTC
re-assigning to puggy as he is the main repoman guy now. 
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-12-28 22:37:17 UTC
This is not a repoman issue. It's a core system issue.
digests are supposed to have everything you list as SRC_URI
and only check those packages.

The only proper way to accomplish this is to set up pairings
of the packages and use the source code that is defined as a
SRC_URI.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2005-02-27 22:58:11 UTC
Ka thunk (closing).