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

Bug 792027

Summary: sci-libs/libqalculate-3.19.0 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
1-config.log

Description Agostino Sarubbo gentoo-dev 2021-05-25 14:58:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/libqalculate-3.19.0 calls cc directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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 2021-05-25 14:58:19 UTC
Created attachment 711153 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-25 14:58:20 UTC
Created attachment 711156 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-05-25 14:58:23 UTC
Possible context of error(s):

configure: error: in `/var/tmp/portage/sci-libs/libqalculate-3.19.0/work/libqalculate-3.19.0':
Comment 4 Larry the Git Cow gentoo-dev 2021-05-26 13:03:20 UTC
The bug has been closed via the following commit(s):

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

commit a640a624b33105ef1a2312ead735d289f33f1460
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-26 12:54:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-26 12:55:22 +0000

    sci-libs/libqalculate: don't call CC directly (misdetect, actually)
    
    Closes: https://bugs.gentoo.org/792027
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/libqalculate/libqalculate-3.19.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)