Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894150 - dev-libs/apr-1.7.2 calls cc directly
Summary: dev-libs/apr-1.7.2 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2023-02-13 07:44 UTC by Agostino Sarubbo
Modified: 2023-02-13 22:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,44.76 KB, text/plain)
2023-02-13 07:44 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,14.81 KB, text/plain)
2023-02-13 07:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-13 07:44:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/apr-1.7.2 calls cc directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-13 07:44:51 UTC
Created attachment 850662 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-13 07:44:52 UTC
Created attachment 850664 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-13 07:44:53 UTC
Error(s) that match a know pattern:

configure: error: in `/var/tmp/portage/dev-libs/apr-1.7.2/work/apr-1.7.2':
Comment 4 Larry the Git Cow gentoo-dev 2023-02-13 22:45:05 UTC
The bug has been closed via the following commit(s):

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

commit aabd182f30135ef2f823886e347cfeb649917fc9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-13 08:38:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 22:44:48 +0000

    dev-libs/apr: respect CC
    
    I tried with all the normal techniques to get this to happen and couldn't,
    but maybe I'm just tired and missing something. Anyway, with these,
    a few more things start respecting the env, but I couldn't actually get
    CC to fail like it did in the bug.
    
    Closes: https://bugs.gentoo.org/894150
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/apr/apr-1.7.2.ebuild | 2 ++
 1 file changed, 2 insertions(+)