Skip to contentSkip to conversation

protobuf: Add RDEPENDS for ptest

PATCH In review [email protected] 2 participants 2 messages May 23, 2016 – May 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf: Add RDEPENDS for ptest

From: He Zhe <[email protected]>

This patch adds bash and python to ptest's RDEPENDS to avoid the following warning:
"WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained in package protobuf-ptest requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]"

---
 recipes-devtools/protobuf/protobuf_2.5.0.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-devtools/protobuf/protobuf_2.5.0.bb +1 -0
index e1c7254..23b74a7 100644
@@ -22,6 +22,7 @@ EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
 DEPENDS += "protobuf-native"
+RDEPENDS_${PN}-ptest = "bash python"
 
 PYTHON_SRC_DIR="python"
 TEST_SRC_DIR="examples"
Signature · 1 line
1.9.1
#1 lore raw

merged.

Bruce

Quoted 32 lines · On Sun, May 22, 2016 at 11:15 PM, <[email protected]> wrote:

From: He Zhe <[email protected]>

This patch adds bash and python to ptest's RDEPENDS to avoid the following warning:
"WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained
in package protobuf-ptest requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]"

---
 recipes-devtools/protobuf/protobuf_2.5.0.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-devtools/protobuf/protobuf_2.5.0.bb +1 -2
index e1c7254..23b74a7 100644
@@ -22,6 +22,7 @@ EXTRA_OECONF += "
--with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
 DEPENDS += "protobuf-native"
+RDEPENDS_${PN}-ptest = "bash python"
 
 PYTHON_SRC_DIR="python"
 TEST_SRC_DIR="examples"
--

1.9.1

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"