[oe] icedtea6-native: task compile fails with `unzip: cannot find zipfile directory in one of /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/unzip or …`
thebohemian at gmx.net
Wed May 25 14:03:35 CEST 2011
> # Unzip zip file $2 into directory $1 (if $2 exists)
> # Warning: $2 must be absolute path not relative
> define Unzipper
> ( \
> $(MKDIR) -p $1; \
> $(ECHO) "( $(CD) $1 && $(UNZIP) -o $2 )"; \
> ( $(CD) $1 && $(UNZIP) -o $2 ) \
> I do not see where this fails. By the way, to use the native `unzip` I have the following in my recipe (as send to the list ).
Wow, this is really weird! There is a file
openjdk-ecj/jdk/make/common/shared/Defs-utils.gmk containing all the
tool variable definitions - including UNZIP. So I removed the
EXTRA_OEMAKE part for UNZIP and added the path to our native unzip
executable directly into Defs-utils.gmk and guess what. That works!
This is really weird because the 'Unzipper' command actually echos its
arguments and there $2 is printed perfectly. But when it is accessed a
second time in the actual call it is wrong.
/me puzzled ....
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Openembedded-devel