View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
Joined: 22 Feb 2005 Posts: 640
|
Posted: Mon Aug 07, 2006 9:05 pm Post subject: revdep-rebuild wants gcc-3.4.6-r1 again and again [solved] |
|
|
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 |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Mon Aug 07, 2006 9:15 pm Post subject: |
|
|
Have a look at this bug. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 640
|
Posted: Mon Aug 07, 2006 9:43 pm Post subject: |
|
|
Limn, thanks, the suggestion of manually modifying the two .la files worked. |
|
Back to top |
|
|
laugh n00b
Joined: 24 Aug 2006 Posts: 5
|
Posted: Sat Sep 02, 2006 5:45 pm Post subject: |
|
|
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 |
|
|
volkmar Tux's lil' helper
Joined: 01 Jul 2004 Posts: 122
|
Posted: Sun Sep 03, 2006 11:00 am Post subject: |
|
|
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 |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Sun Sep 03, 2006 1:19 pm Post subject: |
|
|
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 |
|
|
laugh n00b
Joined: 24 Aug 2006 Posts: 5
|
Posted: Sun Sep 03, 2006 3:56 pm Post subject: |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|