Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246437 - sys-libs/glibc-2.7-r2 fails with linux-headers version (>=2.6.9), even when new enough linux-headers are installed
Summary: sys-libs/glibc-2.7-r2 fails with linux-headers version (>=2.6.9), even when n...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-11 21:45 UTC by Stian Skjelstad
Modified: 2008-11-11 22:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stian Skjelstad 2008-11-11 21:45:09 UTC
This bugreport might be a bit bloat, but I still add it here, if others get stuck with the same fault (I'm poting the "fix" here aswell)

Symptom:

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-libs/glibc-2.7-r2
 * glibc-libidn-2.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                          [ ok ]
 * glibc-ports-2.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                           [ ok ]
 * glibc-2.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                 [ ok ]
 * glibc-2.7-patches-1.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                               [ ok ]
>>> Unpacking source...
 * Checking gcc for __thread support ...                                                                                                                              [ ok ]
 * Checking kernel version (>=2.6.9) ...
 * Checking linux-headers version (>=2.6.9) ...
i686-pc-linux-gnu-gcc: no input files                                                                                                                                 [ !! ]

 * You need linux-headers of at least version 2.6.9
 * for NPTL support!
 * 
 * ERROR: sys-libs/glibc-2.7-r2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_unpack
 * environment, line 3155:  Called eblit-run 'src_unpack'
 * environment, line  992:  Called eblit-glibc-src_unpack
 * src_unpack.eblit, line  125:  Called toolchain-glibc_src_unpack
 * src_unpack.eblit, line   61:  Called check_nptl_support
 * src_unpack.eblit, line   46:  Called die
 * The specific snippet of code:
 * die "linux-headers version too low!"
 * The die message:
 * linux-headers version too low!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.7-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.7-r2/temp/environment'.
 * 

Even thought sys-kernel/linux-headers-2.6.27-r2 is installed.

After some fidling and reading the ebuild sources, I traced down the problem. My CPP setting; due to bug #206240, is was set to

CPP="${CHOST}-gcc -E"

Setting it back to

CPP=${CHOST}-cpp

solves the issue.

Reproducible: Always

Steps to Reproduce:
1. emerge glibc-2.7 with CPP set to gcc -E
Comment 1 Rafał Mużyło 2008-11-11 21:51:36 UTC
I think you've missed the fact that the bug you've mentioned
was closed as invalid, as in: 'self-harm'.