Summary: | dispatch-conf broken (python traceback) since portage upgrade | ||
---|---|---|---|
Product: | Portage Development | Reporter: | giggles1 <bevdv> |
Component: | Tools | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | m.debruijne, news |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 69147 | ||
Attachments: | dispatch-conf-typo.patch |
Description
giggles1
2004-11-06 11:01:58 UTC
Same here, Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.9-rc4-love1 i686) ================================================================= System uname: 2.6.9-rc4-love1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.5 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.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="X Xaw3d acpi aim alsa apache2 arts audiofile avi berkdb bitmap-fonts cairo cdparanoia cdr crypt cups dba dvd dvdr encode f77 faad flac flash foomaticdb freetype ftp gb gd gdbm gif gimp gimp-print gimpprint glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imlib jabber jack java joystick jpeg jpeg2k kde ladcca ldap libg++ libwww lzw-tiff mad mbox mhash mikmod mmx mng motif mozilla mpeg msn mysql ncurses nls nptl nptlonly nvidia offensive oggvorbis opengl pam pcmcia pdflib perl php png ppds python qt quicktime readline samba scanner sdl slang snmp socks5 spell sse ssl svg svga tcltk tcpd tga tiff truetype truetype-fonts trusted type1-fonts usb userlocales v4l v4l2 wavelan wmf wxwindows x86 xft xine xml xml2 xmms xprint xrandr xscreensaver xv yahoo zlib" For now, you can fix this by editing line 222 of dispatch-conf: Original: os.system((DIFF_CONTENTS % (curconf, newconf)) + '>>' + self.config["log-file"]) Corrected: os.system((DIFF_CONTENTS % (curconf, newconf)) + '>>' + self.options["log-file"]) *** Bug 70264 has been marked as a duplicate of this bug. *** Created attachment 43447 [details, diff]
dispatch-conf-typo.patch
Just as a matter of interest, seeing as bug #70264 (raised by me) was closed as a duplicate of this bug, does this patch to dispatch-conf fix the *other* failure that I mentioned - namely: derisoft ~ # equery belongs /usr/sbin/dispatch-conf [ Searching for file(s) /usr/sbin/dispatch-conf in *... ] Traceback (most recent call last): File "/usr/bin/equery", line 1556, in ? cmd.perform(local_opts) File "/usr/bin/equery", line 370, in perform map(dumpToScreen, matches) File "/usr/bin/equery", line 360, in dumpToScreen s = pp.cpv(pkg.get_cpv()) AttributeError: 'str' object has no attribute 'get_cpv' Or is that fixed by some other means? Phil Phil: That's a separate bug in equery itself, not dispatch-conf. Doesn't seem like a duplicate of this bug at all to me. See http://forums.gentoo.org/viewtopic.php?t=241550 for Genone's confirmation of that bug, which has been fixed in CVS. Also, that thread includes a temporary fix you can use. Fixed and released a while ago. |