ldconfig is missing from glibc-2.5 [code] equery files glibc | grep ldconfig [/code] Reproducible: Always Steps to Reproduce: 1. equery files glibc | grep ldconfig Actual Results: None Expected Results: /sbin/ldconfig emerge --info Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 i686) ================================================================= System uname: 2.6.21-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.10 Timestamp of tree: Tue, 29 May 2007 03:00:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.33 dev-lang/python: 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://toughguy.caltech.edu/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/xeffects /usr/portage/local/layman/vmware /usr/local/overlays/kovid" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3ds X X509 a52 aac acpi aiglx alsa asf bash-completion beagle berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cddb chroot cli cracklib crypt cups curl dbus dga divx4linux dri dts dv dvd dvdr dvdread eds encode enscript escreen exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran freetype gcj gd gdbm gif gimp glitz gnokii gnome gnuplot gphoto2 gpm gstreamer gtk hal iconv icq imagemagick imap imlib ipv6 irmc isdnlog jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal lapack leim libg++ live mad maildir mailwrapper matroska midi mikmod mmx mmx2 mng motif mozilla mozsvg mp3 mpeg msn mudflap ncurses network newspr nls nocd nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp oss pam pcre pda pdf perl pic plotutils png pnp ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection reiserfs rtc sasl scanner sdl session sms sockets speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg svgz sysfs tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vhosts videos vim-pager vim-with-x vorbis wavpack webcam win32codecs x86 xcomposite xgetdefault xine xinerama xml xorg xscreensaver xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1,usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Certainly not here. You'll have to attach the complete build log here; reopen then.
Build log at: http://www.theory.caltech.edu/~kovid/log.txt
Created attachment 120636 [details] log.txt.bz2 Attaching the log here so that it doesn't get lost in a couple of days.
build-default-i686-pc-linux-gnu-nptl # grep ldconfig * config.log:use_ldconfig='no' config.make:# Should we use and build ldconfig? config.make:use-ldconfig = no config.status:s,@use_ldconfig@,no,;t t
Also looking at the build log shouldn't the prefix be / not /usr
something in your environment is probably polluting and causing this configure error: /var/tmp/portage/sys-libs/glibc-2.5-r3/work/glibc-2.5/sysdeps/unix/sysv/linux/configure:160: parse error near `minimum_kernel= $arch...' post `emerge -v --info` and no, it should not be --prefix=/
Created attachment 120730 [details] emerge -v --info
Since this seems kernel related: uname -a Linux giskard 2.6.21-gentoo-r2 #1 SMP Thu May 24 23:36:29 PDT 2007 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux ll /usr/src/linux -d lrwxrwxrwx 1 root root 23 2007-05-25 06:26 /usr/src/linux -> linux-2.6.21-gentoo-r2/
hrm, then go into the build dir: /var/tmp/portage/sys-libs/glibc-2.5-r3/work/build-default-i686-pc-linux-gnu-nptl and run: sh -x ../configure --disable-stackguard-randomization --enable-old-ssp-compat --with-tls --with-__thread --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc >& log then post the "log" file as an attachment
Created attachment 120737 [details] configure log Incidentally I did an ebuild compile and then manually edit the config.make to set use_ldconfig=yes then did a make and then an ebuild qmerge and it installed ldconfig, but into /usr/sbin, which is why I asked about the --prefix being /usr
what is your /bin/sh set to ?
Created attachment 120739 [details] configure log with bash /bin/sh points to /bin/zsh Ran the command with bash bash -x ../glibc-2.5/configure --disable-stackguard-randomization --enable-old-ssp-compat --with-tls --with-__thread --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc >& /tmp/log
zsh is not POSIX compliant and thus is not suitable as a /bin/sh replacement