Gentoo Archives: gentoo-user

From: Andrey Moshbear <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Broken GCC
Date: Fri, 07 Sep 2012 15:40:49
Message-Id: CAFnZeoQ8tZ521EHAJmSeVCy84v=omBGUaykC9-EBv-g=2Lqphw@mail.gmail.com
In Reply to: Re: [gentoo-user] Broken GCC by William Kenworthy
1 On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy <billk@×××××××××.au> wrote:
2 > On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
3 >>
4 >>
5 >>
6 >> On 2012-09-07 11:49, Andrey Moshbear wrote:
7 >>
8 >> > On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear <andrey.vul@×××××.com> wrote:
9 >> > > On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote:
10 >> > > > Hello
11 >> > > > yesterday I probably broke my GCC
12 >> > > >
13 >> > > > Problem is following:
14 >> > > > When i try to emerge ANY package it fails with this :
15 >> > > >
16 >> > > > checking whether the C compiler works... yes
17 >> > > > checking for C compiler default output file name... a.out
18 >> > > > checking for suffix of executables...
19 >> > > > checking whether we are cross compiling... configure: error: in
20 >> > > > `/tmp/portage/www-client/links-2.6/work/links-2.6':
21 >> > > > configure: error: cannot run C compiled programs.
22 >> > > > If you meant to cross compile, use `--host'.
23 >> > > > See `config.log' for more details
24 >> > > Can you post the contents of config.log to a pastebin and link to it in a reply?
25 >> > Specifically, .../portage/www-client/links-2.6/work/links-2.6/config.log
26 >> >
27 >> Here it is http://pastebin.com/s59mU9fm
28 >>
29 >> --
30 >> Samuraiii
31 >> e-mail: samurai.no.dojo@×××××.com
32 >> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
33 >> Full copy of public timestamp block signatures id-15719 (from
34 >> 2012-09-07 06:00:07) is included in header of html.
35 >
36 >
37 >
38 > conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
39 > denied
40 >
41 Indeed. The question here is what's more concerning: the use of
42 /usr/local in the default gcc arguments or not having root:root 644
43 for the files in a global include dir.

Replies

Subject Author
Re: [gentoo-user] Broken GCC Samuraiii <samurai.no.dojo@×××××.com>