Skip to contentSkip to conversation

failure building cacaoh-native

DISCUSSION Jaap de Jong 3 participants 5 messages Oct 21, 2010 – Oct 22, 2010

lore
Share & tools
lore
#0 lore raw

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...

#1 lore raw

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}
     }
Quoted 37 lines · Jaap de Jong

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...

#2 lore raw
Quoted 3 lines · Jaap de Jong

The same applies for cacaoh-openjdk-native.inc and probably also for cacaoh-cldc-native_0.98.bb
Patch will be:

Can you send it as proper patch? Also please for previous cacaoh-native patch.

http://wiki.openembedded.net/index.php/How_to_submit_a_patch_for_dummies

BTW: are you using libtool-2.4 or old libtool-2.2.6b? Because I see this only since using libtool-2.4 and someone should check that this patch wont break build for people using 2.2.6b.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

I'm using libtool-2.4
The patch for cacaoh in a separate email.

Quoted 15 lines · Martin Jansa
Quoted 3 lines · Jaap de Jong

The same applies for cacaoh-openjdk-native.inc and probably also for cacaoh-cldc-native_0.98.bb
Patch will be:

Can you send it as proper patch? Also please for previous cacaoh-native patch.

http://wiki.openembedded.net/index.php/How_to_submit_a_patch_for_dummies

BTW: are you using libtool-2.4 or old libtool-2.2.6b? Because I see this only since using libtool-2.4 and someone should check that this patch wont break build for people using 2.2.6b.

Regards,

#4 lore raw
In reply to Martin Jansa
Quoted 6 lines · Martin Jansa
Quoted 3 lines · Jaap de Jong

The same applies for cacaoh-openjdk-native.inc and probably also for cacaoh-cldc-native_0.98.bb
Patch will be:

Can you send it as proper patch?

this time I did a manual import as we needed this patch next time I will ignore patches which can not be applied straight away.

Also please for previous cacaoh-native

Quoted 8 lines

patch.

http://wiki.openembedded.net/index.php/How_to_submit_a_patch_for_dummies

BTW: are you using libtool-2.4 or old libtool-2.2.6b? Because I see this only since using libtool-2.4 and someone should check that this patch wont break build for people using 2.2.6b.

Works ok with both libtools.

Quoted 10 lines

Regards,

--
Martin 'JaMa' Jansa     jabber: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel