Summary: | emerge --quiet on command line does not completely override --verbose in EMERGE_DEFAULT_OPTIONS | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Rani <raenye> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | tools-portage |
Priority: | High | Keywords: | InVCS |
Version: | 2.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 115839 |
Description
Rani
2006-02-05 11:17:36 UTC
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. |