Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698312 - net-analyzer/netselect-0.4: The build doesn't respect CC environment variable
Summary: net-analyzer/netselect-0.4: The build doesn't respect CC environment variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-23 05:16 UTC by Peter Levine
Modified: 2019-10-23 08:34 UTC (History)
0 users

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


Attachments
build.log (net-analyzer:netselect-0.4:20191023-045057.log,12.69 KB, text/plain)
2019-10-23 05:26 UTC, Peter Levine
Details
emerge --info (emerge-info.txt,24.18 KB, text/plain)
2019-10-23 05:27 UTC, Peter Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2019-10-23 05:16:18 UTC
In the net-analyzer/netselect-0.4 version bump, 'emake CC="$(tc-getCC)"' in src_compile
was replaced with 'tc-export CC' in src_prepare.  But the make file doesn't use the environment variable for its own CC make variable which defaults to 'gcc'.  This has the effect of ignoring any exported CC environment variable.  The CC variable assignment must be passed to the make command line.
Comment 1 Peter Levine 2019-10-23 05:26:22 UTC
Created attachment 593678 [details]
build.log
Comment 2 Peter Levine 2019-10-23 05:27:01 UTC
Created attachment 593680 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2019-10-23 08:34:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a

commit 8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-10-23 08:30:21 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-10-23 08:34:37 +0000

    net-analyzer/netselect: Respect CC, use CFLAGS while linking
    
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Fixes: https://bugs.gentoo.org/698312
    Reported-by: Peter Levine
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../netselect/{netselect-0.4.ebuild => netselect-0.4-r1.ebuild}       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)