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

Bug 468664

Summary: media-gfx/jpeg2ps : does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ulrich Müller <ulm>
Severity: QA CC: graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-05-05 12:06:14 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:

cc  -o jpeg2ps jpeg2ps.o readjpeg.o asc85ec.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-20 17:48:39 UTC
FYI, kensington already wrote a patch against latest ebuild (on bug 335526) which should actually also fix the cc direct calling :)
Comment 2 Larry the Git Cow gentoo-dev 2019-11-06 23:07:15 UTC
The bug has been closed via the following commit(s):

commit 5147fa76d4628a08aa093bad13f38a8cfc6e8638
Author:     Ulrich Müller <>
AuthorDate: 2019-11-06 22:54:54 +0000
Commit:     Ulrich Müller <>
CommitDate: 2019-11-06 23:00:34 +0000

    media-gfx/jpeg2ps: Update ebuild for EAPI 7.
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Ulrich Müller <>

 media-gfx/jpeg2ps/files/jpeg2ps-1.9-include.diff |  7 ++--
 media-gfx/jpeg2ps/jpeg2ps-1.9-r2.ebuild          | 46 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 3 deletions(-)