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

Bug 126793

Summary: raise ValueError -on "emerge -udp world"
Product: Portage Development Reporter: Farid <djfarid>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: AMD64   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-p-3191736.html#3191736
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 136244, 137445    

Description Farid 2006-03-19 05:27:35 UTC
emerge --info
Portage 2.1_pre6-r4 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fno-ident"
CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentoo"
LINGUAS="en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts cdr crypt dbus dri dvd dvdr dvdread eds emboss encode foomaticdb fortran ftp gif gpm gstreamer gtk gtk2 hal icq imagemagick imlib jpeg jpeg2k kde kdeenablefinal libcaca lirc lm_sensors lzw lzw-tiff mozilla mp3 mpeg msn ncurses nls nsplugin nvidia offensive openal opengl osc pam pdflib perl pic png python qt quicktime readline samba scanner sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb v4l vcd wmf xine xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_sv userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-19 05:47:37 UTC
Never refer to forums/pastebins with error messages, makes searching for duplicates completely useless. :/


*** This bug has been marked as a duplicate of 123677 ***
Comment 2 Zac Medico gentoo-dev 2006-06-14 09:29:52 UTC
(In reply to comment #13)
> I have ldcpp installed on my system. It is an ebuild that is not in portage
> yet, since it is not considered stable. I downloaded the ebuild myself. I have
> had it this way for more than 6 months, and it has worked normally with the old
> portage.
> It's only with the new 2.1 that I get this everytime I do emerge -udp world:
> "Parent:    None
> Depstring: net-p2p/dcpp
> Candidates: ['net-p2p/dcpp']
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 3400, in ?
>     if not mydepgraph.xcreate(myaction):
>   File "/usr/bin/emerge", line 1397, in xcreate
>     if not self.select_dep(portage.root, mydep, raise_on_missing=True):
>   File "/usr/bin/emerge", line 1251, in select_dep
>     raise ValueError
> ValueError"

That traceback is different.  It's not a duplicate..
Comment 3 Zac Medico gentoo-dev 2006-06-14 09:55:12 UTC
Please attach the ldcpp ebuild.  The net-p2p/dcpp package does not seem to be official either...
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2006-06-14 17:29:32 UTC
It's correct behaviour. net-p2p/dcpp is in your world file (and possibly installed) but no ebuild is available in any configured trees. Normally a nice message would be displayed but you've specified -d (--debug) where you probably wanted -D (--deep).
Comment 5 Farid 2006-06-15 04:54:55 UTC
(In reply to comment #4)
> It's correct behaviour. net-p2p/dcpp is in your world file (and possibly
> installed) but no ebuild is available in any configured trees. Normally a nice
> message would be displayed but you've specified -d (--debug) where you probably
> wanted -D (--deep).
> 

Haha! I have been using the small case "d" for deep instead of the uppercase "D" for I don't know how long. I know that it should be uppercase now when you mention it :-)
I did an emerge -uDp now and got a big list of stuff that needs to be upgraded...
Thanks for pointing that out.

Anyways, this is still a bug, isn't it?
I didn't get this error message before.
It seems that it comes with all the packages that are not in portage for any reason. I got it with both torsmo and ldcpp. Torsmo is not longer maintained but I had it installed. Ldcpp is a ebuild that I downloaded from here: http://dx.homelinux.org/gentoo/portage-overlay/local-overlay/

I am not the only one that noticed this change. When searching the gentoo forums for "raise ValueError" there are a few other threads about this (probably everyone using lowercase "d" instead of "D").

This bug should probably be downgraded to minor or something?
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2006-06-15 05:41:02 UTC
It was intentionally set like that for (you guessed it!) debugging purposes, but now that the functionality has been confirmed as working correctly the --debug clause on this instance can probably be removed...
Comment 7 Zac Medico gentoo-dev 2006-06-15 09:21:31 UTC
I've removed that debug clause in svn r3513.
Comment 8 Zac Medico gentoo-dev 2006-06-16 10:01:06 UTC
This has been released in 2.1.1_pre1.