Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545762 - sys-libs/glibc-2.20 error on build not causing build failure (bricking system)
Summary: sys-libs/glibc-2.20 error on build not causing build failure (bricking system)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2015-04-06 18:27 UTC by totony
Modified: 2015-04-12 22:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info output (emergeinfo.txt,4.53 KB, text/plain)
2015-04-06 18:27 UTC, totony
gzipped glibc build log (sys-libs_glibc-2.20-r2_20150404-174138.log.gz,694.81 KB, application/gzip)
2015-04-08 15:31 UTC, totony

Note You need to log in before you can comment on or make changes to this bug.
Description totony 2015-04-06 18:27:51 UTC
Created attachment 400716 [details]
emerge --info output


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):

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
Comment 1 totony 2015-04-06 18:28:29 UTC
Build log (too big for attachment):
Comment 2 SpanKY gentoo-dev 2015-04-08 04:03:17 UTC
(In reply to totony from comment #1)

compress it then before attaching
Comment 3 totony 2015-04-08 15:31:51 UTC
Created attachment 400852 [details]
gzipped glibc build log
Comment 4 totony 2015-04-08 15:33:49 UTC
NEEDINFO: What information do you need?
Comment 5 SpanKY gentoo-dev 2015-04-09 00:45:34 UTC
what is /bin/sh set to ?  can you attach `emerge --info --verbose glibc` ?
Comment 6 totony 2015-04-10 04:08:44 UTC
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?
Comment 7 SpanKY gentoo-dev 2015-04-12 22:51:32 UTC
afaik, zsh doesn't provide a POSIX shell, so you can't set it as /bin/sh target