From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oP3oLSH2IV/xIQAA0tVLHw (envelope-from ) for ; Wed, 29 Jul 2020 22:20:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gF3kKSH2IV/aWwAAB5/wlQ (envelope-from ) for ; Wed, 29 Jul 2020 22:20:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74335940224 for ; Wed, 29 Jul 2020 22:20:16 +0000 (UTC) Received: from localhost ([::1]:41514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0uQp-0004yE-GQ for larch@yhetil.org; Wed, 29 Jul 2020 18:20:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0uNi-00081Z-TD for bug-guix@gnu.org; Wed, 29 Jul 2020 18:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0uNi-0001bv-Gz for bug-guix@gnu.org; Wed, 29 Jul 2020 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0uNi-0000yg-Ay for bug-guix@gnu.org; Wed, 29 Jul 2020 18:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42601: Guix install bug: error: Unbound variable: ~S Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Jul 2020 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42601 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Wielkiewicz Received: via spool by 42601-submit@debbugs.gnu.org id=B42601.15960609733696 (code B ref 42601); Wed, 29 Jul 2020 22:17:02 +0000 Received: (at 42601) by debbugs.gnu.org; 29 Jul 2020 22:16:13 +0000 Received: from localhost ([127.0.0.1]:33867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0uMu-0000xX-Em for submit@debbugs.gnu.org; Wed, 29 Jul 2020 18:16:12 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0uMs-0000xO-MX for 42601@debbugs.gnu.org; Wed, 29 Jul 2020 18:16:11 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1596060967; cv=none; d=zohomail.com; s=zohoarc; b=a/90gQ9m2P4fFBVd7zJZBvj7/WySCm8ni9PNLItNOjZFDFn+zL37Zm5rkVea/Ud5Zf2K+utJjNoGTi6N6H/Q65fTkvrgUMdWP2N3NgJ3arKU6j7jwh8Y1PH6Lq2lMsgn2kqb0YqbpjJxF5SDJzP1cxJ9deCVoY8Qz+yliWhXCmE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596060967; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=+oCSE6Scg14Y0gwAIguxjy9FtDxjjvrjIadjXyRucng=; b=UNYgfMnWUqll8BPgS4MP6X2fl+HP0v31O2vxlXhbuGhS55OMV0iUlqBD09e0JRqDX4LU99vVZMgEsjEIJ4l7iFT5+oN3a3mg7MZc0pIrzXg7e/Aa0B7o81fwsGcK8RixTFLDVb1t+X2xgPcQNEgiV3cRN//Pupphw+DkX2Gvp0U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1596060967; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=+oCSE6Scg14Y0gwAIguxjy9FtDxjjvrjIadjXyRucng=; b=IEYuF574ac8be9hr5dQTSb8sVoSUo3sbQwX0I3V7KGpVyfjymooBloiwupcl7dI2 O0LhFnGrYsS4yUL8gQMY6L7hsUBnPXMTzGUkPYo7tpTENIxvLTOqvYhHXAjq8o9RMpk CNS4XcOuj/KpHmRnGEm6in3RmGWbVBH21tZ9Yexo= Received: from localhost (p4fd5a9de.dip0.t-ipconnect.de [79.213.169.222]) by mx.zohomail.com with SMTPS id 1596060960590937.3964753282561; Wed, 29 Jul 2020 15:16:00 -0700 (PDT) References: <20200729180947.682312e8@interia.pl> <20200729181647.62f44f79@interia.pl> <87v9i6gq5s.fsf@elephly.net> <20200729214428.0afc9ab4@interia.pl> <87sgdagjpe.fsf@elephly.net> <20200730001210.2d3617b8@interia.pl> User-agent: mu4e 1.4.10; emacs 26.3 From: Ricardo Wurmus In-reply-to: <20200730001210.2d3617b8@interia.pl> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 30 Jul 2020 00:15:56 +0200 Message-ID: <87pn8ege77.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42601@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=IEYuF574; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: iyvuFwGOH6cK Jan Wielkiewicz writes: > Dnia 2020-07-29, o godz. 22:17:01 > Ricardo Wurmus napisa=C5=82(a): > >>=20 >> =E2=80=9Cavr-toolchain=E2=80=9D is a procedure, not a package. Use >> =E2=80=9Cavr-toolchain-4.9=E2=80=9D or =E2=80=9Cavr-toolchain-5=E2=80=9D. >>=20 > > Success! > > What about the strange message though? > "incorrect package definition" would be better. =E2=80=9CUnbound variable: ~S=E2=80=9D looks like a format string with a pl= aceholder that didn=E2=80=99t get replaced with an actual value. It would be margina= lly better if it said =E2=80=9CUnbound variable: avr-toolchain=E2=80=9D. We should, I think, take advantage of the fact that the type of inputs is known: it can only be an origin or a package value. Perhaps we can catch unbound variables in inputs and print a more valuable error message. --=20 Ricardo