Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117003 - emerge shows traceback when file size does not match
Summary: emerge shows traceback when file size does not match
Status: RESOLVED DUPLICATE of bug 116945
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-28 10:01 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2005-12-28 23:22 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 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-12-28 10:01:36 UTC
I've changed skippy-0.5.0.ebuild and wanted to download the sources, to keep repoman happy, here's the result:

nelchael@nelchael skippy$ emerge -avf skippy

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

Calculating dependencies  ...done!
[ebuild  N    ] x11-misc/skippy-0.5.0  23 kB 

Total size of downloads: 23 kB

Do you want me to fetch the source files for these packages? [Yes/No] 
>>> emerge (1 of 1) x11-misc/skippy-0.5.0 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/skippy-0.5.0.tar.bz2
--18:55:04--  http://distfiles.gentoo.org/distfiles/skippy-0.5.0.tar.bz2
           => `/usr/portage/distfiles/skippy-0.5.0.tar.bz2'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,722 (23K) [application/x-tar]

100%[=====================================================================================================>] 23,722        51.67K/s             

18:55:05 (51.58 KB/s) - `/usr/portage/distfiles/skippy-0.5.0.tar.bz2' saved [23722/23722]

>>> skippy-0.5.0.tar.bz2 size ;-)
>>> skippy-0.5.0.tar.bz2 MD5 ;-)

!!! Digest verification Failed:
!!!    /home/nelchael/gentoo-x86/x11-misc/skippy/skippy-0.5.0.ebuild
!!! Reason: Filesize does not match recorded size
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3335, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 1984, in merge
    retval=portage.doebuild(y,"fetch",myroot,self.pkgsettings,edebug,("--pretend" in myopts),fetchonly=1,tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 2809, in doebuild
    if not digestcheck(checkme, mysettings, ("strict" in features), (mydo not in ["digest","fetch","unpack"] and settings["PORTAGE_CALLER"] == "ebuild" and "noauto" in features)):
  File "/usr/lib/portage/pym/portage.py", line 2367, in digestcheck
    if not digestCheckFiles(mymfiles, mymdigests, pbasedir, note="files  ", strict=strict):
  File "/usr/lib/portage/pym/portage.py", line 2290, in digestCheckFiles
    print red("!!! Got:      ")+reason[1]
TypeError: cannot concatenate 'str' and 'long' objects

nelchael@nelchael ~$ emerge --info
Portage 2.1_pre2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-ck7 i686)
=================================================================
System uname: 2.6.14-ck7 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache cvs distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups dvd dvdr emboss expat fam foomaticdb fortran gdbm gstreamer gtk2 idn imlib ipv6 jpeg kdeenablefinal libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl offensive ogg oggvorbis opengl pam pcre perl php png python quicktime readline sse sse2 ssl svg truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-12-28 23:22:25 UTC

*** This bug has been marked as a duplicate of 116945 ***