Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724964

Summary: net-dialup/openl2tp calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

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.

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 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):

commit fcee0a2dfee5920e09772a604f72faa96d264209
Author:     Andrew Savchenko <>
AuthorDate: 2020-07-11 07:52:08 +0000
Commit:     Andrew Savchenko <>
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.
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <>

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