Skip to contentSkip to conversation

pcmciautils: add dependency on bison-native

PATCH New Martin Jansa 1 participant 7 messages Aug 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 pcmciautils: add dependency on bison-native

* fixes:
yacc -d src/yacc_config.y
cat udev/rules-start udev/rules-modprobe udev/rules-base udev/rules-nonstaticsocket udev/rules-end | sed -e "s#__UDEVHELPERDIR__#/lib/udev#g" > udev/60-pcmcia.rules
make: yacc: Command not found
Makefile:233: recipe for target 'src/yacc_config.h' failed
make: *** [src/yacc_config.h] Error 127

---
 meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb +1 -1
index 2e59f05c2c..fc064550fd 100644
@@ -5,7 +5,7 @@ SECTION = "kernel/userland"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-DEPENDS = "udev sysfsutils flex-native"
+DEPENDS = "udev sysfsutils flex-native bison-native"
 RDEPENDS_${PN} = "udev module-init-tools"
 
 PR = "r1"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/7 gpm: add dependency on bison-native

* fixes:
yacc gpm/1.99.7+git1fd19417b8a4dd9945347e98dfa97e4cfd798d77-r2/git/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c /bin/sh: 1: yacc: not found
Makefile:149: recipe for target 'prog/gpm-root.c' failed
make[1]: *** [prog/gpm-root.c] Error 127

---
 meta-oe/recipes-support/gpm/gpm_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gpm/gpm_git.bb +1 -1
index 51c4dd6397..dcc9d68eaa 100644
@@ -9,7 +9,7 @@ PV = "1.99.7+git${SRCREV}"
 PR = "r2"
 SRCREV = "1fd19417b8a4dd9945347e98dfa97e4cfd798d77"
 
-DEPENDS = "ncurses"
+DEPENDS = "ncurses bison-native"
 
 SRC_URI = "git://github.com/telmich/gpm;protocol=git \
            file://init \
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/7 kconfig-frontends: add dependency on bison-native

In reply to Martin Jansa

* fixes:
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking for yacc... no
configure: error: can not find a parser generator (such as yacc or bison)

---
 .../kconfig-frontends/kconfig-frontends_4.11.0.1.bb             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb +1 -1
index df08b8b114..de9a6eb998 100644
@@ -11,7 +11,7 @@ HOMEPAGE = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
 SECTION = "devel"
-DEPENDS += "ncurses flex bison gperf-native"
+DEPENDS += "ncurses flex bison gperf-native bison-native"
 RDEPENDS_${PN} += "python3 bash"
 SRC_URI = "git://ymorin.is-a-geek.org/kconfig-frontends;branch=4.11.x \
 	   file://0001-Makefile-ensure-frontends-exits-before-writing-into-.patch \
Signature · 1 line
2.17.1
#3 lore raw

PATCH 4/7 gsoap: add dependency on bison-native

In reply to Martin Jansa

* fixes:
make[4]: Entering directory 'gsoap/2.8.51-r0/build/gsoap/src'
/bin/bash ../../../gsoap-2.8/ylwrap ../../../gsoap-2.8/gsoap/src/soapcpp2_yacc.y y.tab.c soapcpp2_yacc.c y.tab.h echo soapcpp2_yacc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/ y.output soapcpp2_yacc.output -- yacc -d -v ../../../gsoap-2.8/ylwrap: line 176: yacc: command not found
Makefile:534: recipe for target 'soapcpp2_yacc.c' failed
make[4]: *** [soapcpp2_yacc.c] Error 127

---
 meta-oe/recipes-support/gsoap/gsoap_2.8.51.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gsoap/gsoap_2.8.51.bb +1 -1
index 8875844615..36530d2df0 100644
@@ -22,7 +22,7 @@ PARALLEL_MAKE = ""
 
 EXTRA_OEMAKE_class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
 
-DEPENDS = "openssl zlib flex bison"
+DEPENDS = "openssl zlib flex bison bison-native"
 DEPENDS_append_class-target = " gsoap-native"
 
 do_install_append() {
Signature · 1 line
2.17.1
#4 lore raw

PATCH 5/7 nftables: add dependency on bison-native

In reply to Martin Jansa

* fixes:
checking whether yytext is a pointer... no
checking for bison... no
checking for byacc... no
*** Error: No suitable bison/yacc found. ***
Please install the 'bison' package.

---
 meta-networking/recipes-filter/nftables/nftables_0.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-filter/nftables/nftables_0.7.bb +1 -1
index 0ea79953be..287c350b9c 100644
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d1a78fdd879a263a5e0b42d1fc565e79"
 SECTION = "net"
 
-DEPENDS = "libmnl libnftnl readline gmp"
+DEPENDS = "libmnl libnftnl readline gmp bison-native"
 RRECOMMENDS_${PN} += "kernel-module-nf-tables \
     "
 
Signature · 1 line
2.17.1
#5 lore raw

PATCH 6/7 daq: add dependency on bison-native

In reply to Martin Jansa

* fixes:
checking for flex 2.4 or higher... yes
checking for bison... no
configure: WARNING: don't have both flex and bison; reverting to lex/yacc checking for capable lex... insufficient
configure: error: Your operating system's lex is insufficient to compile
libsfbpf. You should install both bison and flex. flex is a lex replacement that has many advantages, including being able to compile libsfbpf. For more information, see http://www.gnu.org/software/flex/flex.html .

---
 meta-networking/recipes-connectivity/daq/daq_2.0.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/daq/daq_2.0.6.bb +1 -1
index ec35175a08..42ffb17a1f 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
 
 PARALLEL_MAKE = ""
 
-DEPENDS = "libpcap libpcre libdnet"
+DEPENDS = "libpcap libpcre libdnet bison-native"
 
 SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
            file://disable-run-test-program-while-cross-compiling.patch \
Signature · 1 line
2.17.1
#6 lore raw

PATCH 7/7 freediameter: add dependency on bison-native

In reply to Martin Jansa

* fixes:
-- Looking for bison
-- Looking for flex
-- Looking for flex -- freediameter/1.2.1-r0/recipe-sysroot-native/usr/bin/flex CMake Error at CMakeLists.txt:81 (MESSAGE):
Bison and Flex are required
...
CMake Error at libfdcore/CMakeLists.txt:11 (BISON_FILE):
Unknown CMake command "BISON_FILE".

---
 .../recipes-protocols/freediameter/freediameter_1.2.1.bb        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/freediameter/freediameter_1.2.1.bb +1 -1
index c556eb48e8..670d8b0b60 100644
@@ -7,7 +7,7 @@ Accounting needs."
 
 HOMEPAGE = "http://www.freediameter.net"
 
-DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools virtual/kernel"
+DEPENDS = "flex bison cmake-native libgcrypt gnutls libidn lksctp-tools virtual/kernel bison-native"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
Signature · 1 line
2.17.1