The option -q does not, as "revdep-rebuild --help" suggests, quiet down this tool. Reproducible: Always Steps to Reproduce: 1. revdep-rebuild -q Actual Results: root@copper:/# revdep-rebuild -q Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. root@copper:/# Expected Results: root@copper:/# revdep-rebuild -q root@copper:/# Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.6-infra-cube-1 i686) ================================================================= System uname: 2.6.11.6-infra-cube-1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 22 2005, 01:58:40)] distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LANG="en_US" LINGUAS="en,de" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0" SYNC="rsync://copper.sascha.silbe.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdparanoia cdr chipcard cjk crypt curl doc dts dv dvd dvdr dvdread ecc emboss encode examples fam flac foomaticdb fortran gd gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg lapack lcms libg++ libwww lvm1 lzo mad maildir makecheck mbox mikmod mmx mmxext monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive ogg oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard spell sqlite sse ssl svg tetex tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xml xml2 xv xvid zlib linguas_en,de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Actually, it does quiet it down. How much quieter would you like it to be?
I'd like it to show only the list of broken binaries and the packages to be rebuilt (the "emerge --oneshot [...]" line) since every other text is static (i.e. doesn't change between invocations).
Created attachment 68921 [details, diff] Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to make it really quiet I've now patched revdep-rebuild to be as quiet as I would like it to be. Needed to change echo_v from an alias to a shell function. A future version of revdep-rebuild might use a generic log function with a log level instead of echo, echo_v and $EXTRA_VERBOSE.
Created attachment 68923 [details, diff] Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to optionally skip safety delays While patching revdep-rebuild to make it more quiet, I discovered unconditional safety delays, making revdep-rebuild slower that it needs to be, especially if it's run unattended. This patch introduces a new command line option "-nw" resp. "--no-wait" to skip those delays.
Created attachment 68924 [details, diff] Combi-Patch containing quiet-Patch and nowait-Patch
Created attachment 73723 [details, diff] Updated combi patch against the gentoolkit-0.2.1_rc2 tarball Now applies against the whole tarball (i.e. including directory structure) instead of the single file revdep-rebuild.
Thanks for the patches, Sascha. To be honest rr still has a lot of serious kinks, and those need to be worked out before this less urgent stuff can be addressed. In the meantime, there's always revdep-rebuild -q >/dev/null 2>&1
We will look at this after we get revdep-rebuild in a more stable state
*** Bug 241530 has been marked as a duplicate of this bug. ***
Reopening, now that revdep-rebuild has been rewritten in a stable state.
I just made revdep-rebuild much more quiet, so give it a try and test gentoolkit-9999. :)
Let's address this properly with the python rewrite of revdep-rebuild