Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742695 - sys-libs/glibc-2.32-r1: Missing riscv in USE_EXPAND_VALUES_ARCH in make.defaults in embedded profile
Summary: sys-libs/glibc-2.32-r1: Missing riscv in USE_EXPAND_VALUES_ARCH in make.defau...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: riscv Linux
: Normal minor
Assignee: RISCV project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-15 16:56 UTC by Alexandru N. Barloiu
Modified: 2020-09-17 11:05 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 Alexandru N. Barloiu 2020-09-15 16:56:29 UTC
Hello. I was using the embedded profile to build a system up for aarch64 to try to avoid as much man stuff as possible. Anyway, glibc fails to build with error:
 * ERROR: sys-libs/glibc-2.32-r1::gentoo failed (unpack phase):
 *   USE Flag 'riscv' not in IUSE for sys-libs/glibc-2.32-r1
There is no point in posting the entire build log. Just adding riscv on 26th line in /usr/portage/profiles/embedded/make.defaults fixes the issue and after that glibc builds ok. I assume other arches are affected as well. 


Reproducible: Always
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-17 08:19:59 UTC
Yeah, arch/base/make.defaults:USE_EXPAND_VALUES_ARCH must always be in sync with embedded/make.defaults:USE_EXPAND_VALUES_ARCH. Do you want to write a patch appliable with 'git am'?
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2020-09-17 11:00:28 UTC
Don't, I'm dropping that variable anyway later today or tomorrow.

(it's multilib overkill, has no practical use cases, and glibc support for it is very bad at the moment)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2020-09-17 11:05:19 UTC
Too fast. Too many variables. Got confused.
Comment 4 Larry the Git Cow gentoo-dev 2020-09-17 11:05:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb7c8ef090081d24f51d7eb767518a5d40032ec

commit eeb7c8ef090081d24f51d7eb767518a5d40032ec
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-09-17 11:04:30 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-09-17 11:05:01 +0000

    profiles: Add riscv to profiles/embedded/make.defaults USE_EXPAND_VALUES_ARCH
    
    Closes: https://bugs.gentoo.org/742695
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 profiles/embedded/make.defaults | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)