Skip to contentSkip to conversation

krb5: DEPENDS on bison-native

PATCH New André Draszik 1 participant 1 message May 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 krb5: DEPENDS on bison-native

From: André Draszik <[email protected]>

bison-native is required for the build:

| yacc  getdate.y
| make[2]: yacc: Command not found
| make[2]: *** [<builtin>: getdate.c] Error 127

In most cases, this dependency comes indirectly via toolchain dependencies, specifically binutils-cross, which pulls bison-native.

Different setups, such as with external toolchains, or an upcoming change to OE-core for avoiding exactly this unnoticed dependency expose this problem, since the correct dependency is not marked explicitly.

---
 meta-oe/recipes-connectivity/krb5/krb5_1.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/krb5/krb5_1.16.bb +1 -1
index f95240f54..6eedd2a22 100644
@@ -15,7 +15,7 @@ HOMEPAGE = "http://web.mit.edu/Kerberos/"
 SECTION = "console/network"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=59b8da652f07186b44782a8454574f30"
-DEPENDS = "ncurses util-linux e2fsprogs e2fsprogs-native openssl"
+DEPENDS = "bison-native ncurses util-linux e2fsprogs e2fsprogs-native openssl"
 
 inherit autotools-brokensep binconfig perlnative systemd update-rc.d
 
Signature · 1 line
2.17.0