Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724964 - net-dialup/openl2tp calls cc directly
Summary: net-dialup/openl2tp calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-24 08:13 UTC by Agostino Sarubbo
Modified: 2020-07-11 07:55 UTC (History)
0 users

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


Attachments
build.log (build.log,10.98 KB, text/plain)
2020-05-24 08:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-24 08:13:52 UTC
This is an auto-filed bug because net-dialup/openl2tp calls cc directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-24 08:13:58 UTC
Created attachment 641330 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-07-11 07:55:58 UTC
The bug has been closed via the following commit(s):

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

commit fcee0a2dfee5920e09772a604f72faa96d264209
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-07-11 07:52:08 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-07-11 07:55:45 +0000

    net-dialup/openl2tp: use native tc variables
    
    If native toolchain variables are provided (e.g. CC), use them.
    
    Closes: https://bugs.gentoo.org/724964
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 .../openl2tp/files/openl2tp-1.8-native-tc.patch    | 23 ++++++++++++++++++++++
 net-dialup/openl2tp/openl2tp-1.8-r1.ebuild         |  1 +
 2 files changed, 24 insertions(+)