Summary: | glibc fails to compile, bad kernel sysctl.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | katerina <kllba> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | cycloon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
katerina
2004-08-30 09:26:55 UTC
On a second system I have, glibc starts building happily... but before installing into /, it dies with the same error about sysctl. Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.0-test8) ================================================================= System uname: 2.6.0-test8 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi avicdr berkdb cjk crypt cups dvd encode foomaticdb gdbm gif gphoto2 gpm gtk gtk2 guile imlib java javascript jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline ruby scanner sdl slang spell ssl tcltk tcpd tetex tiff truetype video_cards_rage128 x86 xml2 xmms xv zlib" The problem with this seems to be [at least on my system - I think it's the same problem] If you have buildpkg in options, the merge uses the package file [i.e it uses pkgmerge in portage.py] and that runs pkg_setup again but FILESDIR is different [as you can see from the error message in the report repeated here] :- cat: /var/tmp/portage-pkg/glibc-2.3.3.20040420-r1/inf/files/fix-sysctl_h.patch: No such file or directory i.e There is no test_sysctl_h.c file or fix-sysctl_h.patch file in that directory, so the gcc command fails, but that's nothing to do with sysctl.h being incorrect. Hope that helps. Same problem here. #2 seems to be correct, I am testing without buildpkg feature set ATM. disabling buildpkg helps. glibc merged fine. |