Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784938 - [guru] dev-libs/protothreads-1.4 calls cc directly
Summary: [guru] dev-libs/protothreads-1.4 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-22 06:41 UTC by Agostino Sarubbo
Modified: 2021-04-27 23:24 UTC (History)
1 user (show)

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


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

Issue: dev-libs/protothreads-1.4 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 06:41:13 UTC
Created attachment 701598 [details]
build.log

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

make: cc: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-22 17:07:00 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 4 Agostino Sarubbo gentoo-dev 2021-04-25 14:05:09 UTC
Changing TRACKER as requested by QA.
Comment 5 Larry the Git Cow gentoo-dev 2021-04-27 23:24:12 UTC
The bug has been closed via the following commit(s):

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

commit c123aa26f5d2ea3e1029cbb5e58d45ffbabcbf8d
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-04-25 23:46:20 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
CommitDate: 2021-04-25 23:46:20 +0000

    dev-libs/protothreads: respect CC
    
    Closes: https://bugs.gentoo.org/784938
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>

 dev-libs/protothreads/files/respect-cflags.patch |  8 ++++++++
 dev-libs/protothreads/protothreads-1.4.ebuild    | 17 +++++++----------
 2 files changed, 15 insertions(+), 10 deletions(-)