Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595918 - net-misc/networkmanager-1.4.0-r1 fails to build with error "gcc-config: No gcc profile is active!"
Summary: net-misc/networkmanager-1.4.0-r1 fails to build with error "gcc-config: No gc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-02 10:43 UTC by Porcupine of the Moon
Modified: 2016-10-02 19:54 UTC (History)
1 user (show)

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


Attachments
build log (build.log,84.65 KB, text/plain)
2016-10-02 10:48 UTC, Porcupine of the Moon
Details
emerge --info (emerge-info.txt,6.84 KB, text/plain)
2016-10-02 10:49 UTC, Porcupine of the Moon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Porcupine of the Moon 2016-10-02 10:43:33 UTC
net-misc/networkmanager-1.4.0-r1 fails to build with error message:

gcc-config: No gcc profile is active!
/usr/bin/gcc-config: line 72: /etc/env.d/gcc/config-i686-pc-linux-gnu: No such file or directory
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc-ar'

However, my system is CHOST="x86_64-pc-linux-gnu".

gcc-config -l
 [1] x86_64-pc-linux-gnu-4.9.3 *

binutils -l 
 [1] x86_64-pc-linux-gnu-2.25.1 *

I used to have a crossdev installation for "i686-pc-linux-gnu", but I removed it completely. There shouldn't be any remains on the system.


Reproducible: Always

Steps to Reproduce:
emerge -vuND world

Actual Results:  
build fails

Expected Results:  
build should run through without errors
Comment 1 Porcupine of the Moon 2016-10-02 10:48:33 UTC
Created attachment 448818 [details]
build log

The build.log
Comment 2 Porcupine of the Moon 2016-10-02 10:49:53 UTC
Created attachment 448820 [details]
emerge --info

output of `emerge --info '=net-misc/networkmanager-1.4.0-r1::gentoo'`

emerge -pqv '=net-misc/networkmanager-1.4.0-r1::gentoo' results in:
[ebuild     U ] net-misc/networkmanager-1.4.0-r1 [1.0.12-r1] USE="consolekit dhclient gnutls introspection modemmanager ncurses ppp vala wext wifi -audit% -bluetooth -connection-sharing -json% -nss -ofono% -resolvconf (-selinux) -systemd -teamd {-test} (-dhcpcd%) (-zeroconf%*)" ABI_X86="32 (64) (-x32)"
Comment 3 Mike Gilbert gentoo-dev 2016-10-02 13:19:12 UTC
Does /use/bin/i686-pc-linux-gnu-gcc-ar exist? If so, remove it.
Comment 4 Porcupine of the Moon 2016-10-02 19:54:10 UTC
(In reply to Mike Gilbert from comment #3)
> Does /use/bin/i686-pc-linux-gnu-gcc-ar exist? If so, remove it.

Thank you for this hint. For some reason this was an orphaned file on my system. equery b couldn't assign it to any package. After deleting all /usr/bin/i686-* it compiled without errors.