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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Subject: bug#58308: closed (Re: bug#58308: guix import -r swallows errors)
Date: Fri, 19 May 2023 16:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#58308: guix import -r swallows errors

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 58308 <at> debbugs.gnu.org.

-- 
58308: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58308
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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

[Message part 3 (message/rfc822, inline)]
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



This bug report was last modified 2 years and 4 days ago.

Previous Next


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