Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83353

Summary: cracklib-words ebuild has incorrect file size
Product: Gentoo Linux Reporter: Dave Hughes <dave>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dave Hughes 2005-02-26 00:36:29 UTC
When attempting to perform "emerge cracklib-words", I received the following message:

>>> emerge (1 of 1) sys-apps/cracklib-words-1.1 to /

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/cracklib-words.gz
!!! Reason: Filesize does not match recorded size


Just to make sure it wasn't a problem with the specific mirror I was using (mir.zyrianes.net in this case), I removed "/usr/portage/distfiles/cracklib-words.gz", changed the GENTOO_MIRROR line in "/etc/make.conf" to use distfiles.gentoo.org instead (I assume this is the "canonical" mirror) and tried again. Unfortunately, this produced the same error.

I checked that the file that had been downloaded was intact and not corrupt, and indeed it does seem to gunzip perfectly happily. So finally, I checked the filesize and digest in "/usr/portage/sys-apps/cracklib-words/files/digest-cracklib-words-1.1". It appears both the filesize and digest in this file are incorrect, specifically the file mentions:

MD5 d18e670e5df560a8745e1b4dede8f84f cracklib-words.gz 4433906

However, I think this should be:

MD5 575a44add4db95b43c7abb46b307950f cracklib-words.gz 4559371

Though (obviously) this should be verified

Reproducible: Always
Steps to Reproduce:
1.Attempt to emerge cracklib-words

Actual Results:  
!!! Digest verification Failed:
!!!    /usr/portage/distfiles/cracklib-words.gz
!!! Reason: Filesize does not match recorded size


Expected Results:  
Successful emerge of cracklib-words ebuild
Comment 1 Dario Birtic 2005-02-26 02:31:09 UTC
Confirmed.

# emerge --info

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 21:15:29)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -march=athlon64 -mtune=athlon64 -ftracer -fweb -frename-registers -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=athlon64 -mtune=athlon64 -ftracer -fweb -frename-registers -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa arts audiofile avi berkdb bitmap-fonts cddb cdr crypt cscope cups curl directfb divx4linux dv dvd dvdr encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg kde ldap libwww lzw lzw-tiff mad mikmod motif mpeg multilib mysql nas ncurses nls nptl nptlonly oggvorbis opengl oss pam perl pic png python qt quicktime readline ruby samba sdl slang speex ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales xml xml2 xmms xpm xrandr xv yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL

# emerge -pv cracklib-words

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/cracklib-words-1.1  0 kB

Total size of downloads: 0 kB

# emerge cracklib-words

Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/cracklib-words-1.1 to /

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/cracklib-words.gz
!!! Reason: Filesize does not match recorded size

# ls -l /usr/portage/distfiles/cracklib-words.gz
-rw-rw-r--  1 root portage 4559371 Feb  4 17:15 /usr/portage/distfiles/cracklib-words.gz

# md5sum /usr/portage/distfiles/cracklib-words.gz
575a44add4db95b43c7abb46b307950f  /usr/portage/distfiles/cracklib-words.gz

# cat /usr/portage/sys-apps/cracklib-words/files/digest-cracklib-words-1.1
MD5 d18e670e5df560a8745e1b4dede8f84f cracklib-words.gz 4433906
Comment 2 SpanKY gentoo-dev 2005-02-28 15:53:15 UTC
fixed in cvs, thanks