Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97073

Summary: app-portage/gentoolkit: revdep-rebuild: option -q has no effect
Product: Portage Development Reporter: Sascha Silbe <sascha-gentoo-bugzilla>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: cilly, esigra, michael, pk1
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346443    
Attachments: Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to make it really quiet
Patch against revdep-rebuild from gentoolkit-0.2.1_pre7 to optionally skip safety delays
Combi-Patch containing quiet-Patch and nowait-Patch
Updated combi patch against the gentoolkit-0.2.1_rc2 tarball

Description Sascha Silbe 2005-06-25 14:58:47 UTC
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
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-06-25 19:46:35 UTC
Actually, it does quiet it down.  How much quieter would you like it to be?
Comment 2 Sascha Silbe 2005-07-01 03:47:33 UTC
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).
Comment 3 Sascha Silbe 2005-09-21 03:11:16 UTC
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.
Comment 4 Sascha Silbe 2005-09-21 03:15:20 UTC
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.
Comment 5 Sascha Silbe 2005-09-21 03:18:42 UTC
Created attachment 68924 [details, diff]
Combi-Patch containing quiet-Patch and nowait-Patch
Comment 6 Sascha Silbe 2005-11-28 06:04:13 UTC
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.
Comment 7 michael@smith-li.com 2008-01-22 21:45:48 UTC
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
Comment 8 Paul Varner (RETIRED) gentoo-dev 2008-01-22 21:58:00 UTC
We will look at this after we get revdep-rebuild in a more stable state
Comment 9 michael@smith-li.com 2008-10-13 00:05:20 UTC
*** Bug 241530 has been marked as a duplicate of this bug. ***
Comment 10 Paul Varner (RETIRED) gentoo-dev 2008-10-14 19:47:44 UTC
Reopening, now that revdep-rebuild has been rewritten in a stable state.
Comment 11 Christian Ruppert (idl0r) gentoo-dev 2010-05-06 00:49:39 UTC
I just made revdep-rebuild much more quiet, so give it a try and test gentoolkit-9999. :)
Comment 12 Paul Varner (RETIRED) gentoo-dev 2011-05-10 22:57:44 UTC
Let's address this properly with the python rewrite of revdep-rebuild