Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild wants gcc-3.4.6-r1 again and again [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
equaeghe
Apprentice
Apprentice


Joined: 22 Feb 2005
Posts: 273

PostPosted: Mon Aug 07, 2006 9:05 pm    Post subject: revdep-rebuild wants gcc-3.4.6-r1 again and again [solved] Reply with quote

Hi,

Whenever I revdep-rebuild -p, I get

Code:

# revdep-rebuild -p
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/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/../lib64/
libgcj.la)
  broken /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/../lib64   libgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/../lib64/l   bgcj.la)
  broken /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/../lib64/l   bgcj.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 -p =sys-devel/gcc-3.4.6-r1

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-3.4.6-r1


Gcc has fortran, nls, and gcj use flags.

Re-emerging (i.e., actually doing revdep-rebuild without pretending) does not resolve the problem.

What should I do?

Erik


Last edited by equaeghe on Mon Aug 07, 2006 9:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 868

PostPosted: Mon Aug 07, 2006 9:15 pm    Post subject: Reply with quote

Have a look at this bug.
Back to top
View user's profile Send private message
equaeghe
Apprentice
Apprentice


Joined: 22 Feb 2005
Posts: 273

PostPosted: Mon Aug 07, 2006 9:43 pm    Post subject: Reply with quote

Limn, thanks, the suggestion of manually modifying the two .la files worked.
Back to top
View user's profile Send private message
laugh
n00b
n00b


Joined: 24 Aug 2006
Posts: 5

PostPosted: Sat Sep 02, 2006 5:45 pm    Post subject: Reply with quote

Quote:
I've recompiled gcc-4.1.0 adding the "--enable-version-specific-runtime-libs"
option to gcc_do_configure(), and it seems to have fixed this issue.


could anyone please explain where is that function and how do i add the option to it? sorry, i'm a newbie and i know only basics of c++

i get the error

Code:
 
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)


and gcc 4.1 rebuilt each time i run revdep, so definitely this is the same bug, but i don't understand how do i fix it
thank you
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Sun Sep 03, 2006 11:00 am    Post subject: Reply with quote

laugh wrote:
i get the error

Code:
 
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)


and gcc 4.1 rebuilt each time i run revdep, so definitely this is the same bug, but i don't understand how do i fix it
thank you
I am having the same problem here. Think we should try
Code:
ln -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/lib-gnu-java-awt-peer-gtk.la /usr/lib/
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 868

PostPosted: Sun Sep 03, 2006 1:19 pm    Post subject: Reply with quote

laugh:
That function is in /usr/portage/eclass/toolchain.eclass and you probably are better off not modifying it.
volkmar has pointed out one of the workarounds in the bug, i.e. create symlinks. In your case, something like
Code:
cd /usr/lib/
ln -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/lib-gnu-java-awt-peer-gtk.la
ln -s /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcj.la

You will want to verify that /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/ is where lib-gnu-java-awt-peer-gtk.la and ibgcj.la are on your system.

Another way of handling it is edit the /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la and correct the paths listed therein to these two files.
Back to top
View user's profile Send private message
laugh
n00b
n00b


Joined: 24 Aug 2006
Posts: 5

PostPosted: Sun Sep 03, 2006 3:56 pm    Post subject: Reply with quote

thanks limn and volkmar,
now i understood what was gcc_do_configure solution for, and used symlinks instead
revdep-rebuild works correctly now
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7820

PostPosted: Sun Feb 18, 2007 10:42 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