Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378795 - www-plugins/adobe-flash-11.0.1.129_rc201109061 has mislabeled source file
Summary: www-plugins/adobe-flash-11.0.1.129_rc201109061 has mislabeled source file
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Jim Ramsay (lack) (RETIRED)
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 15:30 UTC by ta2002
Modified: 2011-09-20 07:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2011-08-11 15:30:56 UTC
I wondered how a minor release could go from about 7 MB to almost 20 MB.

 * flashplayer11_b2_install_lin_64_080811.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * Package:    www-plugins/adobe-flash-11.0.1.60_beta201108082
 * Repository: local
 * USE:        64bit amd64 elibc_glibc kde kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Date is beta201108082 suffix is 080811
>>> Unpacking source...
>>> Unpacking flashplayer11_b2_install_lin_64_080811.tar.gz to /var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/work

gzip: /var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/distdir/flashplayer11_b2_install_lin_64_080811.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: www-plugins/adobe-flash-11.0.1.60_beta201108082 failed (unpack phase):
 *   failure unpacking flashplayer11_b2_install_lin_64_080811.tar.gz
 * 
 * Call stack:
 *               ebuild.sh, line   56:  Called src_unpack
 *             environment, line 2662:  Called default_src_unpack
 *               ebuild.sh, line 1616:  Called _eapi2_src_unpack
 *               ebuild.sh, line 1610:  Called _eapi0_src_unpack
 *               ebuild.sh, line  618:  Called unpack 'flashplayer11_b2_install_lin_64_080811.tar.gz'
 *               ebuild.sh, line  394:  Called _unpack_tar 'gzip -d'
 *               ebuild.sh, line  369:  Called assert_sigpipe_ok 'failure unpacking flashplayer11_b2_install_lin_64_080811.tar.gz'
 *   isolated-functions.sh, line   37:  Called die
 * The specific snippet of code:
 *              [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 * 
 * If you need support, post the output of 'emerge --info =www-plugins/adobe-flash-11.0.1.60_beta201108082',
 * the complete build log and the output of 'emerge -pqv =www-plugins/adobe-flash-11.0.1.60_beta201108082'.
 * This ebuild is from an overlay named 'local': '/usr/local/portage/'
 * The complete build log is located at '/var/log/portage/www-plugins:adobe-flash-11.0.1.60_beta201108082:20110811-151814.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/temp/environment'.
 * S: '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/work'

$ ls -al /usr/portage/distfiles/flashplayer11_b*
-rw-rw-r-- 1 portage portage  7044701 2011-07-12 21:33:43 /usr/portage/distfiles/flashplayer11_b1_install_lin_64_071311.tar.gz
-rw-rw-r-- 1 portage portage 19783680 2011-08-06 01:38:20 /usr/portage/distfiles/flashplayer11_b2_install_lin_64_080811.tar.gz

$ file /usr/portage/distfiles/flashplayer11_b*
/usr/portage/distfiles/flashplayer11_b1_install_lin_64_071311.tar.gz: gzip compressed data, was "libflashplayer.so.tar", from Unix, last modified: Fri Jul  1 06:20:43 2011
/usr/portage/distfiles/flashplayer11_b2_install_lin_64_080811.tar.gz: POSIX tar archive (GNU)

The idiots at Adobe don't even know how to zip a file.

Reproducible: Always

Actual Results:  
Won't install (ok, it doesn't take that much work to "make it fit" by compressing it and altering the digest).

Expected Results:  
I expect a file to be what it says it is.

No doubt as soon as the ebuild is changed to handle the uncompressed tar archive, Adobe will put a proper file up.

I don't even know if this is a bug that "should be fixed."
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-13 15:14:08 UTC
Please remove that file from your distfiles directory, run emerge again and post the full build log, including the fetch output.
Comment 2 ta2002 2011-08-13 22:00:08 UTC
# emerge adobe-flash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] www-plugins/adobe-flash-11.0.1.60_beta201108082 [11.0.1.60_beta201107131-r1] USE="64bit kde* (multilib) -32bit -bindist -vdpau" 19,320 kB

Total: 1 package (1 upgrade), Size of downloads: 19,320 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-plugins/adobe-flash-11.0.1.60_beta201108082
>>> Downloading 'http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b2_install_lin_64_080811.tar.gz'
--2011-08-13 21:44:24--  http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b2_install_lin_64_080811.tar.gz
Resolving download.macromedia.com... 122.252.43.191
Connecting to download.macromedia.com|122.252.43.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19783680 (19M) [application/x-gzip]
Saving to: `/usr/portage/distfiles/flashplayer11_b2_install_lin_64_080811.tar.gz'

100%[==========================================================================================================================================>] 19,783,680   150K/s   in 2m 9s   

2011-08-13 21:46:33 (149 KB/s) - `/usr/portage/distfiles/flashplayer11_b2_install_lin_64_080811.tar.gz' saved [19783680/19783680]

 * flashplayer11_b2_install_lin_64_080811.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * Package:    www-plugins/adobe-flash-11.0.1.60_beta201108082
 * Repository: gentoo
 * USE:        64bit amd64 elibc_glibc kde kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Date is beta201108082 suffix is 080811
>>> Unpacking source...
>>> Unpacking flashplayer11_b2_install_lin_64_080811.tar.gz to /var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/work

