all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: verbose backtraces when “invoke” fails
Date: Mon, 21 Jan 2019 09:21:25 +0100	[thread overview]
Message-ID: <87ef96e7zu.fsf@elephly.net> (raw)

Hi Guix,

I’d like us to catch the errors raised by “invoke”, so that the output
of a failing build looks nicer again.

Before we used “invoke” build phases evaluating to #f would cause the
build system to abort and print a nice message.  Now users get an ugly
backtrace that is much too verbose for what it’s trying to say, namely
that a command invocation failed.

There is no value in the backtrace itself (users don’t care where
“invoke” is defined, for example); we only want the error message.
Shall we fix this on core-updates?

--
Ricardo

             reply	other threads:[~2019-01-21  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21  8:21 Ricardo Wurmus [this message]
2019-01-21  9:12 ` verbose backtraces when “invoke” fails Hartmut Goebel
2019-01-21 13:59 ` Ludovic Courtès

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=87ef96e7zu.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.