diff mbox series

[1/4] bash: Add INSANE_SKIP=build-deps to ptest subpackage

Message ID 20260311122922.4160133-1-zboszor@gmail.com
State New
Headers show
Series [1/4] bash: Add INSANE_SKIP=build-deps to ptest subpackage | expand

Commit Message

Böszörményi Zoltán March 11, 2026, 12:29 p.m. UTC
This fixes a QA error:

ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
but it isn't a build dependency? [build-deps]

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta/recipes-extended/bash/bash.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Marko March 11, 2026, 12:44 p.m. UTC | #1
These INSANE_SKIP assignments are wrong.
Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in your distro.

Peter

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
> lists.openembedded.org
> Sent: Wednesday, March 11, 2026 13:29
> To: openembedded-core@lists.openembedded.org
> Cc: Zoltán Böszörményi <zboszor@gmail.com>
> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
> subpackage
> 
> This fixes a QA error:
> 
> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
> but it isn't a build dependency? [build-deps]
> 
> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> ---
>  meta/recipes-extended/bash/bash.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
> extended/bash/bash.inc
> index 634209c911..b43b1cbf89 100644
> --- a/meta/recipes-extended/bash/bash.inc
> +++ b/meta/recipes-extended/bash/bash.inc
> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
>  RDEPENDS:${PN} += "base-files"
>  RDEPENDS:${PN}:class-nativesdk = ""
>  RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
> +INSANE_SKIP:${PN}-ptest = "build-deps"
> 
>  RDEPENDS:${PN}-ptest:append:libc-glibc = " \
>  	glibc-gconv-big5hkscs \
> --
> 2.53.0
Böszörményi Zoltán March 11, 2026, 1:12 p.m. UTC | #2
2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
> These INSANE_SKIP assignments are wrong.
> Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in your distro.

It doesn't help.

>
> Peter
>
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-
>> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
>> lists.openembedded.org
>> Sent: Wednesday, March 11, 2026 13:29
>> To: openembedded-core@lists.openembedded.org
>> Cc: Zoltán Böszörményi <zboszor@gmail.com>
>> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
>> subpackage
>>
>> This fixes a QA error:
>>
>> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
>> but it isn't a build dependency? [build-deps]
>>
>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>> ---
>>   meta/recipes-extended/bash/bash.inc | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
>> extended/bash/bash.inc
>> index 634209c911..b43b1cbf89 100644
>> --- a/meta/recipes-extended/bash/bash.inc
>> +++ b/meta/recipes-extended/bash/bash.inc
>> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
>>   RDEPENDS:${PN} += "base-files"
>>   RDEPENDS:${PN}:class-nativesdk = ""
>>   RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
>> +INSANE_SKIP:${PN}-ptest = "build-deps"
>>
>>   RDEPENDS:${PN}-ptest:append:libc-glibc = " \
>>   	glibc-gconv-big5hkscs \
>> --
>> 2.53.0
Böszörményi Zoltán March 11, 2026, 1:38 p.m. UTC | #3
2026. 03. 11. 14:12 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
> 2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
>> These INSANE_SKIP assignments are wrong.
>> Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in your distro.
>
> It doesn't help.

Maybe moving the locale-base-* dependencies from
RDEPENDS:${PN}-ptest to RRECOMMENDS:${PN}-ptest
can work around this problem without INSANE_SKIP.
I'll test this.

>
>>
>> Peter
>>
>>> -----Original Message-----
>>> From: openembedded-core@lists.openembedded.org <openembedded-
>>> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
>>> lists.openembedded.org
>>> Sent: Wednesday, March 11, 2026 13:29
>>> To: openembedded-core@lists.openembedded.org
>>> Cc: Zoltán Böszörményi <zboszor@gmail.com>
>>> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
>>> subpackage
>>>
>>> This fixes a QA error:
>>>
>>> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
>>> but it isn't a build dependency? [build-deps]
>>>
>>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>>> ---
>>>   meta/recipes-extended/bash/bash.inc | 1 +
>>>   1 file changed, 1 insertion(+)
>>>
>>> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
>>> extended/bash/bash.inc
>>> index 634209c911..b43b1cbf89 100644
>>> --- a/meta/recipes-extended/bash/bash.inc
>>> +++ b/meta/recipes-extended/bash/bash.inc
>>> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
>>>   RDEPENDS:${PN} += "base-files"
>>>   RDEPENDS:${PN}:class-nativesdk = ""
>>>   RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
>>> +INSANE_SKIP:${PN}-ptest = "build-deps"
>>>
>>>   RDEPENDS:${PN}-ptest:append:libc-glibc = " \
>>>       glibc-gconv-big5hkscs \
>>> -- 
>>> 2.53.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#232878): https://lists.openembedded.org/g/openembedded-core/message/232878
> Mute This Topic: https://lists.openembedded.org/mt/118259058/3617728
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Peter Marko March 11, 2026, 1:40 p.m. UTC | #4
> -----Original Message-----
> From: Böszörményi Zoltán <zboszor@gmail.com>
> Sent: Wednesday, March 11, 2026 14:12
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
> subpackage
> 
> 2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
> > These INSANE_SKIP assignments are wrong.
> > Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in your
> distro.
> 
> It doesn't help.

