Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127573 - Portage 2.1_pre7 --pretend broken.
Summary: Portage 2.1_pre7 --pretend broken.
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
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-03-25 14:56 UTC by illuminata
Modified: 2006-03-26 00:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Portage Exception works with no args now. (portage-exception-value.patch,491 bytes, patch)
2006-03-25 15:01 UTC, Alec Warner (RETIRED)
Details | Diff
Passes the path to PortageException (dir-cache-exception-fix.patch,455 bytes, patch)
2006-03-25 15:06 UTC, Alec Warner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description illuminata 2006-03-25 14:56:12 UTC
Here you go, as requested by zmedico:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 3289, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 1089, in select_files
    mykey=portage.dep_expand(x,mydb=portage.portdb)
  File "/usr/lib/portage/pym/portage.py", line 3367, in dep_expand
    return prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix
  File "/usr/lib/portage/pym/portage.py", line 3553, in cpv_expand
    if mydb.cp_list(x+"/"+myp,use_cache=use_cache):
  File "/usr/lib/portage/pym/portage.py", line 5080, in cp_list
    for x in listdir(oroot+"/"+mycp,EmptyOnError=1,ignorecvs=1):
  File "/usr/lib/portage/pym/portage.py", line 264, in listdir
    list, ftype = cacheddir(mypath, ignorecvs, ignorelist, EmptyOnError, followSymlinks)
  File "/usr/lib/portage/pym/portage.py", line 217, in cacheddir
    raise portage_exception.PortageException
TypeError: __init__() takes exactly 2 arguments (1 given)
Comment 1 illuminata 2006-03-25 15:01:25 UTC
emerge --info, again requested by zmedico:

Portage 2.1_pre6-r7 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.14-ck3 i686)
=================================================================
System uname: 2.6.14-ck3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 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-xp -fomit-frame-pointer -pipe"
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.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/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cairo cdparanoia cdr cli crypt ctype cups curl dba dedicated directfb divx4linux dri dvd emboss encode esd expat fastbuild fbcon flac flash foomaticdb force-cgi-redirect fortran freetype ftp gd gdbm gif glitz glut gpm gtk gtk2 imlib ipv6 jack jpeg kde libcaca libg++ libwww mad memlimit mikmod ming mmx motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl png posix python qt quicktime readline real sdl session simplexml soap sockets spell spl sse ssl svga tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb videos vorbis win32codecs xine xml xmms xsl xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-03-25 15:01:41 UTC
Created attachment 83114 [details, diff]
Portage Exception works with no args now.
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-03-25 15:06:16 UTC
Created attachment 83115 [details, diff]
Passes the path to PortageException

YOu get to pick which patch you want, I'd prefer the latter (breaks less stuff).
Comment 4 Zac Medico gentoo-dev 2006-03-26 00:02:01 UTC
released in 2.1_pre7-r1