All of lore.kernel.org
 help / color / mirror / Atom feed
* [oecore][PATCH] bc: add missing bison-native dependency
@ 2022-06-18 17:52 Markus Volk
  2022-06-21 17:32 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Volk @ 2022-06-18 17:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

this fixes an error i encountered building for raspberrypi4 32bit:

prefix-map=/home/flk/build/poky/build-raspi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/bc/1.07.1-r0/recipe-sysroot-native=  -Wall -funsigned-char -c -o warranty.o ../../bc-1.07.1/bc/warranty.c
| ../../bc-1.07.1/ylwrap: line 176: yacc: command not found
| make[2]: *** [Makefile:429: bc.c] Error 127

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-extended/bc/bc_1.07.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
index 1bec76bb2a..67453de822 100644
--- a/meta/recipes-extended/bc/bc_1.07.1.bb
+++ b/meta/recipes-extended/bc/bc_1.07.1.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
 
 SECTION = "base"
-DEPENDS = "flex-native"
+DEPENDS = "flex-native bison-native"
 
 SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
            file://no-gen-libmath.patch \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency
  2022-06-18 17:52 [oecore][PATCH] bc: add missing bison-native dependency Markus Volk
@ 2022-06-21 17:32 ` Richard Purdie
  2022-06-22  7:50   ` Markus Volk
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2022-06-21 17:32 UTC (permalink / raw)
  To: Markus Volk, openembedded-core

On Sat, 2022-06-18 at 19:52 +0200, Markus Volk wrote:
> this fixes an error i encountered building for raspberrypi4 32bit:
> 
> prefix-map=/home/flk/build/poky/build-raspi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/bc/1.07.1-r0/recipe-sysroot-native=  -Wall -funsigned-char -c -o warranty.o ../../bc-1.07.1/bc/warranty.c
> > ../../bc-1.07.1/ylwrap: line 176: yacc: command not found
> > make[2]: *** [Makefile:429: bc.c] Error 127
> 
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/recipes-extended/bc/bc_1.07.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
> index 1bec76bb2a..67453de822 100644
> --- a/meta/recipes-extended/bc/bc_1.07.1.bb
> +++ b/meta/recipes-extended/bc/bc_1.07.1.bb
> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
>                      file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
>  
>  SECTION = "base"
> -DEPENDS = "flex-native"
> +DEPENDS = "flex-native bison-native"
>  
>  SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
>             file://no-gen-libmath.patch \


The question is why you see that and nobody else has, including our
autobuilder.

I'm guessing something in your build is being rebuilt, hence the need
for bison whereas in most other builds that isn't rebuilding and hence
isn't needed.

Are you using a different configuration or extra patches or something?

I'm worried there is a reproducibility issue somewhere in here.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency
  2022-06-21 17:32 ` [OE-core] " Richard Purdie
@ 2022-06-22  7:50   ` Markus Volk
  2022-06-22 13:29     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Volk @ 2022-06-22  7:50 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core


Am 21.06.22 um 19:32 schrieb Richard Purdie:
> On Sat, 2022-06-18 at 19:52 +0200, Markus Volk wrote:
>> this fixes an error i encountered building for raspberrypi4 32bit:
>>
>> prefix-map=/home/flk/build/poky/build-raspi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/bc/1.07.1-r0/recipe-sysroot-native=  -Wall -funsigned-char -c -o warranty.o ../../bc-1.07.1/bc/warranty.c
>>> ../../bc-1.07.1/ylwrap: line 176: yacc: command not found
>>> make[2]: *** [Makefile:429: bc.c] Error 127
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>> ---
>>   meta/recipes-extended/bc/bc_1.07.1.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
>> index 1bec76bb2a..67453de822 100644
>> --- a/meta/recipes-extended/bc/bc_1.07.1.bb
>> +++ b/meta/recipes-extended/bc/bc_1.07.1.bb
>> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
>>                       file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
>>   
>>   SECTION = "base"
>> -DEPENDS = "flex-native"
>> +DEPENDS = "flex-native bison-native"
>>   
>>   SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
>>              file://no-gen-libmath.patch \
>
> The question is why you see that and nobody else has, including our
> autobuilder.
>
> I'm guessing something in your build is being rebuilt, hence the need
> for bison whereas in most other builds that isn't rebuilding and hence
> isn't needed.
>
> Are you using a different configuration or extra patches or something?
>
> I'm worried there is a reproducibility issue somewhere in here.
>
> Cheers,
>
> Richard

