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

Bug 836014

Summary: sys-libs/talloc: Cross-emerge fails on src_configure
Product: Gentoo Linux Reporter: Michael <mkupfer99>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Output: emerge-aarch64-unknown-linux-gnu --info sys-libs/talloc

Description Michael 2022-03-25 21:25:09 UTC
Created attachment 767814 [details]
Build log

Cross-emerging sys-libs/talloc fails with:

Checking simple C program                : not found

Running waf with -vvv shows that it tries to execute said simple C program, which is not possible due to the test program being compiled for aarch64 while being on amd64.

For samba it is possible specify --cross-execute=CROSS_EXECUTE , maybe something similar is possible for talloc, such that it can be executed by chrooting into the target-ROOT and running qemu in there.
Comment 1 Jonas Stein gentoo-dev 2022-03-26 21:30:08 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. This includes
* a paste of the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 Michael 2022-03-26 23:01:05 UTC
Created attachment 767939 [details]
Output: emerge-aarch64-unknown-linux-gnu --info sys-libs/talloc