guix import -r swallows errors

  • Done
  • quality assurance status badge
Details
2 participants
  • Ricardo Wurmus
  • Simon Tournier
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal

Debbugs page

Ricardo Wurmus wrote 2 years ago
(address . bug-guix@gnu.org)
87czb6nuus.fsf@elephly.net
Consider this:

$ ./pre-inst-env guix import elpa -r syslog
$ echo $?
0

And now this:

$ ./pre-inst-env guix import elpa syslog
guix import: error: failed to download package 'syslog'
$ echo $?
1

The recursive importer swallows the error.

--
Ricardo
Simon Tournier wrote 2 years ago
87ilctzdw6.fsf@gmail.com
Hi,

On mer., 05 oct. 2022 at 17:37, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (15 lines)
> Consider this:
>
> $ ./pre-inst-env guix import elpa -r syslog
> $ echo $?
> 0
>
> And now this:
>
> $ ./pre-inst-env guix import elpa syslog
> guix import: error: failed to download package 'syslog'
> $ echo $?
> 1
>
> The recursive importer swallows the error.

Simon Tournier wrote 2 years ago
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 58308-done@debbugs.gnu.org)
87cz2wz5o7.fsf@gmail.com
Hi,

On lun., 15 mai 2023 at 19:46, Simon Tournier <zimon.toutoune@gmail.com> wrote:

Toggle quote (2 lines)
Pushed as d81701a85aa8aa96f4a853f06fe28693fa8bee12.

Closing.

Cheers,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 58308@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58308
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help