The problem occurred after I updated the oe-core master and started an 
image rebuild. Built the  image successfully for intel and aarch64 but 
got the above error for raspberrypi4.I ran 'bitbake -c cleansstate 
bc-native bc' but the problem persisted and I added bison-native and was 
able to continue. I never had this problem before, and after checking 
again, I can say that I don't have it anymore either. My image can be 
created again even without bison-native dependency.

I didn't do any patching on bc and also didn't change its configuration.

Markus



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency
  2022-06-22  7:50   ` Markus Volk
@ 2022-06-22 13:29     ` Richard Purdie
  2022-06-22 14:30       ` Markus Volk
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2022-06-22 13:29 UTC (permalink / raw)
  To: Markus Volk, openembedded-core

On Wed, 2022-06-22 at 09:50 +0200, Markus Volk wrote:
> Am 21.06.22 um 19:32 schrieb Richard Purdie:
> > On Sat, 2022-06-18 at 19:52 +0200, Markus Volk wrote:
> > > this fixes an error i encountered building for raspberrypi4 32bit:
> > > 
> > > prefix-map=/home/flk/build/poky/build-raspi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/bc/1.07.1-r0/recipe-sysroot-native=  -Wall -funsigned-char -c -o warranty.o ../../bc-1.07.1/bc/warranty.c
> > > > ../../bc-1.07.1/ylwrap: line 176: yacc: command not found
> > > > make[2]: *** [Makefile:429: bc.c] Error 127
> > > Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > > ---
> > >   meta/recipes-extended/bc/bc_1.07.1.bb | 2 +-
> > >   1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/meta/recipes-extended/bc/bc_1.07.1.bb b/meta/recipes-extended/bc/bc_1.07.1.bb
> > > index 1bec76bb2a..67453de822 100644
> > > --- a/meta/recipes-extended/bc/bc_1.07.1.bb
> > > +++ b/meta/recipes-extended/bc/bc_1.07.1.bb
> > > @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
> > >                       file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
> > >   
> > >   SECTION = "base"
> > > -DEPENDS = "flex-native"
> > > +DEPENDS = "flex-native bison-native"
> > >   
> > >   SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
> > >              file://no-gen-libmath.patch \
> > 
> > The question is why you see that and nobody else has, including our
> > autobuilder.
> > 
> > I'm guessing something in your build is being rebuilt, hence the need
> > for bison whereas in most other builds that isn't rebuilding and hence
> > isn't needed.
> > 
> > Are you using a different configuration or extra patches or something?
> > 
> > I'm worried there is a reproducibility issue somewhere in here.
> > 
> > Cheers,
> > 
> > Richard
> 
> The problem occurred after I updated the oe-core master and started an 
> image rebuild. Built the  image successfully for intel and aarch64 but 
> got the above error for raspberrypi4.I ran 'bitbake -c cleansstate 
> bc-native bc' but the problem persisted and I added bison-native and was 
> able to continue. I never had this problem before, and after checking 
> again, I can say that I don't have it anymore either. My image can be 
> created again even without bison-native dependency.
> 
> I didn't do any patching on bc and also didn't change its configuration.

Do you have the logs from the failed build? I'm wondering if there is
some clue in there about what it wanted to rebuild that needed bison?

I'm reluctant to take this change without understanding what went
wrong...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [oecore][PATCH] bc: add missing bison-native dependency
  2022-06-22 13:29     ` Richard Purdie
@ 2022-06-22 14:30       ` Markus Volk
  0 siblings, 0 replies; 5+ messages in thread
From: Markus Volk @ 2022-06-22 14:30 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core


Am 22.06.22 um 15:29 schrieb Richard Purdie:
>> The problem occurred after I updated the oe-core master and started an
>> image rebuild. Built the  image successfully for intel and aarch64 but
>> got the above error for raspberrypi4.I ran 'bitbake -c cleansstate
>> bc-native bc' but the problem persisted and I added bison-native and was
>> able to continue. I never had this problem before, and after checking
>> again, I can say that I don't have it anymore either. My image can be
>> created again even without bison-native dependency.
>>
>> I didn't do any patching on bc and also didn't change its configuration.
> Do you have the logs from the failed build? I'm wondering if there is
> some clue in there about what it wanted to rebuild that needed bison?
>
> I'm reluctant to take this change without understanding what went
> wrong...
>
> Cheers,
>
> Richard

Unfortunately, I no longer have a build log of the error and cannot 
reproduce it, so I think you are right to be reluctant.

Markus



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-22 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-18 17:52 [oecore][PATCH] bc: add missing bison-native dependency Markus Volk
2022-06-21 17:32 ` [OE-core] " Richard Purdie
2022-06-22  7:50   ` Markus Volk
2022-06-22 13:29     ` Richard Purdie
2022-06-22 14:30       ` Markus Volk

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.