Received: (at submit) by debbugs.gnu.org; 24 May 2019 14:05:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 24 10:05:04 2019 Received: from localhost ([127.0.0.1]:46966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hUAoi-0005LN-4X for submit <at> debbugs.gnu.org; Fri, 24 May 2019 10:05:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rob@HIDDEN>) id 1hUAoe-0005Kk-NN for submit <at> debbugs.gnu.org; Fri, 24 May 2019 10:05:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:58433) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hUAoZ-000320-Kd for submit <at> debbugs.gnu.org; Fri, 24 May 2019 10:04:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hUAoY-0003TT-EH for bug-guix@HIDDEN; Fri, 24 May 2019 10:04:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hUAjI-0006pQ-HS for bug-guix@HIDDEN; Fri, 24 May 2019 09:59:29 -0400 Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2]:51910 helo=mx2.mailbox.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hUAjI-0006lk-B2 for bug-guix@HIDDEN; Fri, 24 May 2019 09:59:28 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 1EEB1A107C for <bug-guix@HIDDEN>; Fri, 24 May 2019 15:59:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id dGFuFrXX3ZzY for <bug-guix@HIDDEN>; Fri, 24 May 2019 15:59:07 +0200 (CEST) From: Robert Vollmert <rob@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: guix import hackage: recursive import fails silently on errors Message-Id: <2E77BF34-95BA-4E7D-A605-3CB42C82623F@HIDDEN> Date: Fri, 24 May 2019 15:59:07 +0200 To: bug-guix@HIDDEN X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:2050:104:0:2:25:2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) $ guix import hackage not-a-package guix import: error: failed to download cabal file for package = 'not-a-package=E2=80=99 $ echo $? 1 $ guix import hackage -r not-a-package $ echo $? 0 It might be argued that the error code is fine, since in general it = could be useful for the recursive import to keep going past failures. However it = seems such failures should be logged, and ideally written to standard output = in some form like (error =E2=80=9Cimport failed: <package name>=E2=80=9D) so they could be found clearly in the generated expression.
Robert Vollmert <rob@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#35883
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.