Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83191

Summary: crossdev looks for GCC 3.4.3.20050110 within /var/tmp/portage using wrong directory label
Product: Gentoo Linux Reporter: James Couzens <jcouzens>
Component: Current packagesAssignee: Joshua Kinard <kumba>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Couzens 2005-02-24 07:26:39 UTC
Everything works great until crossdev wants to go look at the source code directory for GCC in /var/tmp/portage.

The problem as I see it is that either GCC has a naughty ebuild or cross dev needs to try a little harder to find a match rather than some explicit static value.

I have:

/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3

crossdev expects to find:

/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3.20050110

It looks to me like its the GCC ebuild that resulted in the incompatible and shortened naming convention, however it negatively impacts crossdev so perhaps something could be done to make it a little more robust?

My configuration:

Installed from 2004.3
GLIBC: 2.3.4.20050125
GCC: 3.4.3.20050110
Profile: /usr/portage/profiles/hardened/x86
ACCEPT_KEYWORDS="~x86"
Kernel: 2.6.10 (from ftp.kernel.org not gentoo sources and not hardened either)
If you need more info just let me know.  FYI I'm going to attempt to contribute back an ARM patch since thats what I'm currently working on hence my interest in crossdev.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 James Couzens 2005-02-24 07:29:12 UTC
Oh I should that (althought I suppose its obvious and or inferred) a simple symlink making the directory that crossdev is looking for appear works and cross dev happily works and proceeds to build.

Additionally I was trying to build --arch=i586 with my Soekris in mind
Comment 2 SpanKY gentoo-dev 2005-03-03 17:36:45 UTC
<=crossdev-0.4 is no longer supported ... please upgrade to crossdev-0.9 and if
you're still having problems, re-open the bug and re-assign to toolchain@gentoo.org