Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318367 - Failed to install sys-libs/db-4.8.30 "NOT merged due to file collisions"
Summary: Failed to install sys-libs/db-4.8.30 "NOT merged due to file collisions"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 318369 318371 318375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 05:26 UTC by blackdream
Modified: 2010-08-13 16:59 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,303.32 KB, text/plain)
2010-05-04 05:27 UTC, blackdream
Details
emerge --info =sys-libs/db-4.8.30 (emerge--info,4.14 KB, text/plain)
2010-05-04 05:28 UTC, blackdream
Details
Trivial but tested patch (db.diff,315 bytes, patch)
2010-05-04 07:31 UTC, Olivier Galibert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description blackdream 2010-05-04 05:26:06 UTC
The error informations:

Package 'sys-libs/db-4.8.30' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 blackdream 2010-05-04 05:27:09 UTC
Created attachment 230225 [details]
build.log
Comment 2 blackdream 2010-05-04 05:28:26 UTC
Created attachment 230227 [details]
emerge --info =sys-libs/db-4.8.30
Comment 3 blackdream 2010-05-04 05:43:12 UTC
emerge -pqv =sys-libs/db-4.8.30

[ebuild  NS   ] sys-libs/db-4.8.30 [4.7.25_p4] USE="-doc -examples -java -nocxx -tcl -test" 
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-04 06:22:49 UTC
*** Bug 318369 has been marked as a duplicate of this bug. ***
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-05-04 06:23:02 UTC
*** Bug 318371 has been marked as a duplicate of this bug. ***
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2010-05-04 07:16:10 UTC
Quoting in db.eclass broke it:

mv: cannot move `/var/tmp/portage/sys-libs/db-4.7.25_p4/image//usr/bin/db_archive' to `/var/tmp/portage/sys-libs/db-4.7.25_p4/image//usr/bin\\/db4.7_archive': No such file or directory
Comment 7 Olivier Galibert 2010-05-04 07:26:02 UTC
*** Bug 318375 has been marked as a duplicate of this bug. ***
Comment 8 Olivier Galibert 2010-05-04 07:31:29 UTC
Created attachment 230235 [details, diff]
Trivial but tested patch

