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 <[email protected]>
---
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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#167222):
https://lists.openembedded.org/g/openembedded-core/message/167222
Mute This Topic: https://lists.openembedded.org/mt/91845057/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-