Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347612 - update to dev-libs/icu-4.6_rc2 breaks emerge/portage with sqlite database
Summary: update to dev-libs/icu-4.6_rc2 breaks emerge/portage with sqlite database
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 22:47 UTC by August Hörandl
Modified: 2016-05-21 11:46 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 August Hörandl 2010-12-02 22:47:32 UTC
I have 
  portdbapi.auxdbmodule = cache.sqlite.database
in /etc/portage/modules

After the update of icu to version 4.6_rc2 emerge was broken because sqlite depends on icu

$ ldd /usr/lib64/libsqlite3.so
...
   libicui18n.so.44 => /usr/lib/libicui18n.so.44 (0x00007fc884ceb000)
   libicuuc.so.44 => /usr/lib/libicuuc.so.44 (0x00007fc8849a0000)
...

I had to copy all libicu*44 files from another gentoo installation to get a working emerge again.
After a revdep-rebuild everthing was ok.

The next update tried to downgrade icu to version 4.4 again (because of chromium-bin). This would have caused another another broken emerge, but i didn't delete the old so the collision saved my day.



Reproducible: Always

Steps to Reproduce:
1. set portdbapi.auxdbmodule = cache.sqlite.database
1a. save libicu*44 files
2. upgrade to icu 4.6
3. emerge is broken
3a. copy saved files back to recover




The old version of the lib (libicu*44) should be kept and only deleted after
a revdep-rebuild --library ...

This bug is nearly a duplicate of #347175 and #347147
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-09 19:09:53 UTC
Or you temporarily disable that module, run `emerge --metadata' and then you run revdep-rebuild. But maybe there's a case here to use preserve_old_lib().
Comment 2 Dmitri Pogosian 2011-01-13 05:58:51 UTC
Same here, updated icu and is left with borken emerge.  Searching for another machine with libicu*44 to recover
Comment 3 Bartosz Brachaczek 2011-05-26 14:41:32 UTC
I hit this one again after update to icu-4.8_rc1. I think that preserve_old_lib() could be very helpful here.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2013-03-16 12:04:34 UTC
I guess we can close this now that preserved libs is in stable portage.