Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470068 - media-tv/dvbtune : does not respect CC
Summary: media-tv/dvbtune : 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-05-16 12:16 UTC by Agostino Sarubbo
Modified: 2021-07-24 18:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against latest ebuild (ebuild.patch,350 bytes, patch)
2013-05-19 14:36 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-05-16 12:16:07 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 -march=native -O2 -g0 -pipe -I /usr/include/libxml2 -I ../DVB/include -DNEWSTRUCT   -c -o tune.o tune.c
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-19 14:36:35 UTC
Created attachment 348678 [details, diff]
patch against latest ebuild

This patch should fix gcc direct calling and also missing ldflags
Comment 2 Larry the Git Cow gentoo-dev 2021-07-24 18:24:53 UTC
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(-)