People will have to re-emerge 4.7 and 4.8 to fix the consequences of the bug. Specifically, if /usr/bin/db_* matches anything you need to re-emerge.
Comment 9 Matthias Fulz 2010-05-04 07:41:41 UTC
sorry for stupid question, should I apply this patch to all needed db-versions?
Comment 10 blackdream 2010-05-04 07:48:15 UTC
I mask all sys-libs/db-4.8.* packages,and type "revdep-rebuild" to solve broken packages.
Comment 11 Ben L. 2010-05-04 08:30:42 UTC
(In reply to comment #8)
> Created an attachment (id=230235) [details]
> Trivial but tested patch
> 
> People will have to re-emerge 4.7 and 4.8 to fix the consequences of the bug.
> Specifically, if /usr/bin/db_* matches anything you need to re-emerge.
> 

works for me :)
Comment 12 Matthias Fulz 2010-05-04 09:09:51 UTC
(In reply to comment #6)
> Quoting in db.eclass broke it:
> 
> mv: cannot move
> `/var/tmp/portage/sys-libs/db-4.7.25_p4/image//usr/bin/db_archive' to
> `/var/tmp/portage/sys-libs/db-4.7.25_p4/image//usr/bin\\/db4.7_archive': No
> such file or directory
> 

Perfect working - THX
Comment 13 Matthias Fulz 2010-05-04 09:10:54 UTC
(In reply to comment #8)
> Created an attachment (id=230235) [details]
> Trivial but tested patch
> 
> People will have to re-emerge 4.7 and 4.8 to fix the consequences of the bug.
> Specifically, if /usr/bin/db_* matches anything you need to re-emerge.
> 

Sorry comment12 was wrong quoted....

This patch works for me
Comment 14 Torsten Veller (RETIRED) gentoo-dev 2010-05-04 14:41:28 UTC
Fixed in the tree and available via rsync mirrors.

Do we have to take further action for users who installed sys-libs/db using the borked eclass?
Comment 15 Olivier Galibert 2010-05-04 16:54:14 UTC
> Do we have to take further action for users who installed sys-libs/db using the
> borked eclass?

Not sure.  They have the db_* commands instead of the db4.7_* and/or db4.8_* commands, so if something looks for them it will miss them.  They'll go away when updating to a subsequent version in the same slot.  The libraries names are ok though, so I'm not convinced anybody really cares.
Comment 16 blackdream 2010-05-04 16:56:52 UTC
(In reply to comment #15)
> > Do we have to take further action for users who installed sys-libs/db using the
> > borked eclass?
> 
> Not sure.  They have the db_* commands instead of the db4.7_* and/or db4.8_*
> commands, so if something looks for them it will miss them.  They'll go away
> when updating to a subsequent version in the same slot.  The libraries names
> are ok though, so I'm not convinced anybody really cares.
> 

just sync now.
Comment 17 Matthias Fulz 2010-05-04 19:42:17 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > > Do we have to take further action for users who installed sys-libs/db using the
> > > borked eclass?
> > 
> > Not sure.  They have the db_* commands instead of the db4.7_* and/or db4.8_*
> > commands, so if something looks for them it will miss them.  They'll go away
> > when updating to a subsequent version in the same slot.  The libraries names
> > are ok though, so I'm not convinced anybody really cares.
> > 
> 
> just sync now.
> 

THX all is working fine again, I'm installing my new Laptop atm and had no problems with different slots for sys-libs/db
Comment 18 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-05-10 21:05:41 UTC
No more problems reported, closing now.
Comment 19 Adam Felson 2010-08-12 15:22:02 UTC
db-4.8.30 still collides with db-4.7.25_p4

Reemerged 4.7.25_p4, db.4.8.30 still failed with collisions.
...
 * 	/usr/docs/java/style.css
 * 	/usr/docs/license/license_db.html
 * 	/usr/docs/porting/BDB-Porting-Guide.pdf
 * 	/usr/docs/porting/buildtarget.html
 * 	/usr/docs/porting/certport.html
 * 	/usr/docs/porting/gettingStarted.css
 * 	/usr/docs/porting/index.html
 * 	/usr/docs/porting/introduction.html
 * 	/usr/docs/porting/modifytest.html
 * 	/usr/docs/porting/modscope.html
 * 	/usr/docs/porting/newbinary.html
 * 	/usr/docs/porting/portprocess.html
 * 	/usr/docs/porting/preface.html
 * 	/usr/docs/porting/sourceintegrate.html
 * 	/usr/docs/porting/testport.html
 * 	/usr/docs/porting/testreview.html
 * 	/usr/docs/porting/testrun.html
 * 
 * Package 'sys-libs/db-4.8.30' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.


This bug needs to be reopened.
Comment 20 Adam Felson 2010-08-13 02:19:29 UTC
db-4.8.30 still collides with db-4.7.25_p4

Reemerged 4.7.25_p4, db.4.8.30 still failed with collisions.
...
 * 	/usr/docs/java/style.css
 * 	/usr/docs/license/license_db.html
 * 	/usr/docs/porting/BDB-Porting-Guide.pdf
 * 	/usr/docs/porting/buildtarget.html
 * 	/usr/docs/porting/certport.html
 * 	/usr/docs/porting/gettingStarted.css
 * 	/usr/docs/porting/index.html
 * 	/usr/docs/porting/introduction.html
 * 	/usr/docs/porting/modifytest.html
 * 	/usr/docs/porting/modscope.html
 * 	/usr/docs/porting/newbinary.html
 * 	/usr/docs/porting/portprocess.html
 * 	/usr/docs/porting/preface.html
 * 	/usr/docs/porting/sourceintegrate.html
 * 	/usr/docs/porting/testport.html
 * 	/usr/docs/porting/testreview.html
 * 	/usr/docs/porting/testrun.html
 * 
 * Package 'sys-libs/db-4.8.30' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.


This bug needs to be reopened.
Comment 21 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-13 16:59:06 UTC
adamf10@pobox.com: you posted the EXACT same comment yesterday.
This is not the same bug, it was for collisions on the binaries, and you have documentation that is colliding. Please open a new bug.

Something is wrong with your builds I think, as they don't collide here:
$ equery f =sys-libs/db-4.8* |grep style.css
/usr/share/doc/db-4.8.30/html/java/style.css
$ equery f =sys-libs/db-4.7* |grep style.css
/usr/share/doc/db-4.7.25_p4/html/java/style.css