# interaction begins.
unset DEPEND RDEPEND PDEPEND IUSE
- if [[ $PORTAGE_DEBUG != 1 ]] || [[ ${-/x/} != $- ]] ; then
+ if [[ $PORTAGE_DEBUG != 1 || ${-/x/} != $- ]] ; then
source "$EBUILD" || die "error sourcing ebuild"
else
set -x
Results may vary, but the general outcome is a reduced or condensed
output from portage's displays.
.TP
+.BR \-\-quiet\-build
+Redirect all build output to logs alone, and do not
+display it on stdout.
+.TP
.BR "\-\-reinstall changed\-use"
Tells emerge to include installed packages where USE flags have
changed since installation. Unlike \fB\-\-newuse\fR, this option does
\fBFEATURES\fR in order to avoid warning messages that are triggered by this
incompatibility.
.TP
-split\-elog
+.B split\-elog
Store logs created by \fBPORTAGE_ELOG_SYSTEM="save"\fR in category
subdirectories of \fBPORT_LOGDIR/elog\fR, instead of using
\fBPORT_LOGDIR/elog\fR directly.
@returns: True if background mode is enabled, False otherwise.
"""
background = (self._max_jobs is True or \
- self._max_jobs > 1 or "--quiet" in self.myopts) and \
+ self._max_jobs > 1 or "--quiet" in self.myopts \
+ or "--quiet-build" in self.myopts) and \
not bool(self._opts_no_background.intersection(self.myopts))
if background:
if not dep_string:
continue
if debug:
- print()
- print("Parent: ", jbigkey)
- print("Depstring:", dep_string)
- print("Priority:", dep_priority)
+ writemsg_level("\nParent: %s\n" % (pkg,),
+ noiselevel=-1, level=logging.DEBUG)
+ writemsg_level("Depstring: %s\n" % (dep_string,),
+ noiselevel=-1, level=logging.DEBUG)
+ writemsg_level("Priority: %s\n" % (dep_priority,),
+ noiselevel=-1, level=logging.DEBUG)
try:
return 0
if debug:
- print("Exiting...", pkg)
+ writemsg_level("Exiting... %s\n" % (pkg,),
+ noiselevel=-1, level=logging.DEBUG)
return 1
atom_pkg_graph.remove(pkg)
# Yield < and <= atoms first, since those are more likely to
- # cause a slot conflicts, and we want those atoms to be displayed
+ # cause slot conflicts, and we want those atoms to be displayed
# in the resulting slot conflict message (see bug #291142).
less_than = []
not_less_than = []
else:
show_missing_use = unmasked_iuse_reasons
+ mask_docs = False
+
if show_missing_use:
print("\nemerge: there are no ebuilds built with USE flags to satisfy "+green(xinfo)+".")
print("!!! One of the following packages is required to complete your request:")
for line in wrap(msg, 75):
print(line)
print()
- show_mask_docs()
+ mask_docs = True
else:
print("\nemerge: there are no ebuilds to satisfy "+green(xinfo)+".")
print()
+ if mask_docs:
+ show_mask_docs()
+ print()
+
def _iter_match_pkgs(self, root_config, pkg_type, atom, onlydeps=False):
"""
Iterate over Package instances of pkg_type matching the given atom.
print(" Effects vary, but the general outcome is a reduced or condensed")
print(" output from portage's displays.")
print()
+ print(" "+green("--quiet-build"))
+ desc = "Redirect all build output to logs alone, and do not " + \
+ "display it on stdout."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--reinstall ") + turquoise("changed-use"))
print(" Tells emerge to include installed packages where USE flags have")
print(" changed since installation. Unlike --newuse, this option does")
"--nodeps", "--noreplace",
"--nospinner", "--oneshot",
"--onlydeps", "--pretend",
-"--quiet", "--resume",
+"--quiet",
+"--quiet-build",
+"--resume",
"--searchdesc",
"--skipfirst",
"--tree",