unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* verbose backtraces when “invoke” fails
@ 2019-01-21  8:21 Ricardo Wurmus
  2019-01-21  9:12 ` Hartmut Goebel
  2019-01-21 13:59 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2019-01-21  8:21 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: verbose backtraces when “invoke” fails
  2019-01-21  8:21 verbose backtraces when “invoke” fails Ricardo Wurmus
@ 2019-01-21  9:12 ` Hartmut Goebel
  2019-01-21 13:59 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2019-01-21  9:12 UTC (permalink / raw)
  To: guix-devel

Am 21.01.19 um 09:21 schrieb Ricardo Wurmus:
> I’d like us to catch the errors raised by “invoke”, so that the output
> of a failing build looks nicer again.
+1

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: verbose backtraces when “invoke” fails
  2019-01-21  8:21 verbose backtraces when “invoke” fails Ricardo Wurmus
  2019-01-21  9:12 ` Hartmut Goebel
@ 2019-01-21 13:59 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-01-21 13:59 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

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

Yes, please!  That can be done in ‘gnu-build’ in (guix build
gnu-build-system).

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21  8:21 verbose backtraces when “invoke” fails Ricardo Wurmus
2019-01-21  9:12 ` Hartmut Goebel
2019-01-21 13:59 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).