Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116945 - 2.1_pre2 FEATURES=digest calculation error
Summary: 2.1_pre2 FEATURES=digest calculation error
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 117003 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-12-27 20:12 UTC by Daniel Black (RETIRED)
Modified: 2006-01-27 19:25 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 Black (RETIRED) gentoo-dev 2005-12-27 20:12:33 UTC
after altering an ebuild and attempting to rely on FEATURES=digest to recreate the digest the following error occured.

ebuild lzo-2.02-r1.ebuild compile
>>> checksums files   ;-) lzo-1.08-r1.ebuild

!!! Digest verification Failed:
!!!    /home/dan/gentoo/gentoo-x86/dev-libs/lzo/lzo-2.02-r1.ebuild
!!! Reason: Filesize does not match recorded size
Traceback (most recent call last):
  File "/usr/bin/ebuild", line 77, in ?
    a = portage.doebuild(ebuild, arg, portage.root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
  File "/usr/lib/portage/pym/portage.py", line 2810, 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

emerge info
Portage 2.1_pre2 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.0_pre11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
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.20
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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=" -ggdb3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs digest distlocks keepwork nostrip sandbox sfperms sign strict stricter test userpriv usersandbox verify-rdepend
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-12-28 23:22:25 UTC
*** Bug 117003 has been marked as a duplicate of this bug. ***
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-12-30 23:28:57 UTC
Released in portage-2.1_pre3
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2006-01-27 19:25:37 UTC
Released in 2.1_pre4