Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308661 - app-office/openoffice-3.2.0: filesize disagreement between gentoo and upstream
Summary: app-office/openoffice-3.2.0: filesize disagreement between gentoo and upstream
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 15:20 UTC by Chris Slycord
Modified: 2010-04-18 13:28 UTC (History)
0 users

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 Chris Slycord 2010-03-09 15:20:57 UTC
http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2 is 104366307 bytes

http://gentoo.osuosl.org/distfiles/OOo_3.2.0_src_l10n.tar.bz2 is 104383205 bytes

The Manifest for openoffice matches the latter.

Reproducible: Always

Steps to Reproduce:
1. emerge -f openoffice
2. 
3.

Actual Results:  
If it downloads upstream file, error regarding filesize mismatch

Expected Results:  
No mismatch
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-09 17:27:54 UTC
I can confirm this:


# RESTRICT="mirror" GENTOO_MIRRORS="" emerge -f openoffice

Calculating dependencies... done!

>>> Fetching (1 of 1) app-office/openoffice-3.2.0
 * OOo_3.2.0_src_core.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...            [ ok ]
 * OOo_3.2.0_src_extensions.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
>>> Downloading 'http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2'
--2010-03-09 18:19:51--  http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2
Resolving http-proxy.XXXXXXXXXX.de (http-proxy.XXXXXXXXXX.de)... XX.XX.XX.XX
Connecting to http-proxy.XXXXXXXXXX.de (http-proxy.XXXXXXXXXX.de)|XX.XX.XX.XX|:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.openoffice.org/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2 [following]
--2010-03-09 18:19:51--  http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.openoffice.org/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2
Connecting to http-proxy.XXXXXXXXXX.de (http-proxy.XXXXXXXXXX.de)|XX.XX.XX.XX|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 104366307 (100M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/OOo_3.2.0_src_l10n.tar.bz2'

100%[======================================>] 104,366,307 1.84M/s   in 37s     

2010-03-09 18:20:28 (2.69 MB/s) - `/usr/portage/distfiles/OOo_3.2.0_src_l10n.tar.bz2' saved [104366307/104366307]

('Filesize does not match recorded size', 104366307, 104383205)
!!! Fetched file: OOo_3.2.0_src_l10n.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      104366307
!!! Expected: 104383205
Comment 2 Hanno Zysik (geki) 2010-03-09 17:41:35 UTC
Upstream silently repacked l10n tarball including
http://cgit.freedesktop.org/ooo-build/ooo-build/commit/?h=ooo-build-3-2&id=6c41e6e4c8b32d85b78acf5f05692034418453c0
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2010-03-11 11:33:56 UTC
I'm not quite sure how to handle such a situation. Do I just redigest and the mirror system takes care of updating the files? Would be grateful for an advice on that matter...
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2010-03-11 15:31:22 UTC
I'm not sure, but I believe that is how it goes.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-11 16:48:31 UTC
(In reply to comment #3)
> I'm not quite sure how to handle such a situation. Do I just redigest and the
> mirror system takes care of updating the files? Would be grateful for an advice
> on that matter...
> 

I'd download http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_src_l10n.tar.bz2 and repackage it as .tar.gz, then upload it at distfiles-local at dev.gentoo.org, this way the filename is different.

Then fix the SRC_URI to mirror://gentoo/OOo_3.2.0_src_l10n.tar.gz.

And with next release, restore it as it was.

Just a suggestion :)
Comment 6 Chris Slycord 2010-03-16 14:23:34 UTC
Well, you gotta decide to do something. I think as mentioned your only options are either change the name for the file and do a revbump or repopulate the servers with the new file and redo the manifests.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2010-04-18 13:28:58 UTC
This is fixed now, sorry that it took so long, and thanks for the advice!