cacao-native-0.99.3: fix `install: cannot stat `src/cacaoh/.libs/cacaoh': No such file or directory`
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.
cacao-0.99.3-r11/cacao-0.99.3$ find . -name *cacaoh* ./src/cacaoh./src/cacaoh/cacaoh.c
./m4/cacaoh.m4
--- recipes/cacao/cacaoh-native.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/cacao/cacaoh-native.inc +1 -1
@@ -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
recipes/cacao/cacaoh-native.inc do_compile() { · line 27
Quoted 2 lines · Paul Menzel
recipes/cacao/cacaoh-native.inc +1
-1- install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV} + install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
Location of the binary depends on libtool version and other factors so that both paths are possible.
| libtool --mode=install install -m 0755 src/cacaoh/cacaoh ...
is more portable.
Enrico
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 11 lines · Enrico Scholz
recipes/cacao/cacaoh-native.inc do_compile() { · line 27
Quoted 2 lines · Paul Menzel
recipes/cacao/cacaoh-native.inc +1
-1- install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV} + install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}Location of the binary depends on libtool version and other factors so that both paths are possible.
| libtool --mode=install install -m 0755 src/cacaoh/cacaoh ...
is more portable.
${TARGET_PREFIX}libtool, right?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMuHT/MkyGM64RGpERAhEtAJ9HceXIVevPB2hGRjXRUM9fXJLA1wCgnwRh zIMlzbA/s4JG+zMO3E7GQxw=
=pF5G
-----END PGP SIGNATURE-----