Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225819 - app-office/openoffice-2.4.1 manifest contains incorrect file sizes
Summary: app-office/openoffice-2.4.1 manifest contains incorrect file sizes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 01:13 UTC by Alois Hammer
Modified: 2008-06-12 02:20 UTC (History)
2 users (show)

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


Attachments
app-office/openoffice-2.4.1 Manifest (Manifest,3.52 KB, text/plain)
2008-06-11 01:38 UTC, Alois Hammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alois Hammer 2008-06-11 01:13:22 UTC
The existing manifest for app-office/openoffice-2.4.1 appears to be trashed.  I re-synced six hours after my first attempt and re-confirmed that emerging is impossible with the existing manifest.

Reproducible: Always

Steps to Reproduce:
Attempt to fetch distfiles for OOo 2.4.1 source ebuild.
Actual Results:  
File size verification fails.  Probably incorrect digests, too.

Expected Results:  
Successful distfiles fetch.

brigandine ~ # emerge -f openoffice
Calculating dependencies... done!

>>> Emerging (1 of 1) app-office/openoffice-2.4.1 to /
>>> Downloading 'http://mirror.mcs.anl.gov/pub/gentoo/distfiles/OOo_2.4.1_src_binfilter.tar.bz2'
Initializing download: http://mirror.mcs.anl.gov/pub/gentoo/distfiles/OOo_2.4.1_src_binfilter.tar.bz2
HTTP/1.1 404 Not Found
>>> Downloading 'http://files.gentoo.org/distfiles/OOo_2.4.1_src_binfilter.tar.bz2'
Initializing download: http://files.gentoo.org/distfiles/OOo_2.4.1_src_binfilter.tar.bz2
Opening output file /usr/portage/distfiles/OOo_2.4.1_src_binfilter.tar.bz2
Server unsupported, starting from scratch with one connection.
Starting download

Connection 0 finished                                                          

Downloaded 2.0 kilobytes in 0 seconds. (20.41 KB/s)
('Filesize does not match recorded size', 2091L, 0)
!!! Fetched file: OOo_2.4.1_src_binfilter.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      2091
!!! Expected: 0
Refetching... File renamed to '/usr/portage/distfiles/OOo_2.4.1_src_binfilter.tar.bz2._checksum_failure_.GM2R0m'


NOTE:

! Got:      2091
!!! Expected: 0

The actual file size is a lot larger than 2091 bytes, too.  This repeats for mirror after mirror.
Comment 1 Alois Hammer 2008-06-11 01:38:49 UTC
Created attachment 156309 [details]
app-office/openoffice-2.4.1 Manifest

I've built this manifest from sources downloaded from the official OOo mirrors (RESTRICT="mirror").  I note that the OOo mirrors appear to be handing out a *lot* of 404s and truncated files right now.

Still building right now, but it *appears* correct:

brigandine openoffice # for i in `grep DIST Manifest | awk '{print $2}'`; do file /usr/portage/distfiles/${i}; done
/usr/portage/distfiles/OOo_2.4.1_src_binfilter.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/OOo_2.4.1_src_core.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/OOo_2.4.1_src_l10n.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/OOo_2.4.1_src_sdk.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/biblio.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/extras-2.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/libwpg-0.1.2.tar.gz: gzip compressed data, from Unix, last modified: Thu Dec 13 09:02:41 2007, max compression
/usr/portage/distfiles/libwps-0.1.2.tar.gz: gzip compressed data, from Unix, last modified: Thu Dec 13 09:48:45 2007, max compression
/usr/portage/distfiles/lp_solve_5.5.0.10_source.tar.gz: gzip compressed data, from NTFS filesystem (NT), max compression
/usr/portage/distfiles/ooo-build-2.4.1.5.tar.gz: gzip compressed data, from Unix, last modified: Wed Jun  4 10:49:51 2008, max compression
/usr/portage/distfiles/oox.2008-02-29.tar.bz2: bzip2 compressed data, block size = 900k
/usr/portage/distfiles/unowinreg.dll: MS-DOS executable PE  for MS Windows (DLL) (console) Intel 80386 32-bit
/usr/portage/distfiles/writerfilter.2008-02-29.tar.bz2: bzip2 compressed data, block size = 900k
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-11 02:04:23 UTC
The source tarballs are only just hitting mirrors. Give it some time and reopen this bug if it's still a problem tomorrow.
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2008-06-11 02:16:45 UTC
(In reply to comment #2)
> The source tarballs are only just hitting mirrors. Give it some time and reopen
> this bug if it's still a problem tomorrow.

Just to make sure, the Manifest actually lists 0-length files, so it does need to be updated even after mirrors catch up. Thanks!
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-06-11 12:48:36 UTC
Admins, please reopen this bug!

The manifest is wrong. OOo_2.4.1_src_binfilter.tar.bz2 is not 0 bytes. Please regenerate, anyone who uses binfilter cannot emerge openoffice-2.4.1.

# USE=binfilter emerge openoffice

>>> Downloading 'ftp://ftp.fsf.hu/OpenOffice.org/stable/2.4.1/OOo_2.4.1_src_binfilter.tar.bz2'
--2008-06-11 08:43:16--  ftp://ftp.fsf.hu/OpenOffice.org/stable/2.4.1/OOo_2.4.1_src_binfilter.tar.bz2
           => `/home/ftp/gentoo/distfiles/OOo_2.4.1_src_binfilter.tar.bz2'
Resolving ftp.fsf.hu... 195.228.252.133
Connecting to ftp.fsf.hu|195.228.252.133|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /OpenOffice.org/stable/2.4.1 ... done.
==> SIZE OOo_2.4.1_src_binfilter.tar.bz2 ... 6674779
==> PASV ... done.    ==> RETR OOo_2.4.1_src_binfilter.tar.bz2 ... done.
Length: 6674779 (6.4M)

100%[======================================>] 6,674,779    492K/s   in 15s     

2008-06-11 08:43:33 (439 KB/s) - `/home/ftp/gentoo/distfiles/OOo_2.4.1_src_binfilter.tar.bz2' saved [6674779]

('Filesize does not match recorded size', 6674779L, 0)
!!! Fetched file: OOo_2.4.1_src_binfilter.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      6674779
!!! Expected: 0
Comment 5 Alois Hammer 2008-06-11 16:35:49 UTC
After another resync just now (1630GMT):

DIST OOo_2.4.1_src_binfilter.tar.bz2 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

This is the same size recorded in CVS rev 1.475, the latest, and 30 hours old:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/
Comment 6 Alois Hammer 2008-06-12 02:20:01 UTC
Looks like CVS rev. 1.477 has fixed file sizes and digests for the manifest.  I don't have another machine to compile on to test against the new manifest, but I'm not seeing any 0-length files.