Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784791 - [guru] app-crypt/reop-2.1.1 calls cc directly
Summary: [guru] app-crypt/reop-2.1.1 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-21 12:21 UTC by Agostino Sarubbo
Modified: 2021-05-17 19:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,6.46 KB, text/plain)
2021-04-21 12:21 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-21 12:21:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/reop-2.1.1 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-21 12:21:41 UTC
Created attachment 701493 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-21 12:21:43 UTC
Possible context of error(s):

make: cc: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-22 17:06:25 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 4 Haelwenn (lanodan) Monnier 2021-04-23 09:45:37 UTC
Your build.log says "Unset:  CC", which seems incorrect in this case.

The ebuild is using `emake CC=${CC:-cc} …` so it should be correct, it is expecting to fallback to gcc instead?
Comment 5 Agostino Sarubbo gentoo-dev 2021-04-25 14:04:57 UTC
Changing TRACKER as requested by QA.
Comment 6 Larry the Git Cow gentoo-dev 2021-05-17 19:11:42 UTC
The bug has been closed via the following commit(s):

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

commit d592068f9dbdfd5963859ca7a6d26002f1b6f9e0
Author:     Anna Vyalkova <cyber@sysrq.in>
AuthorDate: 2021-05-16 12:12:57 +0000
Commit:     Anna Vyalkova <cyber@sysrq.in>
CommitDate: 2021-05-16 14:05:01 +0000

    app-crypt/reop: properly set CC variable
    
    Closes: https://bugs.gentoo.org/784791
    Signed-off-by: Anna Vyalkova <cyber@sysrq.in>

 app-crypt/reop/reop-2.1.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)