Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727480 - sys-apps/moreutils calls cc directly
Summary: sys-apps/moreutils 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: Sam James
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-06-08 06:08 UTC by Agostino Sarubbo
Modified: 2020-06-10 01:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.30 KB, text/plain)
2020-06-08 06:09 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-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

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

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

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

commit b342296b4e4e4e4663f3ec4507f25bcdfcceedb8
Author:     Sam James (sam_c) <sam@cmpct.info>
AuthorDate: 2020-06-08 07:53:11 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
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.
    
    Closes: https://bugs.gentoo.org/727480
    Bug: https://bugs.gentoo.org/721394
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
    Closes: https://github.com/gentoo/gentoo/pull/16127
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

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