Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using ccache breaks arts (kde ) build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
johnboyd
n00b
n00b


Joined: 07 Jun 2002
Posts: 15

PostPosted: Tue Jul 02, 2002 10:34 pm    Post subject: using ccache breaks arts (kde ) build Reply with quote

using ccache seems to confuse arts-1.0.1.20020604.ebuild. the configure process reports that no STL is found. However, when I unmerge ccache the configure scripts find the real g++ and this solves the problem.

Do the symlinks that ccache creates somehow confuse the configure test process? Or something else? With ccache enabled, the configure reports that the name of the symlink as the c++ compiler (which points to ccache). I think ccache is not working correctly? Is there a simple way to resolve this problem? Otherwise, ccache is a great idea.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jul 03, 2002 12:21 am    Post subject: Reply with quote

Hi! Have you followed this thread? Which version of Portage are you using?

ebuild /usr/portage/kde-base/arts/arts-1.0.1.20020604.ebuild compile works fine for me, with portage-2.0.4.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
johnboyd
n00b
n00b


Joined: 07 Jun 2002
Posts: 15

PostPosted: Wed Jul 03, 2002 5:51 pm    Post subject: Reply with quote

There are several default long symlinks in the
ccache directory:


i686-pc-linux-gnu-gcc
i686-pc-linux-gnu-g++

etc. These are what confuse the
configure script. If they are removed, then:

g++
gcc

the shorter synlinks are found first.
and the compile proceeds normally. Don't
ask me why, but deleting the longer
symlink seems to solve the problem.


Last edited by johnboyd on Sat Jul 06, 2002 2:40 am; edited 1 time in total
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jul 03, 2002 9:02 pm    Post subject: Reply with quote

Well, you didn't answer, so I'll have to ask again if you read that thread, esp. my post with an "Important Update" on Thu Jun 27, 2002... Please come back with any info...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
johnboyd
n00b
n00b


Joined: 07 Jun 2002
Posts: 15

PostPosted: Fri Jul 05, 2002 7:02 pm    Post subject: Reply with quote

Sorry, but that thread is irrelevant to my post. I am not getting any permission errors. The error returned by the arts (the first dependancie in the kde build) configure script
is

configure: error: "no known STL type found - did you forget to install libstdc++-devel ?"

no I didn't forget. when I unmerge ccache all is well and everything compiles normally. The name of the compiler is then referred to as "g++" and not the symlink that ccache sets up.

Changing the ccache directory has no effect. I might revert to older portage... thanks for your help
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sat Jul 06, 2002 5:04 am    Post subject: Reply with quote

Maybe it's related to this one, then...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
johnboyd
n00b
n00b


Joined: 07 Jun 2002
Posts: 15

PostPosted: Sat Jul 06, 2002 4:18 pm    Post subject: Reply with quote

Thanks for the reply, I edited my earlier post to say that deleting
the links that included the ${chost} attachment to g++ made things work again.

I wonder why the longer symlinks are even necessary? Is it because
ccache needs to include them in the hash it creates?
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2803
Location: Oceanside, Ca

PostPosted: Sat Sep 14, 2002 12:50 am    Post subject: Reply with quote

Well just a note for historical records the ccache long links bug is still around and kickin even with gcc3.2. Followed the above and deleted the long links in /usr/bin/ccache and arts is now building. Dont know exactly why I need it as I dont use KDE but "emerge -u world" says Is needs it, sigh. :?

hielvc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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