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

Bug 243734

Summary: Please mark stable =app-text/lv-4.51-r1 (WAS: app-text/lv: CC variable not respected)
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-24 01:01:03 UTC
I'm filing this bug (from a template, mind you) because the ebuild I'm reporting it against failed to build once I removed my /usr/bin/{gcc,cc,c++,c99} binaries. This means that the ebuild is relying on gcc or cc as compiler, while it should use "$(tc-getCC)" so that user choices are respected, and cross-compiling works as intended.

This usually comes down to one of these tasks:

- use emake CC="$(tc-getCC)" for building, to ovewrite make's CC variable (defaults to "cc", some upstream rewrites it);
- the above plus replacing explicit "gcc" (or similar) calls with $(CC) so that the variable is actually respected;
- tc-export CC in src_compile before eventual econf.

For C++, you'd have to replace CC with CXX everywhere above, of course.

If your package is a special case on this, please let me know.

Thanks,
Diego
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-30 15:11:29 UTC
it has already fixed in lv-4.51-r1.
so please mark stable =app-text/lv-4.51-r1:

KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
Comment 2 nixnut (RETIRED) gentoo-dev 2008-11-01 17:11:57 UTC
ppc stable
Comment 3 Markus Meier gentoo-dev 2008-11-02 12:45:51 UTC
amd64/x86 stable
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-11-03 11:17:48 UTC
alpha/ia64/sh/sparc stable
Comment 5 Brent Baude (RETIRED) gentoo-dev 2008-12-01 21:44:17 UTC
ppc64 done
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2009-04-11 01:10:54 UTC
removed old version. close.