Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720788 - dev-perl/Encode-Detect calls cpp directly
Summary: dev-perl/Encode-Detect calls cpp directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
: 743310 (view as bug list)
Depends on:
Blocks: tc-directly perl-toolchain
  Show dependency tree
Reported: 2020-05-03 11:41 UTC by Agostino Sarubbo
Modified: 2020-09-19 10:54 UTC (History)
1 user (show)

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

build.log (build.log,7.70 KB, text/plain)
2020-05-03 11:41 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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.

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

commit bc5f80ad3f5e573e3774d3749a79b493d993eba7
Author:     Kent Fredric <>
AuthorDate: 2020-08-13 10:15:02 +0000
Commit:     Kent Fredric <>
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
    Package-Manager: Portage-2.3.103, Repoman-2.3.22
    Signed-off-by: Kent Fredric <>

 .../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. ***