Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376091 - www-plugins/adobe-flash-11.0.1.60_beta201107131-r1 fails to unpack sources with USE="32bit -64bit"
Summary: www-plugins/adobe-flash-11.0.1.60_beta201107131-r1 fails to unpack sources wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 12:32 UTC by Andrei Slavoiu
Modified: 2011-08-11 14:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adobe-flash-11.0.1.60_beta201107131-r1.ebuild.patch (adobe-flash-11.0.1.60_beta201107131-r1.ebuild.patch,495 bytes, patch)
2011-07-23 12:33 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2011-07-23 12:32:15 UTC
>>> Emerging (1 of 1) www-plugins/adobe-flash-11.0.1.60_beta201107131-r1
 * flashplayer11_b1_install_lin_32_071311.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                      [ ok ]
 * Date is beta201107131 suffix is 071311
>>> Unpacking source...
>>> Unpacking flashplayer11_b1_install_lin_64_071311.tar.gz to /var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201107131-r1/work
 * ERROR: www-plugins/adobe-flash-11.0.1.60_beta201107131-r1 failed (unpack phase):
 *   flashplayer11_b1_install_lin_64_071311.tar.gz does not exist
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_unpack
 *   environment, line 2647:  Called unpack 'flashplayer11_b1_install_lin_64_071311.tar.gz'
 *     ebuild.sh, line  366:  Called die
 * The specific snippet of code:
 *              [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist"
 * 
 * If you need support, post the output of 'emerge --info =www-plugins/adobe-flash-11.0.1.60_beta201107131-r1',
 * the complete build log and the output of 'emerge -pqv =www-plugins/adobe-flash-11.0.1.60_beta201107131-r1'.
 * The complete build log is located at '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201107131-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201107131-r1/temp/environment'.
 * S: '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201107131-r1/work'

Reproducible: Always

Steps to Reproduce:
[ebuild     U ] www-plugins/adobe-flash-11.0.1.60_beta201107131-r1 [10.3.181.34] USE="32bit%* kde* (multilib%*) -64bit% -bindist% -vdpau"
Comment 1 Andrei Slavoiu 2011-07-23 12:33:24 UTC
Created attachment 280731 [details, diff]
adobe-flash-11.0.1.60_beta201107131-r1.ebuild.patch

Patch for the ebuild to also check for $native_install in src_unpack
Comment 2 Zdenek Behan 2011-07-26 09:15:12 UTC
I concur. Bumped into the bug too.

I use 32bit only plugin on amd64, because then it is conveniently wrapped in nspluginwrapper, and can be killed without taking down/messing up the browser in case of one of the very common glitches, half-crashes, etc.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2011-08-11 14:40:52 UTC
Okay, sorry this took so long, but I've fixed this now in both adobe-flash-11

The actual patch I used was a bit different, as the 32-bit-on-amd64 codepath always assumes the source is in a '32bit' subdirectory:

--- adobe-flash-11.0.1.60_beta201107131-r1.ebuild       11 Aug 2011 14:31:46 -0000      1.2
+++ adobe-flash-11.0.1.60_beta201107131-r1.ebuild       11 Aug 2011 14:36:28 -0000
@@ -104,7 +104,9 @@
                # elsewhere:
                local my_32b_src=${MY_32B_URI##*/}
                local my_64b_src=${MY_64B_URI##*/}
-               unpack $my_64b_src
+               if [[ $native_install ]]; then
+                       unpack $my_64b_src
+               fi
                mkdir 32bit
                pushd 32bit >/dev/null
                unpack $my_32b_src