All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Schuster <thebohemian@gmx.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: 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 …`
Date: Wed, 25 May 2011 14:03:35 +0200	[thread overview]
Message-ID: <4DDCF017.4010305@gmx.net> (raw)
In-Reply-To: <1306321712.10056.37.camel@mattotaupa>

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 270 bytes --]

  reply	other threads:[~2011-05-25 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-22 21:24 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 …` Paul Menzel
2011-05-25  9:16 ` Robert Schuster
2011-05-25  9:35 ` Robert Schuster
2011-05-25 11:08   ` Paul Menzel
2011-05-25 12:03     ` Robert Schuster [this message]
2011-05-25 18:00 ` Robert Schuster
2011-05-25 18:40   ` Paul Menzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DDCF017.4010305@gmx.net \
    --to=thebohemian@gmx.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.