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 \
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#167030): 
https://lists.openembedded.org/g/openembedded-core/message/167030
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to