* [meta-virtualization][PATCH] singularity: Skip recipe on musl builds @ 2022-08-17 11:50 Andrei Gherzan 2022-08-17 14:09 ` Khem Raj 0 siblings, 1 reply; 8+ messages in thread From: Andrei Gherzan @ 2022-08-17 11:50 UTC (permalink / raw) To: meta-virtualization; +Cc: andrei, Andrei Gherzan From: Andrei Gherzan <andrei.gherzan@huawei.com> This recipe explicitely rdepends on glibc so trying to build this with musl will break world builds. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- recipes-containers/singularity/singularity_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb index 321a9a6..8e7ab76 100644 --- a/recipes-containers/singularity/singularity_git.bb +++ b/recipes-containers/singularity/singularity_git.bb @@ -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 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 11:50 [meta-virtualization][PATCH] singularity: Skip recipe on musl builds Andrei Gherzan @ 2022-08-17 14:09 ` Khem Raj 2022-08-17 14:15 ` Andrei Gherzan 0 siblings, 1 reply; 8+ messages in thread From: Khem Raj @ 2022-08-17 14:09 UTC (permalink / raw) To: Andrei Gherzan; +Cc: meta-virtualization, Andrei Gherzan On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: > > From: Andrei Gherzan <andrei.gherzan@huawei.com> > > 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. > Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> > --- > recipes-containers/singularity/singularity_git.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb > index 321a9a6..8e7ab76 100644 > --- a/recipes-containers/singularity/singularity_git.bb > +++ b/recipes-containers/singularity/singularity_git.bb > @@ -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: meta-virtualization+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 14:09 ` Khem Raj @ 2022-08-17 14:15 ` Andrei Gherzan 2022-08-17 14:59 ` Khem Raj 0 siblings, 1 reply; 8+ messages in thread From: Andrei Gherzan @ 2022-08-17 14:15 UTC (permalink / raw) To: Khem Raj; +Cc: meta-virtualization, Andrei Gherzan On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: >> >> From: Andrei Gherzan <andrei.gherzan@huawei.com> >> >> 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. https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 Andrei ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 14:15 ` Andrei Gherzan @ 2022-08-17 14:59 ` Khem Raj 2022-08-17 16:38 ` Andrei Gherzan 0 siblings, 1 reply; 8+ messages in thread From: Khem Raj @ 2022-08-17 14:59 UTC (permalink / raw) To: Andrei Gherzan; +Cc: meta-virtualization, Andrei Gherzan On Wed, Aug 17, 2022 at 7:15 AM Andrei Gherzan <andrei@gherzan.com> wrote: > > On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: > > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: > >> > >> From: Andrei Gherzan <andrei.gherzan@huawei.com> > >> > >> 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. > > https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 > 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 ? > Andrei ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 14:59 ` Khem Raj @ 2022-08-17 16:38 ` Andrei Gherzan 2022-08-17 16:53 ` Khem Raj 2022-08-21 3:21 ` Bruce Ashfield 0 siblings, 2 replies; 8+ messages in thread From: Andrei Gherzan @ 2022-08-17 16:38 UTC (permalink / raw) To: Khem Raj; +Cc: meta-virtualization, Andrei Gherzan On Wed, 17 Aug 2022, at 15:59, Khem Raj wrote: > On Wed, Aug 17, 2022 at 7:15 AM Andrei Gherzan <andrei@gherzan.com> wrote: >> >> On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: >> > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: >> >> >> >> From: Andrei Gherzan <andrei.gherzan@huawei.com> >> >> >> >> 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. >> >> https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 >> > > 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 16:38 ` Andrei Gherzan @ 2022-08-17 16:53 ` Khem Raj 2022-08-21 3:21 ` Bruce Ashfield 1 sibling, 0 replies; 8+ messages in thread From: Khem Raj @ 2022-08-17 16:53 UTC (permalink / raw) To: Andrei Gherzan; +Cc: meta-virtualization, Andrei Gherzan On Wed, Aug 17, 2022 at 9:38 AM Andrei Gherzan <andrei@gherzan.com> wrote: > > On Wed, 17 Aug 2022, at 15:59, Khem Raj wrote: > > On Wed, Aug 17, 2022 at 7:15 AM Andrei Gherzan <andrei@gherzan.com> wrote: > >> > >> On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: > >> > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: > >> >> > >> >> From: Andrei Gherzan <andrei.gherzan@huawei.com> > >> >> > >> >> 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. > >> > >> https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 > >> > > > > 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 > 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: meta-virtualization+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-17 16:38 ` Andrei Gherzan 2022-08-17 16:53 ` Khem Raj @ 2022-08-21 3:21 ` Bruce Ashfield 2022-08-21 8:13 ` Andrei Gherzan 1 sibling, 1 reply; 8+ messages in thread From: Bruce Ashfield @ 2022-08-21 3:21 UTC (permalink / raw) To: Andrei Gherzan; +Cc: Khem Raj, meta-virtualization, Andrei Gherzan In message: Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds on 17/08/2022 Andrei Gherzan wrote: > On Wed, 17 Aug 2022, at 15:59, Khem Raj wrote: > > On Wed, Aug 17, 2022 at 7:15 AM Andrei Gherzan <andrei@gherzan.com> wrote: > >> > >> On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: > >> > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: > >> >> > >> >> From: Andrei Gherzan <andrei.gherzan@huawei.com> > >> >> > >> >> 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. > >> > >> https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 > >> > > > > 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 > > 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: meta-virtualization+owner@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-virtualization][PATCH] singularity: Skip recipe on musl builds 2022-08-21 3:21 ` Bruce Ashfield @ 2022-08-21 8:13 ` Andrei Gherzan 0 siblings, 0 replies; 8+ messages in thread From: Andrei Gherzan @ 2022-08-21 8:13 UTC (permalink / raw) To: Bruce Ashfield; +Cc: Khem Raj, meta-virtualization On Sun, 21 Aug 2022, at 04:21, Bruce Ashfield wrote: > In message: Re: [meta-virtualization][PATCH] singularity: Skip recipe > on musl builds > on 17/08/2022 Andrei Gherzan wrote: > >> On Wed, 17 Aug 2022, at 15:59, Khem Raj wrote: >> > On Wed, Aug 17, 2022 at 7:15 AM Andrei Gherzan <andrei@gherzan.com> wrote: >> >> >> >> On Wed, 17 Aug 2022, at 15:09, Khem Raj wrote: >> >> > On Wed, Aug 17, 2022 at 4:51 AM Andrei Gherzan <andrei@gherzan.com> wrote: >> >> >> >> >> >> From: Andrei Gherzan <andrei.gherzan@huawei.com> >> >> >> >> >> >> 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. >> >> >> >> https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/singularity/singularity_git.bb?id=06bc17d1f0650ad2cb134b09b25133bcd641d473 >> >> >> > >> > 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. Thanks, Bruce. Andrei ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-08-21 8:14 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-08-17 11:50 [meta-virtualization][PATCH] singularity: Skip recipe on musl builds Andrei Gherzan 2022-08-17 14:09 ` Khem Raj 2022-08-17 14:15 ` Andrei Gherzan 2022-08-17 14:59 ` Khem Raj 2022-08-17 16:38 ` Andrei Gherzan 2022-08-17 16:53 ` Khem Raj 2022-08-21 3:21 ` Bruce Ashfield 2022-08-21 8:13 ` Andrei Gherzan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.