Patchwork [3/3] icedtea6-native.inc: set environment variable `UNZIP` to fix build error

login
register
mail settings
Submitter Paul Menzel
Date May 22, 2011, 9:18 p.m.
Message ID <1306099107.5994.105.camel@mattotaupa>
Download mbox | patch
Permalink /patch/4621/
State New, archived
Headers show

Comments

Paul Menzel - May 22, 2011, 9:18 p.m.
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 <paulepanter@users.sourceforge.net>
---
 recipes/icedtea/icedtea6-native.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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() {