Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2857 - filename collisions
Summary: filename collisions
Status: RESOLVED DUPLICATE of bug 28228
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3049
  Show dependency tree
 
Reported: 2002-05-19 20:11 UTC by Paul Thompson
Modified: 2011-10-30 22:19 UTC (History)
3 users (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 Paul Thompson 2002-05-19 20:11:03 UTC
This type of problem has already bitten me once before.
Perhaps a policy or mechanism should be created to deal with
this sort of problem?

I think the rpm-4.0.4.ebuild installed a patched version of
libpopt. rpm-4.0.4-r1.ebuild simply has a dependancy on a
certain version of libpopt, which is a separate ebuild
package. When rpm-4.0.4 was cleaned, libpopt bit the dust,
breaking things that depended on it. (like rsync)

So, my thinking is that libpopt was installed as a package,
rpm-4.0.4 overwrote it with its custom libpopt, and since
rpm-4.0.4-r1 doesnt contain libpopt, libpopt got removed
when the older package was unmerged.

Paul
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-05-26 12:41:25 UTC
Yes, that must the be the source of the problem. Unfortunately I see no good      way to deal with it without adding major new functinality to portage. This   isn't a common problem but a good case might be made in favour of a generic solution. Maybe something on the order of REMERGE="popt" in the rpm ebuild - you get the idea.    A feature proposition might be made, but unfortunately I don't deal in potrage features and  don't have any bright ideas about this at present. If you do, they'd be welcome - please open a new bug with any submision, or post on the mailing lists or even ask a dev on irc. A bug about it shouldn't be my property, however, so I'm reassigning it back to bug-wranglers, whence it will probably go to drobbins as a portage feature proposition. Please flesh it out if you can. 
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-26 14:05:43 UTC
I Think that there might be a second resolution to this:

Check the consistency of the "DEPEND" packages.

If any of those packages are "broken" ie, the .so's have the wrong md5 sum or
other such thing, then rebuild them, if not, don't rebuild.

This will add a sort of "self-healing" feature to portage, instead of blindly
forcing a rebuild.

Though, a blind force rebuild is a good thing in several cases, fex. "We need
python with expat" but depends on Expat + python doesn't rebuild python with
expat.... because python is already there.


so this might be seen as a partial solution.


Comment 3 SpanKY gentoo-dev 2003-01-08 12:27:23 UTC
a simple check + warn might be useful as a first step ...
of course a rewrite of the way CONTENTS is stored would be required, i think it
might be too slow to parse all the CONTENTS files when merging a new package
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-09-21 06:33:11 UTC

*** This bug has been marked as a duplicate of 28228 ***