I'm not sure why it down't work for you, since it works for me and for Yocto AB.
Did you added it to your distro settings and not just to a recipe?
The explanation about this is at: https://git.yoctoproject.org/meta-yocto/tree/meta-poky/conf/templates/default/local.conf.sample.extended#n61

Peter

> 
> >
> > Peter
> >
> >> -----Original Message-----
> >> From: openembedded-core@lists.openembedded.org <openembedded-
> >> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
> >> lists.openembedded.org
> >> Sent: Wednesday, March 11, 2026 13:29
> >> To: openembedded-core@lists.openembedded.org
> >> Cc: Zoltán Böszörményi <zboszor@gmail.com>
> >> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
> >> subpackage
> >>
> >> This fixes a QA error:
> >>
> >> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
> >> but it isn't a build dependency? [build-deps]
> >>
> >> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> >> ---
> >>   meta/recipes-extended/bash/bash.inc | 1 +
> >>   1 file changed, 1 insertion(+)
> >>
> >> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
> >> extended/bash/bash.inc
> >> index 634209c911..b43b1cbf89 100644
> >> --- a/meta/recipes-extended/bash/bash.inc
> >> +++ b/meta/recipes-extended/bash/bash.inc
> >> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
> >>   RDEPENDS:${PN} += "base-files"
> >>   RDEPENDS:${PN}:class-nativesdk = ""
> >>   RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
> >> +INSANE_SKIP:${PN}-ptest = "build-deps"
> >>
> >>   RDEPENDS:${PN}-ptest:append:libc-glibc = " \
> >>   	glibc-gconv-big5hkscs \
> >> --
> >> 2.53.0
Böszörményi Zoltán March 11, 2026, 1:42 p.m. UTC | #5
2026. 03. 11. 14:40 keltezéssel, Marko, Peter írta:
>
>> -----Original Message-----
>> From: Böszörményi Zoltán <zboszor@gmail.com>
>> Sent: Wednesday, March 11, 2026 14:12
>> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
>> openembedded-core@lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
>> subpackage
>>
>> 2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
>>> These INSANE_SKIP assignments are wrong.
>>> Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in your
>> distro.
>>
>> It doesn't help.
> I'm not sure why it down't work for you, since it works for me and for Yocto AB.
> Did you added it to your distro settings and not just to a recipe?
> The explanation about this is at: https://git.yoctoproject.org/meta-yocto/tree/meta-poky/conf/templates/default/local.conf.sample.extended#n61

I added it to my distro include file.

>
> Peter
>
>>> Peter
>>>
>>>> -----Original Message-----
>>>> From: openembedded-core@lists.openembedded.org <openembedded-
>>>> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
>>>> lists.openembedded.org
>>>> Sent: Wednesday, March 11, 2026 13:29
>>>> To: openembedded-core@lists.openembedded.org
>>>> Cc: Zoltán Böszörményi <zboszor@gmail.com>
>>>> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
>>>> subpackage
>>>>
>>>> This fixes a QA error:
>>>>
>>>> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
>>>> but it isn't a build dependency? [build-deps]
>>>>
>>>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>>>> ---
>>>>    meta/recipes-extended/bash/bash.inc | 1 +
>>>>    1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
>>>> extended/bash/bash.inc
>>>> index 634209c911..b43b1cbf89 100644
>>>> --- a/meta/recipes-extended/bash/bash.inc
>>>> +++ b/meta/recipes-extended/bash/bash.inc
>>>> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
>>>>    RDEPENDS:${PN} += "base-files"
>>>>    RDEPENDS:${PN}:class-nativesdk = ""
>>>>    RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
>>>> +INSANE_SKIP:${PN}-ptest = "build-deps"
>>>>
>>>>    RDEPENDS:${PN}-ptest:append:libc-glibc = " \
>>>>    	glibc-gconv-big5hkscs \
>>>> --
>>>> 2.53.0
Peter Marko March 11, 2026, 2:02 p.m. UTC | #6
> -----Original Message-----
> From: Böszörményi Zoltán <zboszor@gmail.com>
> Sent: Wednesday, March 11, 2026 14:43
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
> openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
> subpackage
> 
> 2026. 03. 11. 14:40 keltezéssel, Marko, Peter írta:
> >
> >> -----Original Message-----
> >> From: Böszörményi Zoltán <zboszor@gmail.com>
> >> Sent: Wednesday, March 11, 2026 14:12
> >> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
> >> openembedded-core@lists.openembedded.org
> >> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to
> ptest
> >> subpackage
> >>
> >> 2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
> >>> These INSANE_SKIP assignments are wrong.
> >>> Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in
> your
> >> distro.
> >>
> >> It doesn't help.
> > I'm not sure why it down't work for you, since it works for me and for Yocto AB.
> > Did you added it to your distro settings and not just to a recipe?
> > The explanation about this is at: https://git.yoctoproject.org/meta-
> yocto/tree/meta-poky/conf/templates/default/local.conf.sample.extended#n61
> 
> I added it to my distro include file.