gzip: /var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/distdir/flashplayer11_b2_install_lin_64_080811.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: www-plugins/adobe-flash-11.0.1.60_beta201108082 failed (unpack phase):
 *   failure unpacking flashplayer11_b2_install_lin_64_080811.tar.gz
 * 
 * Call stack:
 *               ebuild.sh, line   56:  Called src_unpack
 *             environment, line 2663:  Called default_src_unpack
 *               ebuild.sh, line 1616:  Called _eapi2_src_unpack
 *               ebuild.sh, line 1610:  Called _eapi0_src_unpack
 *               ebuild.sh, line  618:  Called unpack 'flashplayer11_b2_install_lin_64_080811.tar.gz'
 *               ebuild.sh, line  394:  Called _unpack_tar 'gzip -d'
 *               ebuild.sh, line  369:  Called assert_sigpipe_ok 'failure unpacking flashplayer11_b2_install_lin_64_080811.tar.gz'
 *   isolated-functions.sh, line   37:  Called die
 * The specific snippet of code:
 *              [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 * 
 * If you need support, post the output of 'emerge --info =www-plugins/adobe-flash-11.0.1.60_beta201108082',
 * the complete build log and the output of 'emerge -pqv =www-plugins/adobe-flash-11.0.1.60_beta201108082'.
 * The complete build log is located at '/var/log/portage/www-plugins:adobe-flash-11.0.1.60_beta201108082:20110813-214424.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/temp/environment'.
 * S: '/var/tmp/portage/www-plugins/adobe-flash-11.0.1.60_beta201108082/work'

>>> Failed to emerge www-plugins/adobe-flash-11.0.1.60_beta201108082, Log file:

>>>  '/var/log/portage/www-plugins:adobe-flash-11.0.1.60_beta201108082:20110813-214424.log'

Despite the name of the file (and the header sent by the server), that is not a gzip file. It is an UNCOMPRESSED tar archive.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 02:37:35 UTC
The Manifest file in CVS certainly doesn't suggest a size of 20 megabytes, but a quite ordinary 7 megabytes.

I suspect you 1) downloaded the file yourself using a web browser (that supports gzipped files and unzips them for you even when it shouldn't), and then 2) did some funky stuff in the PORTDIR to validate the file's size.
Comment 4 ta2002 2011-08-16 02:24:43 UTC
> The Manifest file in CVS certainly doesn't suggest a size of 20 megabytes, but
> a quite ordinary 7 megabytes.
> 
> I suspect you 1) downloaded the file yourself using a web browser (that
> supports gzipped files and unzips them for you even when it shouldn't), and
> then 2) did some funky stuff in the PORTDIR to validate the file's size.

I downloaded the file with "emerge -f" (which uses wget, if I understand), which is the only way I ever obtain files for emerge. I did have to change the Manifest to accommodate what I received. Several download attempts (some using wget directly) produced the same (uncompressed) file.

In any case, I did (just now) try again, and actually received the file as described, so it seems that upstream fixed whatever the problem was.
Comment 5 ta2002 2011-09-08 14:03:40 UTC
This has returned with the latest release.

# emerge -Dfu world

These are the packages that would be fetched, in order:

Calculating dependencies... done!
[ebuild     U ~] www-plugins/adobe-flash-11.0.1.129_rc201109061 [11.0.1.60_beta201108082] USE="64bit kde (multilib) -32bit -bindist -vdpau" 6,905 kB

Total: 1 package (1 upgrade), Size of downloads: 6,905 kB


>>> Fetching (1 of 1) www-plugins/adobe-flash-11.0.1.129_rc201109061
>>> Downloading 'http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_rc1_install_lin_64_090611.tar.gz'
--2011-09-08 13:35:58--  http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_rc1_install_lin_64_090611.tar.gz
Resolving download.macromedia.com... 122.252.43.191
Connecting to download.macromedia.com|122.252.43.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19927040 (19M) [application/x-gzip]
Saving to: `/usr/portage/distfiles/flashplayer11_rc1_install_lin_64_090611.tar.gz'

100%[==========================================================================================================================================>] 19,927,040   230K/s   in 85s     

2011-09-08 13:37:23 (228 KB/s) - `/usr/portage/distfiles/flashplayer11_rc1_install_lin_64_090611.tar.gz' saved [19927040/19927040]

('Filesize does not match recorded size', 19927040, 7069963)
!!! Fetched file: flashplayer11_rc1_install_lin_64_090611.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      19927040
!!! Expected: 7069963
Refetching... File renamed to '/usr/portage/distfiles/flashplayer11_rc1_install_lin_64_090611.tar.gz._checksum_failure_.NAW_Iy'

!!! Couldn't download 'flashplayer11_rc1_install_lin_64_090611.tar.gz'. Aborting.
 * Fetch failed for 'www-plugins/adobe-flash-11.0.1.129_rc201109061'

>>> Failed to emerge www-plugins/adobe-flash-11.0.1.129_rc201109061



# file /usr/portage/distfiles/flashplayer11_rc1_install_lin_64_090611.tar.gz._checksum_failure_.NAW_Iy 
/usr/portage/distfiles/flashplayer11_rc1_install_lin_64_090611.tar.gz._checksum_failure_.NAW_Iy: POSIX tar archive (GNU)



Based on your prior comments, I have no idea whether this is a problem with emerge or with upstream, but a problem exists somewhere!
Comment 6 ta2002 2011-09-20 07:22:12 UTC
This was (is) apparently an Akamai hosting problem.

They handle Adobe's file downloads (with mirrors all over the world), and I kept getting routed to a mirror that had some sort of problem (with no way to select another mirror).

See the URL for more details.

The problem is (at least temporarily) fixed again, but I don't have a lot of confidence that it won't reappear.