revdep-rebuild uses emerge --pretend to find ebuilds; however, the package version is garbled when make.conf has EMERGE_DEFAULT_OPTS="--verbose": ~# cat /root/.revdep-rebuild.5_order media-gfx/imagemagick-6.2.6.05,018kB media-libs/libao-0.8.6-r2380kB --- colinux 0.7.1, vanilla kernel 2.16.12.5 gentoo 1.12.0_pre5 portage 2.1_pre4-r1 app-portage/gentoolkit-0.2.2_pre2 10x, R.
This is another manifestation of bug 118124. Like Jason commented in that bug, revdep-rebuild can use --quiet in order to prevent USE flags from being displayed (even when --verbose is in EMERGE_DEFAULT_OPTS).
Re-assigning to dev-portage, since as a result of that bug that version of revdep-rebuild is using --quiet Here is an example from my test run with EMERGE_DEFAULT_OPTS="--verbose" emerge --nospinner --pretend --oneshot --nodeps --quiet =app-antivirus/clamav-0.88 =dev-lang/python-2.3.5-r2 =dev-libs/gmp-4.1.4-r3 =kde-base/kcalc-3.5.1 [ebuild R ] app-antivirus/clamav-0.88 0 kB [ebuild R ] dev-lang/python-2.3.5-r2 7,060 kB [ebuild R ] dev-libs/gmp-4.1.4-r3 0 kB [ebuild R ] kde-base/kcalc-3.5.1 0 kB Total size of downloads: 7,060 kB With EMERGE_DEFAULT_OPTIONS unset: emerge --nospinner --pretend --oneshot --nodeps --quiet =app-antivirus/clamav-0.88 =dev-lang/python-2.3.5-r2 =dev-libs/gmp-4.1.4-r3 =kde-base/kcalc-3.5.1 [ebuild R ] app-antivirus/clamav-0.88 [ebuild R ] dev-lang/python-2.3.5-r2 [ebuild R ] dev-libs/gmp-4.1.4-r3 [ebuild R ] kde-base/kcalc-3.5.1 Since EMERGE_DEFAULT_OPTIONS is being set in /etc/make.conf, I can't override and/or unset it from within revdep-rebuild
I'm thinking allowing env overrides for this... not the best, but it'll solve the issue. Sound good? If so, patch? :)
EMERGE_DEFAULT_OPTS="" emerge ... should work already because it's not an incremental. Regardless, --verbose --quiet showing file size info is definitely a bug.
(In reply to comment #4) > EMERGE_DEFAULT_OPTS="" emerge ... should work already because it's not an > incremental. It does not work as I already tried it. garath # EMERGE_DEFAULT_OPTIONS="" emerge -p --quiet gmp [ebuild U ] dev-libs/gmp-4.1.4-r3 [4.1.4] 1,641 kB
s/OPTIONS/OPTS/
The --verbose/--quiet/size bug is fixed, by the way.
(In reply to comment #6) > s/OPTIONS/OPTS/ After typing it correctly, it does work and thanks for fixing. Just to be safe do I need to plan on having 'EMERGE_DEFAULT_OPTS="" emerge ...' in the next version of revdep-rebuild?
Probably a good idea to do it on any calls that are used internally.
I've added a new emerge --ignore-default-opts option in trunk (revision 2696, for release in 2.1_pre5).
Released in 2.1_pre5 with note about overriding EMERGE_DEFAULT_OPTS in RELEASE-NOTES.