[oe] [PATCH] Revert "unzip: Add update-alternatives to unzip"

Tom Rini tom_rini at mentor.com
Sat Nov 13 17:42:49 UTC 2010


On 11/13/2010 07:13 AM, Paul Menzel wrote:
> Date: Sat, 13 Nov 2010 14:49:28 +0100
>
> This reverts commit 902b98f32ffd35661e43382f47226f65528ff1b1.
>
> With this patch, decompressing zip files does not work anymore in `angstrom-2008.1, angstrom-2010.x`, `minimal` and `minimal-uclibc`.
>
>          /oe/build-angstrom-next$ bitbake -k jasper
>          […]
>          NOTE: package jasper-1.900.1-r1: task do_unpack: Started
>          NOTE: Unpacking ../downloads/jasper-1.900.1.zip to angstrom-dev/work/armv7a-angstrom-linux-gnueabi/jasper-1.900.1-r1/
>          FATAL: Unable to unpack '/oe/downloads/jasper-1.900.1.zip' to '/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/jasper-1.900.1-r1' (cmd: unzip -q -o '/home/paul/oe/downloads/jasper-1.900.1.zip'):
>          Execution of 'unzip -q -o '/oe/downloads/jasper-1.900.1.zip'' failed with exit code 127:
>          /bin/sh: unzip: command not found
>
>          ERROR: TaskFailed event exception, aborting
>          ERROR: Build of /oe/openembedded/recipes/perl/perl-native_5.10.1.bb do_compile failed
>          ERROR: TaskFailed event exception, aborting
>          ERROR: Build of /oe/openembedded/recipes/jpeg/jasper_1.900.1.bb do_distribute_sources failed
>          /oe/build-angstrom-next$ find . -name unzip
>          ./angstrom-dev/work/i686-linux/unzip-native-552-r2/unzip-5.52/unzip
>
> I do not know what in Tom’s patch might cause this behavior but reverting this patch fixes the problem for me.
>
> Please note, that `unzip` is not installed on my build host.
>
> Signed-off-by: Paul Menzel<paulepanter at users.sourceforge.net>

OK, my fault, I forgot about the -native case here.  The right way that 
I should have done here is to make the final mv be 
do_install_append_pn-unzip or so (will grep check).  I'll fix this 
momentarily, sorry!

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list