From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19630: error message when referencing non-existing output not helpful Date: Sat, 24 Jan 2015 23:01:07 +0100 Message-ID: <87mw57hm8s.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF8mK-0007Cq-7u for bug-guix@gnu.org; Sat, 24 Jan 2015 17:02:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YF8mJ-0000M2-E2 for bug-guix@gnu.org; Sat, 24 Jan 2015 17:02:04 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:36731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF8mJ-0000Ly-BM for bug-guix@gnu.org; Sat, 24 Jan 2015 17:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YF8mJ-0002lH-67 for bug-guix@gnu.org; Sat, 24 Jan 2015 17:02:03 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (Ricardo Wurmus's message of "Mon, 19 Jan 2015 12:51:20 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: 19630-done@debbugs.gnu.org Commit f304c9c fixes that. Now the result is something like this: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build abiword -n guix build: error: reference to invalid output 'binfds' of derivation '/gnu= /store/7lxd5yri8s4vkailk1jg5bxiqrshblj1-glib-2.42.1.drv' --8<---------------cut here---------------end--------------->8--- It doesn=E2=80=99t say the context in which that invalid reference occurred= , but it=E2=80=99s already much better. Note that at the lowest level it=E2=80=99s possible to create a derivation = that refers to a non-existent output of some other derivation. The problem will go unnoticed until the =E2=80=98build-derivations=E2=80=99 RPC is call= ed. Thanks, Ludo=E2=80=99.