Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500112 - Every configure script crashes at "checking for C compiler default output file name"
Summary: Every configure script crashes at "checking for C compiler default output fil...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 17:29 UTC by sachse
Modified: 2014-02-05 15:18 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge_info.txt,20.92 KB, text/plain)
2014-02-02 17:36 UTC, sachse
Details
gcc build logs (gcc-build-logs.tar.bz2,6.25 KB, application/bzip2)
2014-02-02 17:38 UTC, sachse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sachse 2014-02-02 17:29:30 UTC
gcc looks like to work.
If i try: "gcc -march=athlon64 -mtune=athlon64 -O2 -pipe -fexpensive-optimizations -msse -msse2 -mmmx -m3dnow -o hello_world hello_world.c"
it works.

But any package crashes in configure stage.
My tries to fix the issue:
 - Build packages with emerge -B on an similar working system
 - Install these packages which emerge -k
 - This procedure i have repeated with al lot of packages i think they are used
   from build system

In this bug i use the gcc-4.8.2

The error message of the last step is: 
"cc1: fatal error: /usr/local/include/stdc-predef.h: Permission denied"

The file exists but not in this directory
locate stdc-predef.h -> /usr/include/stdc-predef.h

Reproducible: Always

Steps to Reproduce:
1. emerge gcc

Actual Results:  
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... 
configure: error: in `/var/tmp/portage/sys-devel/gcc-4.8.2/work/build':
configure: error: C compiler cannot create executables


Expected Results:  
package can be build without any error

System is in unuseable state an con not be fixed because no package can be build
Comment 1 sachse 2014-02-02 17:36:24 UTC
Created attachment 369364 [details]
emerge info
Comment 2 sachse 2014-02-02 17:38:22 UTC
Created attachment 369366 [details]
gcc build logs
Comment 3 Alex Xu (Hello71) 2014-02-02 17:38:41 UTC
chmod -R o+rx /usr/local/include
Comment 4 sachse 2014-02-05 01:20:16 UTC
This fix works
Comment 5 Alex Xu (Hello71) 2014-02-05 15:18:05 UTC
we do not support manual installation of packages, last I checked.

even if we did, it's your responsibility to ensure that those paths are readable.