I tried to build hfsutils for a G4 CPU from an x86_64 workstation, and it fails due to trying the regular gcc with the cross-CFLAGS during configure. Reproducible: Always Steps to Reproduce: 1. emerge sys-fs/hfsutils # (using a cross-compiler profile) Actual Results: Fails, logs are attached. Expected Results: It should build properly. Setting the CC environment variable to the cross-compiler fixes it.
Created attachment 601756 [details] config.log
Created attachment 601758 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81732bd14d9907c32d1813ba3b7d073d5363b5f3 commit 81732bd14d9907c32d1813ba3b7d073d5363b5f3 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-12-30 08:08:19 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-12-30 08:08:45 +0000 sys-fs/hfsutils: Export CC Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/704232 Signed-off-by: Jeroen Roovers <jer@gentoo.org> sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch | 5 ++--- .../hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch | 4 ++-- sys-fs/hfsutils/files/largerthan2gb.patch | 4 ++-- ...tils-3.2.6-r5.ebuild => hfsutils-3.2.6-r6.ebuild} | 20 +++++++++----------- 4 files changed, 15 insertions(+), 18 deletions(-)