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

Paul Menzel paulepanter at users.sourceforge.net
Sun May 22 21:18:27 UTC 2011


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 at users.sourceforge.net>
---
 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() {
-- 
1.7.5.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110522/c137da79/attachment-0002.sig>


More information about the Openembedded-devel mailing list