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

Bug 157385

Summary: repoman TypeError in digestgen
Product: Portage Development Reporter: Daniel Drake (RETIRED) <dsd>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: hkbst
Priority: High Keywords: InVCS, REGRESSION
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147007    

Description Daniel Drake (RETIRED) gentoo-dev 2006-12-06 16:47:38 UTC
THis seems to be a new bug:

$ repoman fix

Setting paths:
PORTDIR = "/usr/local/gentoo-x86"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...
>>> Creating Manifest for /usr/local/gentoo-x86/sys-kernel/gentoo-sources
Traceback (most recent call last):
  File "/usr/bin/repoman", line 825, in ?
    portage.digestgen(
  File "/usr/lib/portage/pym/portage.py", line 2491, in digestgen
    writemsg("!!! File %s doesn't exist, can't update " + \
TypeError: not all arguments converted during string formatting

repoman worked on another commit I just did. I guess the difference is this time it has to download the distfiles.

$ emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19 i686)
=================================================================
System uname: 2.6.19 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 00:00:03 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i386"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i386"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata.xml --exclude=ChangeLog"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aiglx alsa bash-completion beagle cairo cdr custom-cflags daap dbus dri dvd dvdr dvdread elibc_glibc firefox gnome gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics jpeg kernel_linux libnotify linguas_en_GB mad mmx mono mozbranding moznocompose moznoirc moznomail mp3 no-old-linux nptl nptlonly opengl pdf png rtc sse sse2 ssl svg tiff truetype truetype-fonts userland_GNU video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga xorg xvid"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL
Comment 1 Zac Medico gentoo-dev 2006-12-06 17:20:16 UTC
Hmm, I suppose we can trigger a fetch there for any missing files.  I'll see what I can do.
Comment 2 Zac Medico gentoo-dev 2006-12-06 22:42:24 UTC
In svn r5196:5198 it's fixed so that it will automatically fetch any distfiles for which there are no existing digests.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 08:40:05 UTC
*** Bug 157440 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2006-12-08 14:14:15 UTC
This has been released in 2.1.2_rc3.