Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361027

Summary: dev-util/cppunit fails with error: /usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file or directory
Product: Gentoo Linux Reporter: Chris <caterry>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal CC: cpp+disabled
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
build.log
emerge --info

Description Chris 2011-03-29 01:27:21 UTC
Created attachment 267609 [details]
config.log

checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/var/tmp/portage/dev-util/cppunit-1.12.1/work/cppunit-1.12.1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Comment 1 Chris 2011-03-29 01:28:57 UTC
Created attachment 267611 [details]
build.log
Comment 2 Chris 2011-03-29 01:30:30 UTC
Created attachment 267613 [details]
emerge --info
Comment 3 Rafał Mużyło 2011-03-29 02:49:32 UTC
The error is:
/usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file or directory
seems something is wrong with your glibc.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-08-06 10:09:19 UTC
Please reopen if you still have this problem (and add new logs and emerge info).