Sample: * ERROR: app-misc/lf-32::guru failed (unpack phase): * USE Flag 'abi_mips_o32' not in IUSE for app-misc/lf-32 * * Call stack: * ebuild.sh, line 136: Called src_unpack * environment, line 2487: Called go-module_src_unpack * environment, line 1715: Called go-env_set_compile_environment * environment, line 1572: Called go-env_goarch * environment, line 1530: Called use 'abi_mips_o32' * phase-helpers.sh, line 256: Called die * The specific snippet of code: * die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" * * If you need support, post the output of `emerge --info '=app-misc/lf-32::guru'`, * the complete build log and the output of `emerge -pqv '=app-misc/lf-32::guru'`. * The complete build log is located at '/var/tmp/portage/app-misc/lf-32/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/lf-32/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/lf-32/work' * S: '/var/tmp/portage/app-misc/lf-32/work/lf-r32'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf828923e730d232df90a3a057777230bc7092c commit 1cf828923e730d232df90a3a057777230bc7092c Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-07-09 20:28:52 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-07-16 09:15:36 +0000 go-env.eclass: Rewrite the go-env_goarch() logic The previous logic was flawed, incomplete, and needlessly made use of USE flags. We can rely on the tuple instead. Tested against all the tuples we have in our profiles. Closes: https://bugs.gentoo.org/935414 Signed-off-by: James Le Cuirot <chewi@gentoo.org> eclass/go-env.eclass | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-)