singularity: Skip recipe on musl builds
PATCH 1/1 singularity: Skip recipe on musl builds
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
--- recipes-containers/singularity/singularity_git.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-containers/singularity/singularity_git.bb +2 -0
@@ -28,3 +28,5 @@ pkg_postinst:${PN}() { rm -r $D${libdir}/ssl/certs ln -sr $D${sysconfdir}/ssl/certs $D${libdir}/ssl } + +COMPATIBLE_HOST:libc-musl:class-target = "null"
Signature · 1 line
2.25.1
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
do you know why is it marked as glibc only.
Quoted 27 lines
Signed-off-by Andrei Gherzan <[email protected]>--- recipes-containers/singularity/singularity_git.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-containers/singularity/singularity_git.bb +2
-1@@ -28,3 +28,5 @@ pkg_postinst:${PN}() { rm -r $D${libdir}/ssl/certs ln -sr $D${sysconfdir}/ssl/certs $D${libdir}/ssl } + +COMPATIBLE_HOST:libc-musl:class-target = "null" --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7526): https://lists.yoctoproject.org/g/meta-virtualization/message/7526
Mute This Topic: https://lists.yoctoproject.org/mt/93078736/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 9 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
Andrei
Quoted 10 lines · Andrei Gherzan
Quoted 8 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
Quoted 6 lines
Quoted 1 line
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
maybe that rdep on glibc is bogus. Its not normal to depends on glibc like that, in some cases e.g. locales etc it maybe that we need them but thats usually for ptests etc.
can you try to remove the rdep and see if it builds ok with musl too ?
Quoted 1 line
Andrei
Quoted 15 lines · Khem Raj
Quoted 14 lines · Andrei Gherzan
Quoted 9 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
Quoted 7 lines
maybe that rdep on glibc is bogus. Its not normal to depends on glibc like that, in some cases e.g. locales etc it maybe that we need them but thats usually for ptests etc.
can you try to remove the rdep and see if it builds ok with musl too ?
It built alright but I didn't check any runtime behaviour. I do find this a bit orthogonal at this point but I've sent both patches so Bruce can pick any - both approaches are working for me.
Andrei
Quoted 20 lines · Andrei Gherzan
Quoted 18 lines · Khem Raj
Quoted 16 lines · Andrei Gherzan
Quoted 9 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
Quoted 7 lines
Quoted 4 lines
maybe that rdep on glibc is bogus. Its not normal to depends on glibc like that, in some cases e.g. locales etc it maybe that we need them but thats usually for ptests etc.
can you try to remove the rdep and see if it builds ok with musl too ?It built alright but I didn't check any runtime behaviour. I do find this a bit orthogonal at this point but I've sent both patches so Bruce can pick any - both approaches are working for me.
Well not orthogonal I would say but alternate solution to what this patch is trying to fix, if you remove glibc from the rdeps then this patch is not needed
Quoted 10 lines
Andrei
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7538): https://lists.yoctoproject.org/g/meta-virtualization/message/7538
Mute This Topic: https://lists.yoctoproject.org/mt/93078736/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Bruce Ashfield
AppliedIn message: Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds
Quoted 19 lines · on 17/08/2022 Andrei Gherzan wrote:
Quoted 18 lines · Khem Raj
Quoted 16 lines · Andrei Gherzan
Quoted 9 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
Quoted 6 lines
Quoted 4 lines
maybe that rdep on glibc is bogus. Its not normal to depends on glibc like that, in some cases e.g. locales etc it maybe that we need them but thats usually for ptests etc.
can you try to remove the rdep and see if it builds ok with musl too ?It built alright but I didn't check any runtime behaviour. I do find this a bit orthogonal at this point but I've sent both patches so Bruce can pick any - both approaches are working for me.
I've gone for the removal of the glibc dep, singluarity needs quite a bit of runtime work .. so we'll do with that, and see if anyone notices.
merged to master and kirkstone.
Bruce
Quoted 12 lines
Andrei
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7538): https://lists.yoctoproject.org/g/meta-virtualization/message/7538
Mute This Topic: https://lists.yoctoproject.org/mt/93078736/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 28 lines · Bruce Ashfield
In message: Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds
Quoted 24 lines · on 17/08/2022 Andrei Gherzan wrote:
Quoted 22 lines · Khem Raj
Quoted 10 lines · Andrei Gherzan
Quoted 8 lines · Khem Raj
Quoted 6 lines · Andrei Gherzan
From: Andrei Gherzan <[email protected]>
This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds.
Quoted 6 lines
Quoted 1 line
do you know why is it marked as glibc only.
I've tried to figure it out but I couldn't find anything obvious.
maybe that rdep on glibc is bogus. Its not normal to depends on glibc like that, in some cases e.g. locales etc it maybe that we need them but thats usually for ptests etc.
can you try to remove the rdep and see if it builds ok with musl too ?
Quoted 6 lines
Quoted 1 line
It built alright but I didn't check any runtime behaviour. I do find this a bit orthogonal at this point but I've sent both patches so Bruce can pick any - both approaches are working for me.
I've gone for the removal of the glibc dep, singluarity needs quite a bit of runtime work .. so we'll do with that, and see if anyone notices.
merged to master and kirkstone.
Thanks, Bruce.
Andrei