Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Jaap de Jong <jaap.dejong@nedap.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: failure building cacaoh-native
Date: Fri, 22 Oct 2010 08:33:29 +0200	[thread overview]
Message-ID: <4CC13039.4020002@nedap.com> (raw)
In-Reply-To: <4CC04756.2020004@nedap.com>

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


  reply	other threads:[~2010-10-22  6:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 13:59 failure building cacaoh-native Jaap de Jong
2010-10-22  6:33 ` Jaap de Jong [this message]
2010-10-22  6:42   ` Martin Jansa
2010-10-22  8:11     ` Jaap de Jong
2010-10-22 20:45     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC13039.4020002@nedap.com \
    --to=jaap.dejong@nedap.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox