Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302206 - media-fonts/font-*: filesize does not match recorded size
Summary: media-fonts/font-*: filesize does not match recorded size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 302207 302208 302210 302212 302214 302216 302218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-25 18:00 UTC by Vladimir Monchenko
Modified: 2011-03-07 22:48 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 Vladimir Monchenko 2010-01-25 18:00:48 UTC
Filesize does not match recorded size


Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:
1. emerge --sync
2. emerge -f font-bh-100dpi

Actual Results:  
('Filesize does not match recorded size', 662648L, 669879)
!!! Fetched file: font-bh-100dpi-1.0.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size            
!!! Got:      662648                                         
!!! Expected: 669879                                         
Refetching... File renamed to '/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2._checksum_failure_.HoZubE'

!!! Couldn't download 'font-bh-100dpi-1.0.0.tar.bz2'. Aborting.
 * Fetch failed for 'media-fonts/font-bh-100dpi-1.0.0'

Expected Results:  
 * font-bh-100dpi-1.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-25 18:20:48 UTC
Please stop with your filesize mismatch reports. None of these packages have changed for months!

http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/font-bh-100dpi/?hideattic=0
Comment 2 Vladimir Monchenko 2010-01-25 18:47:36 UTC
(In reply to comment #1)
> Please stop with your filesize mismatch reports. None of these packages have
> changed for months!
> 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/font-bh-100dpi/?hideattic=0
> 

Really, it so. But all this time the CRC from the Manifest did not coincide with the file CRC.
Please, check up it.
I do not understand, why nobody has paid attention to this earlier.
If you consider it normal, leave it without changes.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-25 18:55:10 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Please stop with your filesize mismatch reports. None of these packages have
> > changed for months!
> > 
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-fonts/font-bh-100dpi/?hideattic=0
> > 
> 
> Really, it so. But all this time the CRC from the Manifest did not coincide
> with the file CRC.
> Please, check up it.
> I do not understand, why nobody has paid attention to this earlier.
> If you consider it normal, leave it without changes.
> 

I do consider it normal, as everything is working.

%% ebuild font-bh-100dpi-1.0.0.ebuild unpack
>>> Downloading 'http://distfiles.gentoo.org/distfiles/font-bh-100dpi-1.0.0.tar.bz2'
--2010-01-25 18:53:14--  http://distfiles.gentoo.org/distfiles/font-bh-100dpi-1.0.0.tar.bz2
Resolving distfiles.gentoo.org... 149.20.20.135, 140.211.166.134, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|149.20.20.135|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.kernel.org/gentoo/distfiles/font-bh-100dpi-1.0.0.tar.bz2 [following]
--2010-01-25 18:53:14--  http://mirrors.kernel.org/gentoo/distfiles/font-bh-100dpi-1.0.0.tar.bz2
Resolving mirrors.kernel.org... 149.20.20.135, 204.152.191.39
Reusing existing connection to distfiles.gentoo.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 669879 (654K) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2'

100%[======================================>] 669,879     1.63M/s   in 0.4s    

2010-01-25 18:53:17 (1.63 MB/s) - `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2' saved [669879/669879]

 * font-bh-100dpi-1.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * checking font-bh-100dpi-1.0.0.tar.bz2 ;-) ...                         [ ok ]
>>> Unpacking source...
>>> Unpacking font-bh-100dpi-1.0.0.tar.bz2 to /var/tmp/portage/media-fonts/font-bh-100dpi-1.0.0/work
 * Detected font directory: 100dpi
>>> Source unpacked in /var/tmp/portage/media-fonts/font-bh-100dpi-1.0.0/work
%% echo $?
0

So, a couple of possibilities. 1) your distfile mirror is bad but you didn't provide emerge --info so I can't check. You can chagne your GENTOO_MIRRORS to check this. 2) your gentoo-portage mirror is bad, again, can't check.

Please close your bugs as INVALID upon conclusion of this issue. Save some work for the bug-wranglers. Thanks.
Comment 4 Vladimir Monchenko 2010-01-25 19:12:31 UTC
It do not agree.

test ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 14 Jan 2010 17:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://server"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://server/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gtk hal iconv jpeg libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

test ~ #

Here a complete log at package installation:

>>> Fetching (139 of 154) media-fonts/font-bh-100dpi-1.0.0
>>> Downloading 'http://server/distfiles/font-bh-100dpi-1.0.0.tar.bz2'
--2010-01-26 04:14:48--  http://server/distfiles/font-bh-100dpi-1.0.0.tar.bz2
Resolving gw... 192.168.2.1                                                  
Connecting to gw|192.168.2.1|:3128... connected.                             
Proxy request sent, awaiting response... 200 OK                              
Length: 662648 (647K) [application/x-bzip2]                                  
Saving to: `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2'             

100%[==========================================================================================================================================>] 662,648     --.-K/s   in 0.1s    

2010-01-26 04:14:48 (5.24 MB/s) - `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2' saved [662648/662648]

('Filesize does not match recorded size', 662648L, 669879)
!!! Fetched file: font-bh-100dpi-1.0.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size            
!!! Got:      662648                                         
!!! Expected: 669879                                         
Refetching... File renamed to '/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2._checksum_failure_.HoZubE'

>>> Downloading 'http://xorg.freedesktop.org/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2'
--2010-01-26 04:14:48--  http://xorg.freedesktop.org/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2
Resolving gw... 192.168.2.1                                                                               
Connecting to gw|192.168.2.1|:3128... connected.                                                          
Proxy request sent, awaiting response... 200 OK                                                           
Length: 662648 (647K) [application/x-bzip2]                                                               
Saving to: `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2'                                          

100%[==========================================================================================================================================>] 662,648     --.-K/s   in 0.06s   

2010-01-26 04:14:48 (11.2 MB/s) - `/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2' saved [662648/662648]

('Filesize does not match recorded size', 662648L, 669879)
!!! Fetched file: font-bh-100dpi-1.0.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size            
!!! Got:      662648                                         
!!! Expected: 669879                                         
Refetching... File renamed to '/usr/portage/distfiles/font-bh-100dpi-1.0.0.tar.bz2._checksum_failure_.HoZubE'

!!! Couldn't download 'font-bh-100dpi-1.0.0.tar.bz2'. Aborting.
 * Fetch failed for 'media-fonts/font-bh-100dpi-1.0.0'         

>>> Failed to emerge media-fonts/font-bh-100dpi-1.0.0

Pay attention - I receive a package from other place - http://xorg.freedesktop.org/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2
Please, compare the size and CRC this file.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-25 19:30:00 UTC
This is why we have gentoo mirrors. Upstream changes stuff and we don't have control over that. The only way to guarantee that the end-user (you) gets what developers think they are testing (devs) is to mirror upstream at commit time. Please use our infrastructure that we have provided.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-25 19:35:12 UTC
(In reply to comment #5)
> This is why we have gentoo mirrors. Upstream changes stuff and we don't have
> control over that. The only way to guarantee that the end-user (you) gets what
> developers think they are testing (devs) is to mirror upstream at commit time.
> Please use our infrastructure that we have provided.
> 

Assigning to maintainers. 

Note for maintainers, GENTOO_MIRRORS work fine. My personal opinion is that these bugs are INVALID. But, your call.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:47:33 UTC
I do consider this bug to be valid (although not very urgent, that's for sure).

@Vladimir, for the love of god, don't open 10 _identical_ bugs. Just file one and list all the broken packages there. We'll open more bugs if necessary but please don't make this decision on your own.

Thanks
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:48:32 UTC
*** Bug 302216 has been marked as a duplicate of this bug. ***
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:48:40 UTC
*** Bug 302218 has been marked as a duplicate of this bug. ***
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:48:48 UTC
*** Bug 302214 has been marked as a duplicate of this bug. ***
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:48:55 UTC
*** Bug 302212 has been marked as a duplicate of this bug. ***
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:49:02 UTC
*** Bug 302208 has been marked as a duplicate of this bug. ***
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:49:13 UTC
*** Bug 302210 has been marked as a duplicate of this bug. ***
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 07:49:21 UTC
*** Bug 302207 has been marked as a duplicate of this bug. ***
Comment 15 Vladimir Monchenko 2010-01-26 09:31:44 UTC
(In reply to comment #7)
> I do consider this bug to be valid (although not very urgent, that's for sure).
> 
> @Vladimir, for the love of god, don't open 10 _identical_ bugs. Just file one
> and list all the broken packages there. We'll open more bugs if necessary but
> please don't make this decision on your own.
> 
> Thanks
> 

Excuse me.
I already opened bug in which there was a list of all these packages, but only one of them was fixed - http://bugs.gentoo.org/show_bug.cgi?id=287403, and I have decided that it is necessary to send separate bug for each package.
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2010-01-26 20:16:14 UTC
(In reply to comment #15)
> Excuse me.
> I already opened bug in which there was a list of all these packages, but only
> one of them was fixed - http://bugs.gentoo.org/show_bug.cgi?id=287403, and I
> have decided that it is necessary to send separate bug for each package.

You didn't even comment on that bug after you opened it. While I admit missing the other packages (the summary only mentioned one...), a simple comment asking for that bug to be re-opened would have gotten the message across.

With 10 open bugs, you're coming across as a spammer, which isn't ideal.

Anyhow, I've update the summary on this bug so that we don't forget about it.

Thanks
Comment 17 Vladimir Monchenko 2010-01-27 08:07:07 UTC
I have understood.
Thanks you for patience.
:)
Comment 18 C W Rose 2010-02-05 10:49:12 UTC
FWIW, verify also fails on the current media-fonts
font-bitstream-speedo, font-jis-misc, font-misc-cyrillic
and font-sony-misc.  Irritating but not fatal, once you
know about it.

Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-07 22:48:04 UTC
Given the last fonts respin this should be fixed. Please reopen if it is not so and attach the list of failed pkgs.

Thanks