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

Bug 720788

Summary: dev-perl/Encode-Detect calls cpp directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal CC: kentnl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502, 723238    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-03 11:41:03 UTC
This is an auto-filled bug because dev-perl/Encode-Detect calls cpp directly.
The issue was originally discovered on arm64, 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 CPP implementation (like clang-cpp) by setting the CPP variable. So this issue has been reproduced by setting the CPP variable to aarch64-unknown-linux-gnu-cpp and by removing the /usr/bin/cpp binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-03 11:41:18 UTC
Created attachment 635816 [details]
build.log

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

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

commit bc5f80ad3f5e573e3774d3749a79b493d993eba7
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2020-08-13 10:15:02 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2020-08-13 10:15:20 +0000

    dev-perl/Encode-Detect: -r bump for EAPI7 + Fixes
    
    - EAPI7
    - Fix redundancy in DESCRIPTION
    - Fix LICENSE
    - Remove empty/unused variable assignments
    - Parallel tests
    - Guard against LD!=ccld breaking code re bug #720788
    - Ensure CFLAGS passed to compiler
    
    Bug: https://bugs.gentoo.org/720788
    Package-Manager: Portage-2.3.103, Repoman-2.3.22
    Signed-off-by: Kent Fredric <kentnl@gentoo.org>

 .../Encode-Detect/Encode-Detect-1.10.0-r2.ebuild   | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-09-19 10:54:27 UTC
*** Bug 743310 has been marked as a duplicate of this bug. ***