Skip to contentSkip to conversation

mpich: Define PERL variable and pass to configure

PATCH New Khem Raj 1 participant 6 messages Aug 24, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/6 mpich: Define PERL variable and pass to configure

Fixes
QA Issue: /usr/bin/parkill contained in package mpich requires /mnt/a/oe/build/tmp/ hosttools/perl, but no providers found in RDEPENDS_mpich

also move BASH_SHELL in same realm

---
 meta-oe/recipes-devtools/mpich/mpich_3.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/mpich/mpich_3.2.bb +2 -2
index 4537a66e0..4a2c37723 100644
@@ -12,8 +12,6 @@ SRC_URI = " \
 SRC_URI[md5sum] = "f414cfa77099cd1fa1a5ae4e22db508a"
 SRC_URI[sha256sum] = "0778679a6b693d7b7caff37ff9d2856dc2bfc51318bf8373859bfa74253da3dc"
 
-CACHED_CONFIGUREVARS += "BASH_SHELL=${base_bindir}/bash"
-
 RDEPENDS_${PN} += "bash perl libxml2"
 S = "${WORKDIR}/${BP}"
 
@@ -26,6 +24,8 @@ EXTRA_OECONF = "--enable-debuginfo \
     --disable-fc \
     --disable-fortran \
     --disable-cxx \
+    BASH_SHELL='${USRBINPATH}/env bash' \
+    PERL='${USRBINPATH}/env perl' \
 "
 
 inherit autotools-brokensep gettext
Signature · 1 line
2.14.1
author
#1 lore raw

PATCH 2/6 wireguard-tools: Add bash to rdeps

Fixes QA error
/usr/bin/wg-quick contained in package wireguard-tools
requires /bin/bash

---
 .../recipes-kernel/wireguard/wireguard-tools_0.0.20170517.bb            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170517.bb +1 -1
index 79d420f1a..c4ddbcb0e 100644
@@ -24,4 +24,4 @@ FILES_${PN} = " \
     ${bindir} \
 "
 
-RDEPENDS_${PN} = "wireguard-module"
+RDEPENDS_${PN} = "wireguard-module bash"
Signature · 1 line
2.14.1
author
#2 lore raw

PATCH 3/6 enscript: Define PERL variable

In reply to Khem Raj

This sets up the perl interpreter correctly on target package
Also fixes
QA Issue: /usr/bin/sliceprint contained in package enscript requires /mnt/a/oe /build/tmp/hosttools/perl, but no providers found in RDEPENDS_enscript? [file-rdeps]

---
 meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +2 -0
index 96129880a..2b6d14e6c 100644
@@ -16,6 +16,8 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
 
 inherit autotools gettext
 
+EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
+
 SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd"
 SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
 
Signature · 1 line
2.14.1
author
#3 lore raw

PATCH 4/6 udevil: Add missing rdep on bash

In reply to Khem Raj
---
 meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb +1 -1
index c432e8546..60f84f8f9 100644
@@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 \
     intltool-native \
     udev \
 "
-RDEPENDS_${PN} = "udev"
+RDEPENDS_${PN} = "udev bash"
 
 LICENSE = "GPL-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
Signature · 1 line
2.14.1
author
#4 lore raw

PATCH 5/6 libbonobo: Pass PERL_PATH to do_configure

In reply to Khem Raj

Fixes wrong perl interpreter getting into target perl scripts
QA Issue: /usr/bin/bonobo-slay contained in package libbonobo-bin requires / mnt/a/oe/build/tmp/hosttools/perl

---
 meta-gnome/recipes-gnome/bonobo/libbonobo.inc | 1 +
 1 file changed, 1 insertion(+)
meta-gnome/recipes-gnome/bonobo/libbonobo.inc +1 -0
index ce34957fc..e4759a87c 100644
@@ -7,6 +7,7 @@ DEPENDS = "gnome-common-native glib-2.0 orbit2-native orbit2 intltool-native lib
 
 inherit gnomebase gtk-doc lib_package
 
+EXTRA_OECONF += "'PERL_PATH=${USRBINPATH}/env perl'"
 ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
 
 RDEPENDS_${PN}-bin = "${PN} perl"
Signature · 1 line
2.14.1
author
#5 lore raw

PATCH 6/6 openl2tp: Add bash to rdeps

In reply to Khem Raj

Fixes
QA Issue: /etc/init.d/openl2tpd contained in package openl2tp requires /bin/bash , but no providers found in RDEPENDS_openl2tp? [file-rdeps]

---
 meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +1 -1
index 1e5bfe264..0395199e7 100644
@@ -84,4 +84,4 @@ do_install_append () {
     fi
 }
 
-RDEPENDS_${PN} = "ppp ppp-l2tp"
+RDEPENDS_${PN} = "ppp ppp-l2tp bash"
Signature · 1 line
2.14.1