Skip to contentSkip to conversation

cacao-native-0.99.3: fix `install: cannot stat `src/cacaoh/.libs/cacaoh': No such file or directory`

PATCH In review Paul Menzel 2 participants 2 messages Oct 15, 2010 – Oct 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cacao-native-0.99.3: fix `install: cannot stat `src/cacaoh/.libs/cacaoh': No such file or directory`

Date: Fri, 15 Oct 2010 14:09:42 +0200

Task of do_install of cacao-native-0.99.3 fails with the following error.

NOTE: Task failed: ('function do_install failed', '/oe/build-angstrom-next/angstrom-dev/work/i686-linux/cacaoh-native-0.99.3-r2.1/temp/log.do_install.26664')
ERROR: Logfile of failure stored in: /oe/build-angstrom-next/angstrom-dev/work/i686-linux/cacaoh-native-0.99.3-r2.1/temp/log.do_install.26664 Log data follows:
| install: cannot stat `src/cacaoh/.libs/cacaoh': No such file or directory
| ERROR: Function do_install failed
NOTE: package cacaoh-native-0.99.3-r2.1: task do_install: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/cacao/cacaoh-native_0.99.3.bb do_install failed
ERROR: Task 2260 (/oe/openembedded/recipes/cacao/cacaoh-native_0.99.3.bb, do_install) failed with 256

In the work directory there are the following files.

	…/work/…/cacao-0.99.3-r11/cacao-0.99.3$ find . -name *cacaoh*
	./src/cacaoh
	./src/cacaoh/cacaoh.c
	./m4/cacaoh.m4

Build tested with angstrom-2010.x for MACHINE = "beagleboard", which failed before.

---
Again I am puzzled why this has not been surfaced for anyone else.

---
 recipes/cacao/cacaoh-native.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/cacao/cacaoh-native.inc +1 -1
index 2b3709f..d745107 100644
@@ -24,7 +24,7 @@ do_compile() {
 
 do_install() {
   install -d ${D}${bindir}/cacaoh-${PV}
-  install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
+  install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
 
 NATIVE_INSTALL_WORKS = "1"
Signature · 1 line
1.7.1