Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fix libs with revdep-rebuild does not work [solved]
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
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Wed Sep 06, 2006 8:33 am    Post subject: fix libs with revdep-rebuild does not work [solved] Reply with quote

Hi,

I updated the last week gcc. A few days ago I did a revdep-rebuild to see if there a some broken dependencies. And there are

Code:
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/divx4.la (requires /-lstdc++)
  broken /usr/lib/avifile-0.7/divx4.la (requires /-lstdc++)
  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/4.1.1/libgij.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/libqavm.la (requires /usr/lib/libaviplayavformat.la)
  broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavcodec.la)
  broken /usr/lib/libtunepimp.la (requires /-lstdc++)
  broken /usr/lib/libtunepimp.la (requires /-lstdc++)
  broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavformat.la)
  broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavcodec.la)
  broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/libdv.la)
  broken /usr/lib/xmms/Input/libmp4.la (requires /usr/lib/libfaad.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)


The system wants to recompile gcc to solve its broken dependencies
Code:
All prepared. Starting rebuild...
emerge --oneshot  =sys-devel/gcc-4.1.1


But it doesn't work although the emerge process ended successfully.

I tried to find where the lib belongs to:
Code:
# equery b /usr/lib/libgcj.la
[ Searching for file(s) /usr/lib/libgcj.la in *... ]

But the result is that ther is no package for this lib.

Does anyone know what is the cause of this?

Thanx
menschmeier
_________________
Please notice the back of this message.


Last edited by menschmeier on Tue Sep 19, 2006 10:56 am; edited 1 time in total
Back to top
View user's profile Send private message
zAfi
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 220
Location: Austria

PostPosted: Wed Sep 06, 2006 9:15 pm    Post subject: Reply with quote

I know, this may be a stupid suggestion, but did you follow the guide @ http://www.gentoo.org/doc/en/gcc-upgrading.xml??
Especially this part:
Code:
# emerge -uav gcc

(Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile

If you upgraded from gcc 3 to 4 (e.g. from 3.4.6 to 4.1.1 in this
example) you will have to run fix_libtool_files.sh manually
# fix_libtool_files.sh 3.4.6

(Rebuilding libtool)
# emerge --oneshot -av libtool

_________________
Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Thu Sep 07, 2006 5:21 am    Post subject: Reply with quote

Hi,

I think so, but I upgraded gcc before it came officially stable - one or two days before ... so I am not sure abbout reading this doc a this time. Maybe I didn't emerged libtool before emerging system. So I will emerge libtool again and system too.

Thanx
menschmeier
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Thu Sep 07, 2006 12:16 pm    Post subject: Reply with quote

Hi,

I emerge libtool and system again ... no success ... ????
This wasn't the problem - unfortunately.

menschmeier
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Thu Sep 07, 2006 12:50 pm    Post subject: Reply with quote

Hi,

I found on an other thread the "solution" - using a symlink ... :roll:

I did so .... but I don not understand what went wrong ...

menschmeier

PS: in my opion it is not really solved, so I will not mark this thread so.
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Thu Sep 14, 2006 6:27 pm    Post subject: Reply with quote

Hi

Quote:
I found on an other thread the "solution" - using a symlink ... :roll:


From where do where did you simlink?

Thanks
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Fri Sep 15, 2006 6:19 am    Post subject: Reply with quote

Hi hitachi,

I linked this
Quote:
/usr/lib/libgcj.la -> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcj.la
because revdep-rebuild tell me that this is broken:
Quote:
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)


CU
menschmeier
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Fri Sep 15, 2006 9:42 am    Post subject: Reply with quote

Thank you! It is working now.

first:
Quote:
Checking dynamic linking consistency...
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
done.
(/root/.revdep-rebuild.3_rebuild)


then:
Code:
ln -sfn /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la /usr/lib/libgcj.la


now:
Quote:
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...
done.
(/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

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

Dynamic linking on your system is consistent... All done.



Again: Thank you.
Back to top
View user's profile Send private message
tommoyer324
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 104
Location: USA

PostPosted: Fri Sep 22, 2006 1:28 am    Post subject: Reply with quote

Can someone explain why this problem exists, and why it can't be fixed except by manual intervention? I thought portage was supposed to handle all things like this?
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Fri Sep 29, 2006 8:25 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of topic 495514, post 3563723 in particular.

Another topic to consult: "Persistent revdep-rebuild issues: gcc and libgcj.la". --desultory
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
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