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

Bug 726020

Summary: sys-power/nvram-wakeup calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
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-29 06:56:59 UTC
This is an auto-filed bug because sys-power/nvram-wakeup 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-29 06:57:05 UTC
Created attachment 642448 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-10-24 15:26:22 UTC
The bug has been referenced in the following commit(s):

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

commit 42b0b2e547f3649cbbe17b12cefb470fd167cc17
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 15:26:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 15:26:07 +0000

    package.mask: Last rite sys-power/nvram-wakeup
    
    Bug: https://bugs.gentoo.org/124755
    Bug: https://bugs.gentoo.org/713472
    Bug: https://bugs.gentoo.org/726020
    Bug: https://bugs.gentoo.org/740912
    Bug: https://bugs.gentoo.org/742434
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-22 14:55:06 UTC
The bug has been closed via the following commit(s):

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

commit 1a59c270a9b0a7d45d25b7541d88c2753d078033
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 14:54:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 14:54:06 +0000

    sys-power/nvram-wakeup: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/124755
    Closes: https://bugs.gentoo.org/713472
    Closes: https://bugs.gentoo.org/726020
    Closes: https://bugs.gentoo.org/740912
    Closes: https://bugs.gentoo.org/742434
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                              |  6 --
 sys-power/nvram-wakeup/Manifest                    |  1 -
 .../files/nvram-wakeup-0.97-nonls.patch            | 18 ------
 sys-power/nvram-wakeup/metadata.xml                | 11 ----
 sys-power/nvram-wakeup/nvram-wakeup-1.1.ebuild     | 73 ----------------------
 5 files changed, 109 deletions(-)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-11-23 06:06:28 UTC
Users:
If you're looking for a maintained replacement for nvram-wakeup, on non-EFI systems, you should look at busybox rtcwake.

The same caveats as nvram-wakeup apply: the code interacts directly with the NVRAM/CMOS state.