Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80378 - half-life steam ebuild complains about /usr/portage/distfiles/hldsupdatetool_readme.txt being the wrong size.
Summary: half-life steam ebuild complains about /usr/portage/distfiles/hldsupdatetool_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 12:39 UTC by Daniel J Birkinshaw
Modified: 2005-04-04 08:45 UTC (History)
1 user (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 Daniel J Birkinshaw 2005-02-01 12:39:20 UTC
The wretched thing kept saying this:

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/hldsupdatetool_readme.txt
!!! Reason: Filesize does not match recorded size

So I removed the file from the SRC_URI line in the ebuild.

reasonsToHateSteam++;

Reproducible: Always
Steps to Reproduce:
1. emerge halflife-steam
2. Raise eyebrow at "get the files yourself" message.
3. ftp ftp.valvesoftware.com
4. emerge halflife-steam

Actual Results:  
Portage retorted with:
!!! Digest verification Failed:
!!!    /usr/portage/distfiles/hldsupdatetool_readme.txt
!!! Reason: Filesize does not match recorded size

Expected Results:  
>>> Merging games-server/halflife-steam-2.0 to /

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r6i686)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 22:32:09)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4, 1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cjk crypt cups encode esd f77
fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 guile imlib
ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms
xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-02-01 15:07:05 UTC
sounds like maybe you transfered the text file in ASCII mode ?

when i transfer it in binary i get the same md5 as is recorded in portage
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-02-28 10:42:35 UTC
other way around.  For some reason, if you ftp the file in binary mode, it comes out smaller.  ascii mode gets you a file with some duplicated text at the end which looks wrong to me.  updated the digest to reflect the smaller file size.
Comment 3 Radek Podgorny 2005-04-04 08:45:56 UTC
This does not seem to be fixed for me. I've downloaded the file a million times and the error is still there. No duplicated text seen.

Can you please write the exact wget command you use to download it or fix the ebuild?

Thanks...
Radek P.