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 -march=native -O2 -g0 -pipe -I /usr/include/libxml2 -I ../DVB/include -DNEWSTRUCT -c -o tune.o tune.c
Created attachment 348678 [details, diff] patch against latest ebuild This patch should fix gcc direct calling and also missing ldflags
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afa4142777eadfa30d803107af82c634cf0b379 commit 9afa4142777eadfa30d803107af82c634cf0b379 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-24 18:24:33 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-24 18:24:51 +0000 media-tv/dvbtune: respect user's CC Fixed-by: Michael Mair-Keimberger Closes: https://bugs.gentoo.org/470068 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> media-tv/dvbtune/dvbtune-0.5-r1.ebuild | 14 ++++++++++---- media-tv/dvbtune/files/dvbtune-0.5-r1-gentoo.diff | 4 ++-- 2 files changed, 12 insertions(+), 6 deletions(-)