[oe,meta-oe,2/6] zeromq: Fixup do_install_ptest_base failure

Message ID 20180402180546.38078-2-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-networking,1/6] wpan-tools: Add recipe
Related show

Commit Message

Khem Raj April 2, 2018, 6:05 p.m.
From: Mark Asselstine <mark.asselstine@windriver.com>


The following error is being hit:

| install: cannot stat
|  '.../tmp/work/core2-64-poky-linux/zeromq/4.2.3-r0/build/.libs/test_*':
|  No such file or directory

This is being hit in the 'state of the world' builds (see [oe] State
of the world, 2018-03-19). The uprev to v4.2.3 (commit 50eb3504c83c)
did not take into account that the location of the tests changed in
the 'build' directory as part of the new release. Updating to use the
proper directory.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.16.3

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index 71d7e7cbf..6cad3353d 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
@@ -28,5 +28,5 @@  do_compile_ptest () {
 
 do_install_ptest () {
     install -d ${D}${PTEST_PATH}/tests
-    install -m 0755 ${B}/.libs/test_* ${D}${PTEST_PATH}/tests
+    install -m 0755 ${B}/tests/.libs/test_* ${D}${PTEST_PATH}/tests
 }