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

Bug 129839

Summary: portage-2.1_pre8-r3 emerges error out if Manifest doesnt exist
Product: Portage Development Reporter: Ben Kohler <ben>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS, REGRESSION
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 115839    

Description Ben Kohler 2006-04-13 10:48:26 UTC
With portage-2.1_pre8-r3, doing "emerge anypackage" fails w/ a nasty error if Manifest doesnt already exist.  In pre7 & older (before manifest2) it would print a nice pretty message saying "Manifest doesnt exist" reminding me that I need to digest it first.

ath genlop # emerge genlop
Calculating dependencies... done!
>>> Emerging (1 of 1) app-portage/genlop-0.30.5 to /
>>> checking ebuild checksums :-)
>>> checking auxfile checksums :-)
>>> checking miscfile checksums :-)
>>> checking genlop-0.30.5.tar.gz checksums
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3387, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 2028, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 2718, 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 2166, in digestcheck
    mf.checkFileHashes(mf.findFile(f), f)       
  File "/usr/lib/portage/pym/portage_manifest.py", line 360, in checkFileHashes
    myhashes = self.fhashdict[ftype][fname]
KeyError
ath genlop # 

---------------------

ath genlop # emerge --info
Portage 2.1_pre8-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-suspend2-r1 i686)
=================================================================
System uname: 2.6.16-suspend2-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
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="-O2 -march=athlon -fomit-frame-pointer -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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aim alsa amarok apache2 apm asf avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdp
aranoia cdr cli cpudetection crypt ctype cups dba dbus dri dvd dvdread eds emboss encode expat fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gaim gd gdbm gif gmail gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ libwww mad memlimit mikmod mmx mmxext motif mp3 mpeg musepack ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline samba sdl session simplexml soap sockets spell spl ssl tcpd theora tokenizer truetype truetype-fonts type1-fonts udev vorbis win32codecs x264 xml xmms xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

ath genlop #
Comment 1 Zac Medico gentoo-dev 2006-04-13 15:00:17 UTC
This is fixed in svn r3142.
Comment 2 Zac Medico gentoo-dev 2006-04-13 18:51:38 UTC
Released in 2.1_pre8-r4.