GNU bug report logs - #36592
no output for guix package -f when the file evaluates to nothing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Julien Lepiller <julien@HIDDEN>; Keywords: easy; dated Thu, 11 Jul 2019 09:32:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) easy. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jul 2019 09:31:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 05:31:22 2019
Received: from localhost ([127.0.0.1]:37015 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hlVQA-0005Az-EE
	for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 05:31:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:54385)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1hlVQ7-0005Aq-RL
 for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 05:31:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44999)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <julien@HIDDEN>) id 1hlVQ6-0004A3-SP
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:31:19 -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_05,
 RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <julien@HIDDEN>) id 1hlVQ4-0003wx-59
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:31:17 -0400
Received: from lepiller.eu ([2a00:5884:8208::1]:53316)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <julien@HIDDEN>) id 1hlVQ0-0003pq-A0
 for bug-guix@HIDDEN; Thu, 11 Jul 2019 05:31:14 -0400
Received: from [10.138.132.0] (tor-exit.dhalgren.org [46.165.230.5])
 by lepiller.eu (OpenSMTPD) with ESMTPSA id 50a4d613
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Thu, 11 Jul 2019 09:31:02 +0000 (UTC)
Date: Thu, 11 Jul 2019 11:31:04 +0200
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: no output for guix package -f when the file evaluates to nothing
To: bug-guix@HIDDEN
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <D62FD64C-F99A-4D36-8DCB-9D2DED3F3A74@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:5884:8208::1
X-Spam-Score: -1.1 (-)
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.1 (--)

Users tend to copy what they see in our code base, so it's not rare to have=
 to help them realise that if their last statement is (define-public =2E=2E=
=2E), the file doesn't evaluate to a package=2E

Running guix build -f mypackage=2Escm at least gives an error saying it do=
esn't know how to compile #<unspecified>=2E

Running guix package -f mypackage=2Escm returns immediately with no error =
message and a status of 0, but doesn't actually build or install anything=
=2E You can even try with an empty file :)

There should be an error message, and probably even a hint=2E




Acknowledgement sent to Julien Lepiller <julien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36592; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 11 Jul 2019 21:30:02 UTC

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