I'm in the process of updating the kernelmod-rebuild script to be able to use portage 2.0.50 through the updated gentoolkit. While testing functionality of the new equery package, I hit a case that cause portage.py to print a lot (over 2000) debug statements. I tracked the offending statement down to line 5027 in portage.py and commented it out to allow me to see the output that I desired. It would be nice if debug statements would be directed to stderr instead of stdout as that wpuld allow people to redirect stderr if they output of the debug messages was undesirable for what they were doing. Reproducible: Always Steps to Reproduce: 1. emerge gentoolkit-0.2.0_pre1 2. run equery belongs /etc 3. run equery belongs /etc 2>/dev/null Actual Results: Lots of debug statements interspersed with the expected output in both cases. Expected Results: Same results for the first case, In the second case, only the output from the equery command should be printed to the screen. Portage 2.0.50_pre10 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3) ================================================================= System uname: 2.4.22-gentoo-r3 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10 Autoconf: sys-devel/autoconf-2.57-r1 Automake: sys-devel/automake-1.7.5-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="" 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 acpi alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gtk gtk2 i8x0 imlib java jpeg kde libg++ libwww mad mbox mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python qt readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib"
Fixed for next pre.
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.