| Summary: | emerge glibc fails after adding nptl and nptlonly to the global USE flags | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | deadline <de4dline> |
| Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://http://pastebin.com/284848 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
deadline
2005-05-15 15:08:55 UTC
I've got the same error: >>> Source unpacked. >>> Test phase [not enabled]: sys-libs/glibc-2.3.4.20041102-r1 >>> Install glibc-2.3.4.20041102-r1 into /var/tmp/portage/glibc-2.3.4.20041102-r1/image/ category sys-libs /usr/lib/portage/bin/ebuild.sh: line 837: cd: /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i386-pc-linux-gnu-nptl: No such file or directory * Installing GLIBC with NPTL... Makeconfig:84: x86/config.make: No such file or directory Makerules:782: no file name for `include' configure.in > configure.new /bin/sh: line 1: configure.in: command not found make: *** [configure] Error 127 !!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed. !!! Function src_install, Line 841, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 20:47:05)] distcc[32619] (dcc_trace_version) distcc 2.18.3 i386-pc-linux-gnu; built Jul 7 2005 07:45:11 [disabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.KOI8-R" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS Any solution? Seems the reason is in CHOST setting (i386 to be exact):
glibc_do_configure which creates propper named directory
(GBUILDDIR="${WORKDIR}/build-${ABI}-${CTARGET}-$1") is not called (within
ebuild) due to the check in want_nptl function:
want_nptl() {
if use nptl || use nptlonly ; then
# Archs that can use NPTL
if use amd64 || use ia64 || use ppc || \
use ppc64 || use s390 || use sparc; then
return 0
fi
# Specific x86 CHOSTS that can use NPTL
if use x86; then
case "${CHOST/-*}" in
i486|i586|i686) return 0 ;;
esac
fi
fi
return 1
}
i386 CHOST is not supported...
Yeah, you should have: CHOST="i686-pc-linux-gnu" in /etc/make.conf |