public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Build system output verbosity, e.g. cmake
Date: Sun, 21 Feb 2010 19:36:24 +0100	[thread overview]
Message-ID: <20100221183624.GJ20811@gentoo.org> (raw)

Hi all,

Inspired by the recent poppler move from autoconf to cmake for its
build system, the following.

Given that poppler didn't compile on at least two arches, I found that
cmake is pretty much terse in its output, especially when errors are
encountered.  Often it is important to know how the compiler or linker
was invoked, to be able to (quickly) resolve the issue at hand.  Cmake
doesn't seem to report such call by default, it needs VERBOSE=1 to be
set in the environment in order to do so.

I recently proposed to enable this by default for cmake, but got some
negative feedback for that.  Hence, I'd like to know the opinion of more
people on the issue.

In the past we have had verbose build systems, that printed a lot of
messages.  Portage even analyses this output to look for common
problems.  Newer buildsystems (like cmake), or just newer insights (like
gnustep makefiles, linux kernel, git, ...) suppress more messages
leading to reduced output.

- should we leave defaults of build systems as is, keeping some very
  verbose and others very terse?
- should we always enable verbosity such that we can analyse logs, both
  by Portage as well as in bugs when something apparently went wrong?
- should make the output level consistent for all build systems?

I think verbosity is useful when debugging problems.  Portage's --jobs
feature nicely allows to hide the "ugly" output (even with --jobs=1),
still storing the log for when something goes wrong, while eliminating
the need to look at it all the time.

So what do you think?  Pros, cons?


-- 
Fabian Groffen
Gentoo on a different level



             reply	other threads:[~2010-02-21 19:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-21 18:36 Fabian Groffen [this message]
2010-02-21 19:29 ` [gentoo-dev] Build system output verbosity, e.g. cmake Bruno
2010-02-22 10:00 ` Tiziano Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100221183624.GJ20811@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox