From patchwork Sun May 22 21:18:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] icedtea6-native.inc: set environment variable `UNZIP` to fix build error Date: Sun, 22 May 2011 21:18:27 -0000 From: Paul Menzel X-Patchwork-Id: 4621 Message-Id: <1306099107.5994.105.camel@mattotaupa> To: openembedded-devel@lists.openembedded.org Date: Sun, 22 May 2011 22:35:39 +0200 Task compile fails with the following error message. ( cd /oe/build-angstrom-next/angstrom-dev/work/i686-linux/icedtea6-native-1.7.10-r4.0/icedtea6-1.7.10/openjdk-ecj/build/linux-x86 && /usr/bin/unzip -o /oe/build-angstrom-next/angstrom-dev/work/i686-linux/icedtea6-native-1.7.10-r4.0/icedtea6-1.7.10/openjdk-ecj/build/linux-x86/corba/dist/lib/bin.zip ) /bin/sh: /usr/bin/unzip: No such file or directory make[4]: *** [/oe/build-angstrom-next/angstrom-dev/work/i686-linux/icedtea6-native-1.7.10-r4.0/icedtea6-1.7.10/openjdk-ecj/build/linux-x86/tmp/java/components_imported] Error 127 Passing the path to (the staged) `unzip` directly using the environment variable `UNZIP` fixes the error. Signed-off-by: Paul Menzel --- recipes/icedtea/icedtea6-native.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/recipes/icedtea/icedtea6-native.inc b/recipes/icedtea/icedtea6-native.inc index f474869..9961bf7 100644 --- a/recipes/icedtea/icedtea6-native.inc +++ b/recipes/icedtea/icedtea6-native.inc @@ -113,6 +113,7 @@ do_configure_append() { EXTRA_OEMAKE = ' \ ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \ + UNZIP="${STAGING_BINDIR_NATIVE}/unzip" \ ' do_compile() {