Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300797 - www-client/firefox-bin-3.5.7 'Filesize does not match recorded size' when en_GB locale is set
Summary: www-client/firefox-bin-3.5.7 'Filesize does not match recorded size' when en_...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 00:58 UTC by Russell Knighton
Modified: 2010-01-13 03:15 UTC (History)
1 user (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 Russell Knighton 2010-01-13 00:58:53 UTC
With the locale of en_GB set, the file "firefox-3.5.7-en-GB.xpi" is downloaded from Mozilla, however the file-size in the portage digest needs updating.

Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/firefox-bin-3.5.7
2.
3.

Actual Results:  
>>> Emerging (13 of 22) www-client/firefox-bin-3.5.7
 * firefox-3.5.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                      [ ok ]
>>> Downloading 'http://gentoo.virginmedia.com/distfiles/firefox-3.5.7-en-GB.xpi'
--2010-01-13 00:40:24--  http://gentoo.virginmedia.com/distfiles/firefox-3.5.7-en-GB.xpi
Resolving starbug (starbug)... 192.168.0.10
Connecting to starbug (starbug)|192.168.0.10|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2010-01-13 00:40:24 ERROR 404: Not Found.

>>> Downloading 'http://releases.mozilla.org/pub/mozilla.org/firefox/releases//3.5.7/linux-i686/xpi/en-GB.xpi'
--2010-01-13 00:40:24--  http://releases.mozilla.org/pub/mozilla.org/firefox/releases//3.5.7/linux-i686/xpi/en-GB.xpi
Resolving starbug (starbug)... 192.168.0.10
Connecting to starbug (starbug)|192.168.0.10|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 117721 (115K)
Saving to: `/tmp/distfiles/firefox-3.5.7-en-GB.xpi'

100%[===========================================================>] 117,721     --.-K/s   in 0.001s  

2010-01-13 00:40:24 (133 MB/s) - `/tmp/distfiles/firefox-3.5.7-en-GB.xpi' saved [117721/117721]

('Filesize does not match recorded size', 117721L, 118780)
!!! Fetched file: firefox-3.5.7-en-GB.xpi VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      117721
!!! Expected: 118780
Refetching... File renamed to '/tmp/distfiles/firefox-3.5.7-en-GB.xpi._checksum_failure_.idTphJ'

!!! Couldn't download 'firefox-3.5.7-en-GB.xpi'. Aborting.
 * Fetch failed for 'www-client/firefox-bin-3.5.7', Log file:
 *  '/var/log/portage/www-client:firefox-bin-3.5.7:20100113-004022.log'

>>> Failed to emerge www-client/firefox-bin-3.5.7, Log file:

>>>  '/var/log/portage/www-client:firefox-bin-3.5.7:20100113-004022.log'

 * GNU info directory index is up-to-date.

Expected Results:  
Checksum should pass
Comment 1 Ben Kohler gentoo-dev 2010-01-13 02:39:32 UTC
It's the correct size for me:

wget http://releases.mozilla.org/pub/mozilla.org/firefox/releases//3.5.7/linux-i686/xpi/en-GB.xpi
--2010-01-12 20:36:12--  http://releases.mozilla.org/pub/mozilla.org/firefox/releases//3.5.7/linux-i686/xpi/en-GB.xpi
Resolving releases.mozilla.org... 64.50.236.52, 204.246.0.136, 155.98.64.83, ...
Connecting to releases.mozilla.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 118780 (116K) [application/x-xpinstall]
Saving to: `en-GB.xpi'

100%[======================================>] 118,780      157K/s   in 0.7s    

2010-01-12 20:36:13 (157 KB/s) - `en-GB.xpi' saved [118780/118780]


Is your proxy messing with it?
Comment 2 Russell Knighton 2010-01-13 03:15:01 UTC
Sorry - my bad. Closing as a false alarm.

I have a caching proxy for portage downloads (http-replicator) and had been removing 'firefox-*' from the cache, but failed to spot the file I should have been removing is called 'en-GB.xpi' and only renamed to 'firefox-3.5.7-en-GB.xpi' after the downloading.

Doh!