emerge depclean doesn't log most of its output to /var/log/portage ls -l /var/log/portage -rw-rw-r-- 1 root portage 293 Apr 19 00:17 1840-PyOpenGL-2.0.0.44.log -rw-rw-r-- 1 root portage 293 Apr 19 00:17 1840-PyXML-0.8.1.log -rw-rw-r-- 1 root portage 13 Apr 19 00:16 1840-aspell-en-0.51.0.log -rw-rw-r-- 1 root portage 13 Apr 19 00:18 1840-cabextract-0.6.log -rw-rw-r-- 1 root portage 13 Apr 19 00:17 1840-faad2-2.0_rc3.log -rw-rw-r-- 1 root portage 13 Apr 19 00:17 1840-fltk-1.1.4.log -rw-rw-r-- 1 root portage 13 Apr 19 00:17 1840-glut-3.7.1.log -rw-rw-r-- 1 root portage 13 Apr 19 00:17 1840-gtkglarea-1.99.0.log -rw-rw-r-- 1 root portage 13 Apr 19 00:17 1840-libsdl-1.2.6-r3.log -rw-rw-r-- 1 root portage 259 Apr 18 23:42 1840-wine-20040121.log Normal output to console. The small files look like this: cat 1840-glut-3.7.1.log prerm postrm Reproducible: Always Steps to Reproduce: 1. Do a emerge depclean Actual Results: emerge depclean removed everything it should Expected Results: log its output to /var/log/portage Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.9 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo. oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" 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="alsa apm berkdb cdr crypt cups encode esd foomaticdb gif imlib libwww mmx ncurses pam pdflib perl png python readline slang spell ssl tcltk tcpd x86 xml2 zlib"
i dont know what you expected to be in those logs but what you got is what should have been in there ... those log files are meant to track portage output, not files removed or everything you would see on the console
This can't be generally true because i have some logfiles with the complete output of emerge && configure && make && ... /var/log/portage# wc -l * | sort -n | tail -n 6 5344 1796-gnome-icon-theme-1.0.9.log 5746 1806-gnumeric-1.2.6.log 5867 1800-gnome-themes-2.4.1.log 8646 1839-wine-20040121.log 18385 1776-mozilla-firefox-0.8-r2.log 88296 total These all originate from merging operations. I want to have the ouput of all commands get logged this way (so i can run emerge depclean and grep for files not deleted afterwards)
Can someone else comment on the validity here so this can be closed one way or the other?
I'd agree that logging of the '--- !empty dir /usr/bin' messages would be useful. There's pretty much no point in them at the moment other than showing that portage is actually doing something.
It's kind of a dupe of 44998, but they are still a bit different. However, if any of these bugs is fixed the other can also be closed. So it's a question which one to fix (if any) and this seems to be the more likely candidate (less work ;).
*** Bug 44998 has been marked as a duplicate of this bug. ***
*** Bug 124817 has been marked as a duplicate of this bug. ***
This should have been fixed for a long time now, though you need to enable --verbose since this change from bug 186842: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=507bcbec012f81d79f8b5131a72c1e3f05edf4f1