Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Revdep-rebuild and gcc
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
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Mon Aug 21, 2006 1:22 am    Post subject: Revdep-rebuild and gcc Reply with quote

Since I wanted to try out windowmaker with the gnustep option, i recompiled gcc with the objc and gcj USE flags. However, whenever I try to run revdep-rebuild, it keeps wanting to do a oneshot emerge of gcc.

Any ideas???
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 21, 2006 1:32 am    Post subject: Reply with quote

Post the output of revdep-rebuild.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Mon Aug 21, 2006 1:43 am    Post subject: Reply with quote

Code:
onfiguring 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... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot  =sys-devel/gcc-3.4.6-r1
.......



And then I hit Ctrl-c to stop it, as I've already tried letting it emerge gcc again twice.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 21, 2006 1:56 am    Post subject: Reply with quote

Try deleting those .revdep-rebuild.* files, and running it again.

After rebuilding gcc, the files were left over if you had done a ctl-c previously, consequently revdep-rebuild thinks gcc still has a problem.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Mon Aug 21, 2006 2:34 am    Post subject: Reply with quote

Tried that. Only difference is, when I ran it again, it came up with the following files for linking consistency:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la

I did try and emerge dom and sax at one point to get a java project going, but later unmerged them. Would this be causing the problem???

(Note: should i have done this with letting it compile gcc again???)

Edit: both of these are looking for /usr/lib/libgcj.la, which isn't on my system. Is this causing the problem???
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 21, 2006 2:39 am    Post subject: Reply with quote

Oh, I get that too, from having built gcc with the "gcj" USE flag. revdep-rebuild isn't perfect (notice it's a .la file, not a .so file); I wouldn't worry about it.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Mon Aug 21, 2006 3:53 am    Post subject: Reply with quote

So, is it worth keeping the gcj USE flag? I only put that it because it was suggested to...
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 21, 2006 4:14 am    Post subject: Reply with quote

ilm wrote:
So, is it worth keeping the gcj USE flag? I only put that it because it was suggested to...

It's not necessary anymore. It's recommended that you build gnustep-base with the "ffcall" USE flag. If you decide to use libffi instead of ffcall, the standalone library (USE flag "libffi") is a better option than the libffi included with gcc (available by building gcc with the "gcj" USE flag).
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Mon Aug 21, 2006 4:41 am    Post subject: Reply with quote

What's the difference between ffcall and libffi???
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 21, 2006 5:03 am    Post subject: Reply with quote

They are both implementations of the same functionality. According to the GNUstep experts I've conversed with, ffcall is more robust and better-maintained these days.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
ilm
Guru
Guru


Joined: 29 Jun 2006
Posts: 310
Location: Brisbane, Australia

PostPosted: Tue Aug 22, 2006 10:37 am    Post subject: Reply with quote

That's fixed it!!!!!!!!!!!!!!!!!!

Now I just have to work out how to use Window Maker!!!
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:41 am    Post subject: Reply with quote

The libgcj.la issue 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