Summary: | dev-perl/Devel-NYTProf-6.60.0 uses "gcc" instead of "gcc -E" for c-preprocessing (sandbox: ACCESS DENIED: fopen_wr: /usr/include/time.h.gch) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | erkiferenc, kentnl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 723238 | ||
Attachments: |
emerge-info.txt
dev-perl:Devel-NYTProf-6.60.0:20200521-203641.log emerge-history.txt etc.portage.tbz2 logs.tbz2 |
Description
Toralf Förster
![]() Created attachment 640822 [details]
emerge-info.txt
Created attachment 640824 [details]
dev-perl:Devel-NYTProf-6.60.0:20200521-203641.log
Created attachment 640826 [details]
emerge-history.txt
Created attachment 640828 [details]
etc.portage.tbz2
Created attachment 640830 [details]
logs.tbz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33708c82c512b98ac90631edbc10a4bcb06cce6 commit b33708c82c512b98ac90631edbc10a4bcb06cce6 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-07-07 12:00:12 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-07-07 12:00:45 +0000 dev-perl/Devel-NYTProf: -r bump fix for bug #724506 - EAPI7 - Add subslot deps for zlib - Ensure CFLAGS passed to make/compiler - Fix problem introduced by -Dcpp=$(tc-getCPP) in dev-lang/perl where Devel-NYTProf incorrectly uses $Config{cpp} instead of $Config{cpprun}, which results in trying to invoke $GCC to pre-process headers for grep-based feature detection, where it *SHOULD* be invoking "$GCC -E", which in turn, leads to trying to compile system headers and in turn, writing precompiled headers to /usr/include, tripping a sandbox violation. Bug: https://bugs.gentoo.org/724506 Bug: https://github.com/timbunce/devel-nytprof/issues/139 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> .../Devel-NYTProf/Devel-NYTProf-6.60.0-r1.ebuild | 56 ++++++++++++++++++++++ .../files/Devel-NYTProf-6.06-cpprun.patch | 36 ++++++++++++++ dev-perl/Devel-NYTProf/metadata.xml | 1 + 3 files changed, 93 insertions(+) Fixed in -r1 |