Have you verified the final value via bitbake-getvar?
You are overriding the default (otherwise you would not see the warnings),
So possibly you added it to a place where it anyway overwritten later.

Peter

> 
> >
> > Peter
> >
> >>> Peter
> >>>
> >>>> -----Original Message-----
> >>>> From: openembedded-core@lists.openembedded.org <openembedded-
> >>>> core@lists.openembedded.org> On Behalf Of Zoltan Boszormenyi via
> >>>> lists.openembedded.org
> >>>> Sent: Wednesday, March 11, 2026 13:29
> >>>> To: openembedded-core@lists.openembedded.org
> >>>> Cc: Zoltán Böszörményi <zboszor@gmail.com>
> >>>> Subject: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to
> ptest
> >>>> subpackage
> >>>>
> >>>> This fixes a QA error:
> >>>>
> >>>> ERROR: QA Issue: bash-ptest rdepends on locale-base-fr-fr.iso-8559-1,
> >>>> but it isn't a build dependency? [build-deps]
> >>>>
> >>>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> >>>> ---
> >>>>    meta/recipes-extended/bash/bash.inc | 1 +
> >>>>    1 file changed, 1 insertion(+)
> >>>>
> >>>> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-
> >>>> extended/bash/bash.inc
> >>>> index 634209c911..b43b1cbf89 100644
> >>>> --- a/meta/recipes-extended/bash/bash.inc
> >>>> +++ b/meta/recipes-extended/bash/bash.inc
> >>>> @@ -32,6 +32,7 @@ ALTERNATIVE_PRIORITY = "100"
> >>>>    RDEPENDS:${PN} += "base-files"
> >>>>    RDEPENDS:${PN}:class-nativesdk = ""
> >>>>    RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-
> setpriv"
> >>>> +INSANE_SKIP:${PN}-ptest = "build-deps"
> >>>>
> >>>>    RDEPENDS:${PN}-ptest:append:libc-glibc = " \
> >>>>    	glibc-gconv-big5hkscs \
> >>>> --
> >>>> 2.53.0
Böszörményi Zoltán March 11, 2026, 3:26 p.m. UTC | #7
2026. 03. 11. 15:02 keltezéssel, Marko, Peter írta:
>
>> -----Original Message-----
>> From: Böszörményi Zoltán <zboszor@gmail.com>
>> Sent: Wednesday, March 11, 2026 14:43
>> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
>> openembedded-core@lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to ptest
>> subpackage
>>
>> 2026. 03. 11. 14:40 keltezéssel, Marko, Peter írta:
>>>> -----Original Message-----
>>>> From: Böszörményi Zoltán <zboszor@gmail.com>
>>>> Sent: Wednesday, March 11, 2026 14:12
>>>> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
>>>> openembedded-core@lists.openembedded.org
>>>> Subject: Re: [OE-core] [PATCH 1/4] bash: Add INSANE_SKIP=build-deps to
>> ptest
>>>> subpackage
>>>>
>>>> 2026. 03. 11. 13:44 keltezéssel, Marko, Peter írta:
>>>>> These INSANE_SKIP assignments are wrong.
>>>>> Use GLIBC_GENERATE_LOCALES = "all" (or select just those you need) in
>> your
>>>> distro.
>>>>
>>>> It doesn't help.
>>> I'm not sure why it down't work for you, since it works for me and for Yocto AB.
>>> Did you added it to your distro settings and not just to a recipe?
>>> The explanation about this is at: https://git.yoctoproject.org/meta-
>> yocto/tree/meta-poky/conf/templates/default/local.conf.sample.extended#n61
>>
>> I added it to my distro include file.
> Have you verified the final value via bitbake-getvar?
> You are overriding the default (otherwise you would not see the warnings),
> So possibly you added it to a place where it anyway overwritten later.

Yes, I just checked it. It's not set from anywhere else,
only from my distro include file. It's set to "all".

As I said, setting it does not help with all the build-deps QA errors.
Previously it wasn't set at all, and I have not seen a similar QA error under Yocto 5.3.

Isn't it possible that the ptest subpackages for bash, gawk, m4 and others
have just gained extra locale-base-* dependencies that previously weren't there?
And now they are not being covered by DYNAMIC_PACKAGES in glibc-locales for some reason?
diff mbox series

Patch

diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 634209c911..b43b1cbf89 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -32,6 +32,7 @@  ALTERNATIVE_PRIORITY = "100"
 RDEPENDS:${PN} += "base-files"
 RDEPENDS:${PN}:class-nativesdk = ""
 RDEPENDS:${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
+INSANE_SKIP:${PN}-ptest = "build-deps"
 
 RDEPENDS:${PN}-ptest:append:libc-glibc = " \
 	glibc-gconv-big5hkscs \