[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 …`
Robert Schuster
thebohemian at gmx.net
Wed May 25 12:03:35 UTC 2011
Hi Paul,
> # 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 ) \
> )
> endef
>
> 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 [2]).
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 ....
Regards,
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110525/ccf9a830/attachment-0002.sig>
More information about the Openembedded-devel
mailing list