[oe] failure building cacaoh-native
Jaap de Jong
jaap.dejong at nedap.com
Fri Oct 22 06:33:29 UTC 2010
The same applies for cacaoh-openjdk-native.inc and probably also for
cacaoh-cldc-native_0.98.bb
Patch will be:
diff -urN a/cacaoh-cldc-native_0.98.bb b/cacaoh-cldc-native_0.98.bb
--- a/cacaoh-cldc-native_0.98.bb 2010-10-22 08:30:39.266606463 +0200
+++ b/cacaoh-cldc-native_0.98.bb 2010-10-22 08:30:58.271132923 +0200
@@ -5,7 +5,7 @@
"
do_stage() {
- install -m 0755 src/cacaoh/.libs/cacaoh
${STAGING_BINDIR}/cacaoh-cldc-${PV}
+ install -m 0755 src/cacaoh/cacaoh
${STAGING_BINDIR}/cacaoh-cldc-${PV}
}
SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
diff -urN a/cacaoh-native.inc b/cacaoh-native.inc
--- a/cacaoh-native.inc 2010-10-22 08:31:15.203602101 +0200
+++ b/cacaoh-native.inc 2010-10-22 08:31:08.995430068 +0200
@@ -24,7 +24,7 @@
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"
diff -urN a/cacaoh-openjdk-native.inc b/cacaoh-openjdk-native.inc
--- a/cacaoh-openjdk-native.inc 2010-10-22 08:27:37.209570163 +0200
+++ b/cacaoh-openjdk-native.inc 2010-10-22 08:27:45.889809994 +0200
@@ -27,5 +27,5 @@
}
do_install() {
- install -m 0755 src/cacaoh/.libs/cacaoh
${STAGING_BINDIR}/cacaoh-openjdk-${PV}
+ install -m 0755 src/cacaoh/cacaoh
${STAGING_BINDIR}/cacaoh-openjdk-${PV}
}
On 10/21/2010 03:59 PM, Jaap de Jong wrote:
> Thought this was fixed some time ago, but it fails nevertheless...
>
> NOTE: Running task 1854 of 2596 (ID: 2,
> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/cacao/cacaoh-native_0.99.3.bb,
> do_install)
> Packaged contents of libusb-compat into
> /media/OpenEmbedded/unstable/tmp/deploy/eglibc/ipk/armv5te/libusb-0.1-4_0.1.3-r0.9_armv5te.ipk
> NOTE: Not creating empty archive for libusb-compat-doc-0.1.3-r0.9
> ERROR: function do_install failed
> ERROR: log data follows
> (/media/OpenEmbedded/unstable/tmp/work/i686-linux/cacaoh-native-0.99.3-r2.1/temp/log.do_install.19694)
> | install: cannot stat `src/cacaoh/.libs/cacaoh': No such file or
> directory
> NOTE: Task failed:
> /media/OpenEmbedded/unstable/tmp/work/i686-linux/cacaoh-native-0.99.3-r2.1/temp/log.do_install.19694
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/cacao/cacaoh-native_0.99.3.bb
> do_install failed
>
> Fixed with:
>
> diff -urN a/cacaoh-native.inc b/cacaoh-native.inc
> --- a/cacaoh-native.inc 2010-10-21 15:55:49.604353109 +0200
> +++ b/cacaoh-native.inc 2010-10-21 15:55:26.295644251 +0200
> @@ -24,7 +24,7 @@
>
> 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"
>
>
> Not sure if this is the final fix...
More information about the Openembedded-devel
mailing list