Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild [solved: it is a bug]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Wed Jul 26, 2006 6:44 pm    Post subject: revdep-rebuild [solved: it is a bug] Reply with quote

I have the following problem with revdep-rebuild. Every time I run it it installs gcc new. The broken links aren't fixed after revdep-rebuild is finished and it does only emerge gcc. How can I fix this broken links? And I don't know which software wants to have kde3.4 I have KDE 3.5.2 installed. The output is the following:

Quote:

Checking dynamic linking consistency...
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la)
broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkio.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkdeui.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkdesu.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkwalletclient.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkdecore.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libDCOP.la)
broken /usr/lib/libk3bcore.la (requires /usr/kde/3.4/lib/libkdefx.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkio.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkdeui.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkdesu.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkwalletclient.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkdecore.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libDCOP.la)
broken /usr/lib/libk3bplugin.la (requires /usr/kde/3.4/lib/libkdefx.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkio.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkdeui.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkdesu.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkwalletclient.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkdecore.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libDCOP.la)
broken /usr/lib/libk3bproject.la (requires /usr/kde/3.4/lib/libkdefx.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkio.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkdeui.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkdesu.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkwalletclient.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkdecore.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libDCOP.la)
broken /usr/lib/libk3btools.la (requires /usr/kde/3.4/lib/libkdefx.la)
broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavcodec.la)
done.
(/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
(/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot =sys-devel/gcc-3.4.6-r1


Last edited by The_P on Thu Jul 27, 2006 10:45 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Wed Jul 26, 2006 6:56 pm    Post subject: Reply with quote

The_P,

avifile-0.7 is an orphaned package. Its installed but no longer used. The ebuid had been removed from portage too, so it cannot be rebuild.
You should remove it with
Code:
emerge -C avfile


Most of the others are kde related. Try the following ...
Code:
equery belongs /usr/lib/libk3bcore.la
and rebuild the package
Code:
emerge --oneshot ....
taht owns the file.
Likewise with /usr/lib/libk3bplugin.la, /usr/lib/libk3bproject.la ...
I don't have kde, so I can't look them uo for you
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Thu Jul 27, 2006 6:17 am    Post subject: Reply with quote

I don't have avifile on my system. Can I just delete the files? And for all the other files equery belongs .... gives no result. Only the files belonging to gcc are detected.
Back to top
View user's profile Send private message
Sohail
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 118
Location: Pakistan.

PostPosted: Thu Jul 27, 2006 7:26 am    Post subject: Re: revdep-rebuild Reply with quote

The_P wrote:

Quote:

Checking dynamic linking consistency...
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavcodec.la)


This is what I should've done.

Dont delete them yet move them out of the search path of the revdep-rebuild like to your home directory may be. Then do the revdep-rebuild again. And when all issues are solved then check the performance of the system if things are as they should be then delete them.

I would also suggest that you read about -X switch of the revdep-rebuild.
Back to top
View user's profile Send private message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Thu Jul 27, 2006 9:40 am    Post subject: Reply with quote

So I made a test I took all files which were marked as broken to a different directory. And run revdep-rebuild. Then I did a emerge --oneshot gcc. After this I made a revdep-rebuild. It still wants to emerge gcc. The file /usr/lib/libgcj.la which revdep-rebuild wants to have is present but in the directory /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/. How can I tell revdep-rebuild that the file is in an other directory? This is the output:

Quote:

revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la)
done.
(/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
(/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot =sys-devel/gcc-3.4.6-r1
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Thu Jul 27, 2006 9:47 am    Post subject: Reply with quote

The_P,

The dirty hack is to make the following symbolic link :-
Code:
ln -s  /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.la /usr/lib/libgcj.la

This tells the system that to find /usr/lib/libgcj.la, use usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.la

Its a bug - check bugs.gentoo.org to see if its already ben filed and open a new one if not.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Thu Jul 27, 2006 10:44 am    Post subject: Reply with quote

There is already a bug: https://bugs.gentoo.org/show_bug.cgi?id=125728.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7825

PostPosted: Sun Feb 18, 2007 10:12 am    Post subject: Reply with quote

This has been discussed in topic: "Persistent revdep-rebuild issues: gcc and libgcj.la".

Moved from Portage & Programming to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum