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

Bug 725540

Summary: sys-apps/edac-utils calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-26 20:58:49 UTC
This is an auto-filed bug because sys-apps/edac-utils 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-26 20:58:54 UTC
Created attachment 641958 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-08-02 03:18:26 UTC
The bug has been closed via the following commit(s):

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

commit afcc82fb9728ae744ad890e54a4c1b60145d64fa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-02 03:00:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-02 03:17:09 +0000

    sys-apps/edac-utils: install init script/systemd unit, CC fix
    
    1) The previous revision mentioned udev but the udev rule
    was dropped upstream quite some time ago as it was found
    to be unreliable.
    
    We now install an init script and a systemd unit to load
    the edac rules. The simple systemd unit was nabbed from Fedora.
    
    2) We now call eautoreconf in order to refesh libtool and friends
    to fix calling gcc directly.
    
    Closes: https://bugs.gentoo.org/725540
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/edac-utils/edac-utils-0.18-r1.ebuild | 53 +++++++++++++++++++++++++++
 sys-apps/edac-utils/files/edac.init           | 16 ++++++++
 sys-apps/edac-utils/files/edac.service        | 11 ++++++
 3 files changed, 80 insertions(+)