Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414105 - dev-libs/gobject-introspection CC isn't set
Summary: dev-libs/gobject-introspection CC isn't set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 13:24 UTC by Jimmy.Jazz
Modified: 2012-07-07 13:00 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 Jimmy.Jazz 2012-04-30 13:24:16 UTC
if the USE flag introspection is set, every ebuild that use it, will call /usr/bin/g-ir-scanner and will fail if gobject-introspection ebuild doesn't set CC=gcc.

A workaround was to create an hard/soft link/copy /usr/bin/cc to /usr/bin/gcc
ln -s gcc cc
but could harm crosscompiling and is not used anymore. Another is to call,
CC=gcc emerge -au world

Better would be to export CC=$(tc-getCC) in the ebuild.

I'm using gcc 4.7 from hardened-development overlay
Comment 1 Pacho Ramos gentoo-dev 2012-07-07 13:00:05 UTC
+  07 Jul 2012; Pacho Ramos <pacho@gentoo.org>
+  gobject-introspection-1.32.1.ebuild:
+  Prevent crosscompiling problems, bug #414105 by Jimmy.Jazz.
+