Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217281 - x11-plugins/noscript-1.5.8 downloads corrupted xpi
Summary: x11-plugins/noscript-1.5.8 downloads corrupted xpi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 12:03 UTC by Matteo 'The Peach' Pescarin
Modified: 2008-04-11 14:21 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 Matteo 'The Peach' Pescarin 2008-04-11 12:03:48 UTC
* Unpacking noscript-1.5.8.xpi to /var/tmp/portage/x11-plugins/noscript-1.5.8/work
[/var/tmp/portage/x11-plugins/noscript-1.5.8/distdir/noscript-1.5.8.xpi]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /var/tmp/portage/x11-plugins/noscript-1.5.8/distdir/noscript-1.5.8.xpi or
        /var/tmp/portage/x11-plugins/noscript-1.5.8/distdir/noscript-1.5.8.xpi.zip, and cannot find /var/tmp/portage/x11-plugins/noscript-1.5.8/distdir/noscript-1.5.8.xpi.ZIP, period.

if you download it from the main site, the xpi is totally different:

# ls -l noscript-1.5.8.xpi ; ls -l /usr/portage/distfiles/noscript-1.5.8.xpi
-rw-r--r-- 1 root root 272453 10 apr 09:04 noscript-1.5.8.xpi
-rw-rw-r-- 1 portage portage 12744  8 apr 14:32 /usr/portage/distfiles/noscript-1.5.8.xpi
# md5sum noscript-1.5.8.xpi ; md5sum /usr/portage/distfiles/noscript-1.5.8.xpi
d7a76c7b5395cadceaffb70ce2d952a2  noscript-1.5.8.xpi
27b3dd3d4907e2d1aa84f63bea0cc44e  /usr/portage/distfiles/noscript-1.5.8.xpi


Reproducible: Always
Comment 1 Cedric Godin 2008-04-11 13:03:02 UTC
if fact, the SRC_URI is not good anymore (it's redirected on http://oss.informaction.com/catalog/ and that's what you have in the xpi file.
Comment 2 Cedric Godin 2008-04-11 13:05:58 UTC
comment 2 was bogus and i sure need more coffee. Sorry for the noise.
Comment 3 Matteo 'The Peach' Pescarin 2008-04-11 14:10:47 UTC
(In reply to comment #1)
> if fact, the SRC_URI is not good anymore (it's redirected on
> http://oss.informaction.com/catalog/ and that's what you have in the xpi file.
> 

wrong, the SRC_URI *IS* correct. so I don't know whom the problem belogs to:

# GENTOO_MIRRORS="" emerge -av noscript

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

Calculating dependencies         ... done!
[ebuild     U ] x11-plugins/noscript-1.5.8 [1.5] 13 kB 

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

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-plugins/noscript-1.5.8 to /
!!! Previously fetched file: 'noscript-1.5.8.xpi'
!!! Reason: Filesize does not match recorded size
!!! Got:      272453
!!! Expected: 12744
Refetching... File renamed to '/usr/portage/distfiles/noscript-1.5.8.xpi._checksum_failure_.kwH7T_'

>>> Downloading 'http://software.informaction.com/data/releases/noscript-1.5.8.xpi'
--16:10:05--  http://software.informaction.com/data/releases/noscript-1.5.8.xpi
           => `/usr/portage/distfiles/noscript-1.5.8.xpi'
Risoluzione di software.informaction.com in corso... 82.103.134.102
Connessione a software.informaction.com|82.103.134.102:80... connesso.
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 272,453 (266K) [application/x-xpinstall]

100%[==============================================================>] 272,453      115.93K/s             

16:10:07 (115.59 KB/s) - "/usr/portage/distfiles/noscript-1.5.8.xpi" salvato [272453/272453]

 * checking ebuild checksums ;-) ...                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                              [ ok ]
 * checking noscript-1.5.8.xpi ;-) ...                                                              [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/noscript-1.5.8.xpi
!!! Reason: Filesize does not match recorded size
!!! Got: 272453
!!! Expected: 12744
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-04-11 14:21:10 UTC
Should be fixed again...sync in an hour or so and try again.