Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645926 - hardened/linux/musl/x86 inherits from default/linux/uclibc/x86 instead of default/linux/musl/x86
Summary: hardened/linux/musl/x86 inherits from default/linux/uclibc/x86 instead of def...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-28 00:30 UTC by redneb
Modified: 2018-01-28 16:32 UTC (History)
1 user (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 redneb 2018-01-28 00:30:11 UTC
The file /usr/portage/profiles/hardened/linux/musl/x86/parent contains the following:

    ../../../../default/linux/uclibc/x86
    ..

So the hardened/linux/musl/x86 profile inherits from default/linux/uclibc/x86, which is weird. For example, sys-libs/musl is hard masked in default/linux/uclibc/x86. I believe the intent was to inherit from default/linux/musl/x86 instead.

For comparison, hardened/linux/musl/amd64 inherits from default/linux/musl/amd64 as one would expect.
Comment 1 redneb 2018-01-28 00:35:10 UTC
For reference, here's the commit that introduced the problem:

commit b9ad142cf146833afca79b20b340c7ecc76b731f
Author: Anthony G. Basile <blueness@gentoo.org>
Date:   Tue Dec 12 22:24:47 2017 -0500

    profiles: hardened/linux/musl inherits from default/linux/musl
    
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Comment 2 Anthony Basile gentoo-dev 2018-01-28 01:12:01 UTC
(In reply to redneb from comment #0)
> The file /usr/portage/profiles/hardened/linux/musl/x86/parent contains the
> following:
> 
>     ../../../../default/linux/uclibc/x86
>     ..
> 
> So the hardened/linux/musl/x86 profile inherits from
> default/linux/uclibc/x86, which is weird. For example, sys-libs/musl is hard
> masked in default/linux/uclibc/x86. I believe the intent was to inherit from
> default/linux/musl/x86 instead.
> 
> For comparison, hardened/linux/musl/amd64 inherits from
> default/linux/musl/amd64 as one would expect.

ouch!  i can't believe i didn't catch that.  i'm in the process of completely restructuring the musl profiles, so i'm not going to fix this.  i'll just deprecate it as soon as the new one rolls out.
Comment 3 Stuart Longland 2018-01-28 02:04:16 UTC
Ahh, so I'm not going crazy… been wondering why my x86 musl stage builds were up the spout! :-)
Comment 4 Anthony Basile gentoo-dev 2018-01-28 16:32:11 UTC
(In reply to Stuart Longland from comment #3)
> Ahh, so I'm not going crazy… been wondering why my x86 musl stage builds
> were up the spout! :-)

actually it may be a while until people switch over, so i just pushed the fix.