Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935414 - Packages inheriting go-env.eclass fail to unpack on mips: USE Flag 'abi_mips_o32' not in IUSE
Summary: Packages inheriting go-env.eclass fail to unpack on mips: USE Flag 'abi_mips_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Flatcar Linux Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-03 16:27 UTC by matoro
Modified: 2024-07-16 09:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-03 16:27:38 UTC
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'
Comment 1 Larry the Git Cow gentoo-dev 2024-07-16 09:16:50 UTC
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(-)