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

Bug 766069

Summary: dev-util/colm-0.14.6 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=883993
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-01-19 07:34:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/colm-0.14.6 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] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-19 07:34:59 UTC
Created attachment 683626 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-19 07:35:01 UTC
Possible context of error(s):

sh: line 1: gcc: command not found
error: colm: there was a problem compiling the output
Comment 4 Agostino Sarubbo gentoo-dev 2021-01-20 07:31:11 UTC
(In reply to Sam James from comment #3)
> https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/
> colm?id=702512674608c58428dbc6b2033ad11780bcffbb

https://archives.gentoo.org/gentoo-dev/message/12eac8917110ce7c984501fb495e53a0
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-20 09:32:51 UTC
(In reply to Agostino Sarubbo from comment #4)
> (In reply to Sam James from comment #3)
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/
> > colm?id=702512674608c58428dbc6b2033ad11780bcffbb
> 
> https://archives.gentoo.org/gentoo-dev/message/
> 12eac8917110ce7c984501fb495e53a0

It was an accident and I went and found the bug and closed it...?
Comment 6 Larry the Git Cow gentoo-dev 2023-05-20 05:09:30 UTC
The bug has been referenced in the following commit(s):

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

commit 6693c3cc856e6328d7054c2e8224a4c93bf1315f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-20 04:56:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-20 04:56:43 +0000

    dev-util/colm: don't inject CFLAGS to main.cc
    
    Causes crashes with some combinations.
    
    Closes: https://bugs.gentoo.org/883993
    Bug: https://bugs.gentoo.org/766069
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/colm/colm-0.14.7-r3.ebuild | 69 +++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)