Created attachment 400716 [details] emerge --info output Hi, glibc-2.20 builds, but errors are present in the build process, and this causes files to be missing (ldconfig for example, if you need the output of equery f feel free to ask). Forum thread (more explanation): https://forums.gentoo.org/viewtopic-t-1014266-highlight-.html The most obvious problems during the build process: /tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20/sysdeps/unix/sysv/linux/configure:215: parse error near `user_version=$((`ech...' and all the "__LINUX_KERNEL_VERSION" is not defined [-Wundef] This seems to be caused by a problem with autoconf (others packages, for example pth, fail to build due to missing definitions/missing confdefs.h), but I am not 100% sure
Build log (too big for attachment): http://totony.gyc.ca/priv/sys-libs:glibc-2.20-r2:20150404-174138.log
(In reply to totony from comment #1) compress it then before attaching
Created attachment 400852 [details] gzipped glibc build log
NEEDINFO: What information do you need?
what is /bin/sh set to ? can you attach `emerge --info --verbose glibc` ?
My /bin/sh was a symlink to /bin/zsh, I was oblivious not to look at this, thank you! I changed it to sh-> /bin/bash and it all works now. Although it is weird that we assume sh to be bash, is that an upstream bug or is it just deprecated?
afaik, zsh doesn't provide a POSIX shell, so you can't set it as /bin/sh target