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

Bug 475256

Summary: app-text/epstool : does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-06-29 19:39:54 UTC
You receive this bug because this package does not respect my system's CC (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/gcc(or similar)
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export CC
3)inherit toolchain-funcs and use emake CC="$(tc-getCC)"


From the build log:

gcc -I./src -I./epsobj -march=native -O2 -g0 -pipe -DX11 -DUNIX -DNONAG  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common 
-Wcast-qual -Wwrite-strings  -g      -o ./epsobj/xnodll.o -c ./src/xnodll.c
Comment 1 Sergey Popov gentoo-dev 2013-09-06 10:36:49 UTC
+  06 Sep 2013; Sergey Popov <pinkbyte@gentoo.org> +epstool-3.08-r1.ebuild:
+  Revision bump: EAPI 5, epatch_user, respect CC, wrt bug #475256. Thanks to
+  Agostino Sarubbo for discovering this issue