GNU bug report logs - #58308
guix import -r swallows errors

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Wed, 5 Oct 2022 15:40:02 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58308 in the body.
You can then email your comments to 58308 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#58308; Package guix. (Wed, 05 Oct 2022 15:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 05 Oct 2022 15:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: guix import -r swallows errors
Date: Wed, 05 Oct 2022 17:37:23 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#58308; Package guix. (Mon, 15 May 2023 17:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 58308 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>, 58308 <at> debbugs.gnu.org
Subject: Re: bug#58308: guix import -r swallows errors
Date: Mon, 15 May 2023 19:46:17 +0200
Hi,

On mer., 05 oct. 2022 at 17:37, Ricardo Wurmus <rekado <at> elephly.net> wrote:
> 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.

Fixed by <https://issues.guix.gnu.org/issue/63522>.

Cheers,
simon




Reply sent to Simon Tournier <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Fri, 19 May 2023 16:34:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Fri, 19 May 2023 16:34:02 GMT) Full text and rfc822 format available.

Message #13 received at 58308-done <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 58308-done <at> debbugs.gnu.org
Subject: Re: bug#58308: guix import -r swallows errors
Date: Fri, 19 May 2023 17:45:12 +0200
Hi,

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

> Fixed by <https://issues.guix.gnu.org/issue/63522>.

Pushed as d81701a85aa8aa96f4a853f06fe28693fa8bee12.

Closing.

Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Jun 2023 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.