Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785016 - [guru] dev-util/xdp-tools-1.1.0 calls cc directly
Summary: [guru] dev-util/xdp-tools-1.1.0 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kurt Kanzenbach
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-22 09:01 UTC by Agostino Sarubbo
Modified: 2021-04-25 14:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.04 KB, text/plain)
2021-04-22 09:01 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 2021-04-22 09:01:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/xdp-tools-1.1.0 calls cc directly.
Discovered on: amd64 (internal ref: guru_tinderbox)

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-04-22 09:01:17 UTC
Created attachment 701664 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-22 09:01:20 UTC
Possible context of error(s):

*** ERROR: Cannot find tool gcc
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-22 17:07:33 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 4 Larry the Git Cow gentoo-dev 2021-04-23 08:47:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc6f9381e1a06340653d1bb05f0b1a40e2e7dfe2

commit dc6f9381e1a06340653d1bb05f0b1a40e2e7dfe2
Author:     Kurt Kanzenbach <kurt@kmk-computers.de>
AuthorDate: 2021-04-22 14:25:29 +0000
Commit:     Kurt Kanzenbach <kurt@kmk-computers.de>
CommitDate: 2021-04-22 14:25:42 +0000

    dev-util/xdp-tools: Allow to use different compilers
    
    Currently CC and AR are hardcoded to gcc/ar. Allow compilation e.g. with clang.
    
    Closes: https://bugs.gentoo.org/785016
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>

 dev-util/xdp-tools/xdp-tools-1.1.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 5 Agostino Sarubbo gentoo-dev 2021-04-25 14:05:18 UTC
Changing TRACKER as requested by QA.