Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192623 - revdep-rebuild fails on expat upgrade
Summary: revdep-rebuild fails on expat upgrade
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 241198
  Show dependency tree
 
Reported: 2007-09-15 21:18 UTC by Mladen Stefanov
Modified: 2008-12-02 14:03 UTC (History)
8 users (show)

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


Attachments
Build log of kde-base/kdelibs-3.5.7-r2 (build.log,97.14 KB, text/plain)
2007-09-15 21:20 UTC, Mladen Stefanov
Details
emerge --info (emerge.info.txt,3.00 KB, text/plain)
2007-09-15 21:20 UTC, Mladen Stefanov
Details
.revdep-rebuild_libexpat.so.0* files (revdep_files.tgz,81.75 KB, application/octet-stream)
2007-09-15 21:58 UTC, Mladen Stefanov
Details
console output of "revdep-rebuild -X --library libexpat.so.0" (revdep.console.txt,132.46 KB, text/plain)
2007-09-15 21:59 UTC, Mladen Stefanov
Details
emerge --info after upgrading gentoolkit (emerge.info.txt,3.00 KB, text/plain)
2007-09-15 22:00 UTC, Mladen Stefanov
Details
qt 3.3.8-r4 build.log (qt.build.log,441.12 KB, text/plain)
2007-09-15 22:09 UTC, Mladen Stefanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mladen Stefanov 2007-09-15 21:18:58 UTC
Upgrading dev-libs/expat from 1.95.* to 2.0.1 removes libexpat.so.0 and message to run "revdep-rebuild -X --library libexpat.so.0" is displayed. Reemerging kdelibs however fails with error:
../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false )
../dcop/dcopidl/dcopidl: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

build.log and emerge --info are attached

expat ebuild should be made slotted?!
For the time being I downgraded expat to 1.95.8 as lot of applications depend on  libexpat.so.0
Comment 1 Mladen Stefanov 2007-09-15 21:20:12 UTC
Created attachment 131004 [details]
Build log of kde-base/kdelibs-3.5.7-r2
Comment 2 Mladen Stefanov 2007-09-15 21:20:37 UTC
Created attachment 131005 [details]
emerge --info
Comment 3 Mladen Stefanov 2007-09-15 21:21:34 UTC
The same problem occurs with kde-base/kdelibs-3.5.7-r3
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 21:21:57 UTC
Not a kdelibs bug. If you have issues with revdep-rebuild, you need to attach all /root/.revdep-rebuild* files here, its console output and emerge --info.

I'd suggest trying latest gentoolkit first (0.2.4_pre7 ATM).
Comment 5 Mladen Stefanov 2007-09-15 21:58:32 UTC
Created attachment 131008 [details]
.revdep-rebuild_libexpat.so.0* files
Comment 6 Mladen Stefanov 2007-09-15 21:59:19 UTC
Created attachment 131010 [details]
console output of "revdep-rebuild -X --library libexpat.so.0"
Comment 7 Mladen Stefanov 2007-09-15 22:00:00 UTC
Created attachment 131012 [details]
emerge --info after upgrading gentoolkit
Comment 8 Mladen Stefanov 2007-09-15 22:06:10 UTC
I am not saying it is kdelibs bug. Just now reemerging qt-3.3.8 from revdep-rebuild failed too. It was the first package from 191. I am attaching the build.log
Comment 9 Mladen Stefanov 2007-09-15 22:09:20 UTC
Created attachment 131015 [details]
qt 3.3.8-r4 build.log
Comment 10 Nuno Sucena Almeida 2007-10-04 02:39:21 UTC
USE="-doc" emerge -av media-libs/fontconfig

revdep-rebuild -X --library libexpat.so.0
Comment 11 Mladen Stefanov 2007-10-04 19:49:06 UTC
Fontconfig is already emerged this way:

batman ~ # emerge -pv media-libs/fontconfig

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/fontconfig-2.4.2  USE="xml -doc" 1,249 kB

Total: 1 package (1 reinstall), Size of downloads: 1,249 kB
Comment 12 Paul de Vries 2007-10-19 22:00:38 UTC
This seems related:

After emerging many programs (did not sync for 6 months) I encountered major problems. Many programs did not work any more. A revdep-rebuild showed tons of programs needed to be rebuild because of libexpat. I could not rebuild different programs, including hal (which failed during econf). After going back to dev-libs/expat-1.95.8 from dev-libs/expat-2.0.1 my system was stable again.

It is clear that expat-2.0.1 on my system caused a lot of problems. I could not open a new terminal, ooffice crashed and emerge (econf) failed on some packages.
Comment 13 Mladen Stefanov 2007-10-20 09:21:31 UTC
(In reply to comment #12)
> This seems related:
> 
> After emerging many programs (did not sync for 6 months) I encountered major
> problems. Many programs did not work any more. A revdep-rebuild showed tons of
> programs needed to be rebuild because of libexpat. I could not rebuild
> different programs, including hal (which failed during econf). After going back
> to dev-libs/expat-1.95.8 from dev-libs/expat-2.0.1 my system was stable again.
> 
> It is clear that expat-2.0.1 on my system caused a lot of problems. I could not
> open a new terminal, ooffice crashed and emerge (econf) failed on some
> packages.
> 

Yes, this is the exact problem, that I have. I seriously doubt that, this is revdep-rebuild bug, but some guys here thinks otherwise. Anyway, I doubt this will be fixed any time soon (if at all), so I gave up and masked >=dev-libs/expat-2
Comment 14 michael@smith-li.com 2008-11-29 03:49:59 UTC
Is this still a problem for anyone, a year later?
Comment 15 Mladen Stefanov 2008-12-02 14:03:39 UTC
(In reply to comment #14)
> Is this still a problem for anyone, a year later?
> 

Several months ago I switched from portage to paludis. Later I upgraded to KDE 3.5.10 and installed in parallel KDE 4.1. At some point I needed dev-libs/expat>=2.0(dependency for some app) I tried to upgrade and it worked, but I can't be sure that the problem is "fixed" properly. 

If no one else has something to add we may close the bug and open new one in case the problem emerges again.