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

Bug 444944

Summary: x11-plugins/asapm does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2012-11-27 13:45:23 UTC
The package respect CC only at compile time. 

It does not respect CC in the 'test' during the configure phase:

From the build log:

checking for gcc... gcc                                                                                                                                                             
checking whether the C compiler (gcc -march=native -O2 -g0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) works... yes                                                               
checking whether the C compiler (gcc -march=native -O2 -g0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) is a cross-compiler... no
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-15 19:03:08 UTC
I've already fixed this bug in anther bug, please have a look at bug 336818 (updated it now to fix also bug 367185)
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-03-23 17:33:18 UTC
Thanks, fixed in CVS.

Please note that CC was actually respected in the compile phase, but the new ebuild will not show it during configure too.

+  23 Mar 2014; Michael Palimaka <> +asapm-3.1-r1.ebuild,
+  +files/asapm-3.1-ldflags.patch:
+  Revision bump migrating to EAPI 5. Add missing dependency. Remove transitive
+  dependency. Remove jpeg USE flag that did nothing. Update HOMEPAGE wrt bug
+  #367185. Respect LDFLAGS wrt bug #336818. Fully respect CC wrt bug #444944.