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
FYI, kensington already wrote a patch against latest ebuild (on bug 335526) which should actually also fix the cc direct calling :)
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(-)