Skip to contentSkip to conversation

zeromq: Fixup do_install_ptest_base failure

PATCH New Mark Asselstine 1 participant 1 message Mar 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zeromq: Fixup do_install_ptest_base failure

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.

---
 meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb +1 -1
index 71d7e7c..6cad335 100644
@@ -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
 }
Signature · 1 line
2.7.4