Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libgcj.la causing problems
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
gentuse
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2002
Posts: 75
Location: Seattle

PostPosted: Thu Nov 30, 2006 7:49 pm    Post subject: libgcj.la causing problems Reply with quote

revdep-rebuild thinks gcc needs to be re-emerged, even after being emerged.

"broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la)"
"broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la)"

Code:
~ # cat .revdep-rebuild.4_ebuilds
sys-devel/gcc-3.4.6-r1
~ # grep libgcj.la /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/*la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la:dependency_libs=' /usr/lib/libgcj.la -lpthread -ldl -lz -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -lgcc_s -lc'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la:dependency_libs=' /usr/lib/libgcj.la -lpthread -ldl -lz -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -lgcc_s -lc'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.la:# libgcj.la - a libtool library file
~ # slocate libgcj.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.la
~ # ls -l /usr/lib/libgcj.la
ls: cannot access /usr/lib/libgcj.la: No such file or directory
~ # emerge -pv gcc

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-3.4.6-r1  USE="gcj nls (-altivec) -bootstrap -boundschecking -build -doc -fortran -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB



I have gcj in my USE flags. What's the problem?
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Thu Nov 30, 2006 8:54 pm    Post subject: Reply with quote

I think those 2 .la 's are orphans and can be removed ..
Back to top
View user's profile Send private message
gentuse
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2002
Posts: 75
Location: Seattle

PostPosted: Thu Nov 30, 2006 8:57 pm    Post subject: Reply with quote

equery thinks they belong to the gcc package. They have the same timestamp as the rest of the files in /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/

Code:

~ # equery belongs /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la
[ Searching for file(s) /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la in *... ]
sys-devel/gcc-3.4.6-r1 (/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la)
~ # equery belongs /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la
[ Searching for file(s) /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la in *... ]
sys-devel/gcc-3.4.6-r1 (/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la)
Back to top
View user's profile Send private message
igds
n00b
n00b


Joined: 04 Aug 2004
Posts: 39

PostPosted: Thu Feb 08, 2007 4:04 am    Post subject: Reply with quote

I am experiencing the same problem with gcc-4.1.1-r3. I needed GCJ in order to compile and run pdftk as described here: Split GCC Ebuilds

Now I am recompiling GCC without the gcj flag and will install eclipse-ecj, instead, as suggested by baigsabeeh here: [SOLVED] USE flag 'gcj' and C compiler (gcc); hopefully, I will still be able to reinstall and run pdftk afterwards, but as I only ever needed to use it once (so far) it probably does not matter either way. Here are another couple of threads discussing this issue:

revdep-rebuild loop
revdep-rebuild wants to re-emerge gcc-4.1.1 everytime.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Feb 18, 2007 11:04 am    Post subject: Reply with quote

In addition to the topics linked to by igds, 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