Skip to contentSkip to conversation

icedtea6-native.inc: set environment variable `UNZIP` to fix build error

PATCH New Paul Menzel 1 participant 1 message May 22, 2011

lore
Share & tools
lore
#0 lore raw

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

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.

---
 recipes/icedtea/icedtea6-native.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/icedtea/icedtea6-native.inc +1 -0
index f474869..9961bf7 100644
@@ -113,6 +113,7 @@ do_configure_append() {
 
 EXTRA_OEMAKE = ' \
                 ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \
+                UNZIP="${STAGING_BINDIR_NATIVE}/unzip" \
                '
 
 do_compile() {
Signature · 1 line
1.7.5.1