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

Bug 727480

Summary: sys-apps/moreutils calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-08 06:08:57 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: sys-apps/moreutils calls cc directly.
Discovered on: amd64

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-06-08 06:09:03 UTC
Created attachment 643890 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-10 01:26:25 UTC
The bug has been closed via the following commit(s):

commit b342296b4e4e4e4663f3ec4507f25bcdfcceedb8
Author:     Sam James (sam_c) <>
AuthorDate: 2020-06-08 07:53:11 +0000
Commit:     Thomas Deutschmann <>
CommitDate: 2020-06-10 01:25:37 +0000

    sys-apps/moreutils: Respect CC
    In 47abea9b0, we took the upstream patch,
    without noticing that the original (non-upstream) one
    fixed respecting CC too, while upstream's did not.
    This fixes the patch accordingly.
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sam James (sam_c) <>
    Signed-off-by: Thomas Deutschmann <>

 .../files/moreutils-0.63-respect-env.patch         | 25 +++++-----------------
 sys-apps/moreutils/moreutils-0.63.ebuild           |  2 +-
 2 files changed, 6 insertions(+), 21 deletions(-)