Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-4.x and libgcj.la
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
Guinpen
Guru
Guru


Joined: 08 Dec 2004
Posts: 393

PostPosted: Fri Apr 14, 2006 6:52 am    Post subject: gcc-4.x and libgcj.la Reply with quote

I've run into what I think is a bug in the gcc ebuilds or gcc-config (not sure which), but I want to confirm that the problem is not on my end before posting a bug report.

The issue is that no matter how many times I re-emerge gcc-4.0.3 and gcc-4.1.0, I get the following when running revdep-rebuild:
Code:
Superfly ~ # 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/lib/gcc/i686-pc-linux-gnu/4.0.3/libgij.la (requires /usr/lib/libgcj.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libgij.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 -p =sys-devel/gcc-4.0.3 =sys-devel/gcc-4.1.0

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.0.3
[ebuild   R   ] sys-devel/gcc-4.1.0
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.


The libgcj.la files exist, namely as:
Code:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libgcj.la
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libgcj.la


Now I could easily symlink /usr/lib/libgcj.la to one of these, but what would that do to the other version of gcc? Should this be handled by the gcc ebuilds pointing to the right file or by gcc-config updating a symlink to the correct file when I change the compiler?

Thanks!
Back to top
View user's profile Send private message
Guinpen
Guru
Guru


Joined: 08 Dec 2004
Posts: 393

PostPosted: Fri Apr 14, 2006 6:55 am    Post subject: Reply with quote

Update: I found out that this is somewhat the same issue as https://forums.gentoo.org/viewtopic-t-444323-highlight-libgcj+la.html, except that they have a problem with the 3.x version of gcc, while mine is with 4.x.

Edit: Fixed the link. --desultory
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

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

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

Moved from Other Things Gentoo 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