Summary: | sys-libs/glibc-2.5-r3 missing ldconfig due to linux/configure:160: parse error near `minimum_kernel=$arch...' due to /bin/sh -> zsh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kovid Goyal <kovid> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
log.txt.bz2
emerge -v --info configure log configure log with bash |
Description
Kovid Goyal
2007-05-29 18:59:41 UTC
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 |