Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129737 - manifest2 creation fails when sources dont already exist
Summary: manifest2 creation fails when sources dont already exist
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
: 129740 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-04-12 13:10 UTC by Ben Kohler
Modified: 2006-04-13 00:07 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 Ben Kohler 2006-04-12 13:10:41 UTC
On a fresh manifest2 creation, with either "emerge --digest package" or "ebuild /path/to/package-ver.ebuild digest", it will fail when the sources for a different version of the same package havent already been downloaded.

For example, if I try to "emerge --digest gentoolkit", it will go ahead and download the sources for the version to be emerged, 0.2.2-pre4, but it will error out when the sources for older versions (0.2.0, 0.2.1) don't already exist in distfiles:

# emerge --digest gentoolkit
Calculating dependencies... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3379, in ?
    retval=portage.doebuild(y,"digest",portage.root,tmpsettings,edebug,("--pretend" in myopts),tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 2726, in doebuild
    return (not digestgen(aalist,mysettings,overwrite=1))
  File "/usr/lib/portage/pym/portage.py", line 2075, in digestgen
    mf.create(assumeDistfileHashes=True)
  File "/usr/lib/portage/pym/portage_manifest.py", line 321, in create
    raise FileNotFound(fname)                   
portage_exception.FileNotFound: '/usr/portage/distfiles/gentoolkit-0.2.0.tar.gz'
#

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

# emerge --info
Portage 2.1_pre8-r2 (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 cdparanoia 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

#
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 13:52:55 UTC
*** Bug 129740 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2006-04-12 20:57:20 UTC
This is fixed in svn r3136.
Comment 3 Zac Medico gentoo-dev 2006-04-13 00:07:22 UTC
Released in 2.1_pr8-r3.