Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468664 - media-gfx/jpeg2ps : does not respect CC
Summary: media-gfx/jpeg2ps : does not respect CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-05-05 12:06 UTC by Agostino Sarubbo
Modified: 2019-11-06 23:07 UTC (History)
1 user (show)

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 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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5147fa76d4628a08aa093bad13f38a8cfc6e8638

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

    media-gfx/jpeg2ps: Update ebuild for EAPI 7.
    
    Closes: https://bugs.gentoo.org/335526
    Closes: https://bugs.gentoo.org/468664
    Bug: https://bugs.gentoo.org/697288
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 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(-)