Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129514 - crossdev -t i386-pc-linux-gnu fails on AMD64
Summary: crossdev -t i386-pc-linux-gnu fails on AMD64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 12:53 UTC by Jan Meier
Modified: 2006-04-10 13:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Meier 2006-04-10 12:53:04 UTC
crossdev -t i386-pc-linux-gnu fails with error on AMD64:
please add USE='nptl nptlonly' to make.conf
I added "nptl ntptonly" to make.conf, but this did not help. USE=".." crossdev .. did also not help.
My crossdev version is: sys-devel/crossdev-0.9.13

tail /var/log/portage/cross-i386-pc-linux-gnu-glibc.log
>>> checksums src_uri ;-) glibc-2.4-patches-1.3.tar.bz2
>>> checksums src_uri ;-) glibc-fedora-20060306T1239.tar.bz2
 * glibc-2.4 is nptl-only!

!!! ERROR: cross-i386-pc-linux-gnu/glibc-2.4-r1 failed.
Call stack:
  ebuild.sh, line 1548:   Called dyn_setup
  ebuild.sh, line 654:   Called pkg_setup
  glibc-2.4-r1.ebuild, line 1123:   Called die

!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if relevant.

codejunky jan # cat /var/log/portage/cross-i386-pc-linux-gnu-info.log
---------------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   x86
 * Target System:         i386-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * PORTDIR_OVERLAY:       /home/jan/portage/migration-overlay
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /var/tmp/portage-pkg/cross/i386-pc-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/i386-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
Gentoo Base System version 1.6.14
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="de"
PKGDIR="/var/tmp/portage-pkg/cross/i386-pc-linux-gnu"
PORTAGE_TMPDIR="/var/tmp/cross/i386-pc-linux-gnu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/jan/portage/migration-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts bzlib calendar cdr cli crypt ctype cups dba dri dvb dvd eds emboss encode exif expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gd-external gif gpm gstreamer gtk gtk2 i8x0 iconv imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff memlimit mp3 mpeg mysql ncurses nls nptl nptlonly nvidia opengl oss pam pcre pdf pdflib perl png posix pppd python qt quicktime readline samba sdl session simplexml soap sockets spell spl sqlite ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis xine xinerama xml xmlrpc xpm xsl xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-10 13:05:15 UTC
glibc-2.4 won't work with anything below i586 (it's nptl only). Your CHOST is wrong.