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

Bug 294347

Summary: crossdev cannot install mips-unknown-linux-gnu toolchain
Product: Gentoo Linux Reporter: Adam Nielsen <a.nielsen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info log

Description Adam Nielsen 2009-11-24 05:53:21 UTC
Trying to install a mipsel-unknown-linux-gnu toolchain fails.  Same configuration works fine when installing mips-unknown-linux-uclibc.

$ crossdev -t mipsel-unknown-linux-gnu
...
* Log: /var/log/portage/cross-mipsel-unknown-linux-gnu-glibc-headers.log
* Emerging cross-glibc-headers...

* glibc failed :(
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-mipsel-unknown-linux-gnu-info.log
* /var/log/portage/cross-mipsel-unknown-linux-gnu-glibc-headers.log


...headers.log:

checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
>>> Source compiled.
/usr/local/portage/layman/desktop-effects/cross-mipsel-unknown-linux-gnu/glibc/files/eblits/src_test.eblit: line 6: cd: /var/tmp/cross/mipsel-unknown-linux-gnu/portage/cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3/work/build-pos-mipsel-unknown-linux-gnu-nptl: No such file or directory
 * ERROR: cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3 failed:
 *   cd build-pos-mipsel-unknown-linux-gnu-nptl
 * 
 * Call stack:
 *        ebuild.sh, line   55:  Called src_test
 *      environment, line 3942:  Called eblit-run 'src_test'
 *      environment, line 1337:  Called eblit-glibc-src_test
 *   src_test.eblit, line   40:  Called toolchain-glibc_src_test 'nptl'
 *   src_test.eblit, line    6:  Called die
 * The specific snippet of code:
 *      cd "${WORKDIR}"/build-${ABI}-${CTARGET}-$1 || die "cd build-${ABI}-${CTARGET}-$1"
 * 
 * If you need support, post the output of 'emerge --info =cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3',
 * the complete build log and the output of 'emerge -pqv =cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3'.
 * This ebuild is from an overlay named 'desktop-effects': '/usr/local/portage/layman/desktop-effects/'
 * The complete build log is located at '/var/tmp/cross/mipsel-unknown-linux-gnu/portage/cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/mipsel-unknown-linux-gnu/portage/cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3/temp/environment'.
 * S: '/var/tmp/cross/mipsel-unknown-linux-gnu/portage/cross-mipsel-unknown-linux-gnu/glibc-2.9_p20081201-r3/work/glibc-2.9-20081201'
Comment 1 Adam Nielsen 2009-11-24 05:57:34 UTC
Created attachment 211026 [details]
info log

Adding info log as requested
Comment 2 Adam Nielsen 2009-11-24 22:17:42 UTC
Just found a way around this thanks to bug 235551, you can just skip building the headers:

$ crossdev -t mipsel-unknown-linux-gnu --without-headers


*** This bug has been marked as a duplicate of bug 235551 ***