From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OFUdKAR4MF/lXAAA0tVLHw (envelope-from ) for ; Sun, 09 Aug 2020 22:26:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sKckJAR4MF/5CgAA1q6Kng (envelope-from ) for ; Sun, 09 Aug 2020 22:26:12 +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 D174A94051F for ; Sun, 9 Aug 2020 22:26:11 +0000 (UTC) Received: from localhost ([::1]:54466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4tla-0008B3-HQ for larch@yhetil.org; Sun, 09 Aug 2020 18:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4tlS-0008Au-Eo for bug-guix@gnu.org; Sun, 09 Aug 2020 18:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k4tlS-0002mT-5C for bug-guix@gnu.org; Sun, 09 Aug 2020 18:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k4tlR-0006zn-VR for bug-guix@gnu.org; Sun, 09 Aug 2020 18:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42601: Guix install bug: error: Unbound variable: ~S Resent-From: Jan Wielkiewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 09 Aug 2020 22:26:01 +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: 42601@debbugs.gnu.org Received: via spool by 42601-submit@debbugs.gnu.org id=B42601.159701192526844 (code B ref 42601); Sun, 09 Aug 2020 22:26:01 +0000 Received: (at 42601) by debbugs.gnu.org; 9 Aug 2020 22:25:25 +0000 Received: from localhost ([127.0.0.1]:33656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4tkr-0006yu-5I for submit@debbugs.gnu.org; Sun, 09 Aug 2020 18:25:25 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.233]:42949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4tkp-0006yf-5R for 42601@debbugs.gnu.org; Sun, 09 Aug 2020 18:25:24 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA for <42601@debbugs.gnu.org>; Mon, 10 Aug 2020 00:25:16 +0200 (CEST) Date: Mon, 10 Aug 2020 00:25:02 +0200 From: Jan Wielkiewicz Message-ID: <20200810002502.55df8db7@interia.pl> In-Reply-To: <20200729180947.682312e8@interia.pl> References: <20200729180947.682312e8@interia.pl> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/7LU9vqM/Ce7j/ZfCK3CntUO" X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1597011916; bh=Lv40+jlIa4rLAE8FaQx2QiuqxuAHaLrdrTPpU9mFGdA=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Subject: Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:X-Interia-Antivirus; b=kB74/y/tMfEho6YikJxSy20s7vdOHnnknrx2hc37bVlT4DIHexnftXk7MYlLM8ZfZ WpHhhjSXMgC6rHgausKbiW7C+OTCBoRaHJx48BvxW0E51Ho8SKEYgEeFci6TJEbTYW CzhIQhxpgKE281KanUCeLnCivNi5E/1lOh8HEfAQ= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=interia.pl header.s=biztos header.b=kB74/y/t; 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.49 X-TUID: rBRkiQ2s2IBs --MP_/7LU9vqM/Ce7j/ZfCK3CntUO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I believe there's still something wrong here. The bug (the new one, described below) occurs after adding=20 #:use-module (gnu packages avr) to the firmware.scm file. Attached the diff file of my package below. I'm packaging qmk-firmware and here's what happens running guix build: error: binutils: unbound variable hint: Did you forget a `use-modules' form? error: googletest: unbound variable hint: Did you forget a `use-modules' form? error: bzip2: unbound variable hint: Did you forget a `use-modules' form? error: gcc-4.9: unbound variable hint: Did you forget a `use-modules' form? error: perl-module-build: unbound variable hint: Did you forget a `use-modules' form? error: python2-numpy: unbound variable hint: Did you forget a `use-modules' form? error: gzip: unbound variable hint: Did you forget a `use-modules' form? error: xcb-proto: unbound variable hint: Did you forget a `use-modules' form? error: gnu-make: unbound variable hint: Did you forget a `use-modules' form? error: unzip: unbound variable hint: Did you forget a `use-modules' form? error: curl: unbound variable hint: Did you forget a `use-modules' form? error: binutils: unbound variable hint: Did you forget a `use-modules' form? error: pjproject: unbound variable hint: Did you forget a `use-modules' form? error: xorg-server: unbound variable hint: Did you forget a `use-modules' form? error: libdvdnav: unbound variable hint: Did you forget a `use-modules' form? error: perl: unbound variable hint: Did you forget a `use-modules' form? error: coreutils: unbound variable hint: Did you forget a `use-modules' form? error: libetpan: unbound variable hint: Did you forget a `use-modules' form? Throw to key `unbound-variable' with args `("resolve-interface" "no binding `~A' in module ~A" (python (gnu packages python)) #f)'. Backtrace: In ice-9/boot-9.scm: 1736:10 19 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 631:22 18 (thunk) 1299:8 17 (call-with-build-handler # =E2=80=A6) In guix/scripts/build.scm: 817:2 16 (_) In srfi/srfi-1.scm: 673:15 15 (append-map _ _ . _) 586:17 14 (map1 ((argument . "qmk-firmware") (build-mode . 0) # =E2=80= =A6)) In guix/scripts/build.scm: 837:30 13 (_ _) In gnu/packages.scm: 477:2 12 (%find-package "qmk-firmware" "qmk-firmware" #f) 362:6 11 (find-best-packages-by-name _ _) 292:55 10 (_ "qmk-firmware" _) In unknown file: 9 (force #) In gnu/packages.scm: 239:33 8 (fold-packages # =E2=80=A6) In guix/discovery.scm: 153:11 7 (all-modules _ #:warn _) In srfi/srfi-1.scm: 460:18 6 (fold # =E2=80=A6) In guix/discovery.scm: 143:19 5 (_ _ ()) In srfi/srfi-1.scm: 691:23 4 (filter-map #= . #) In guix/discovery.scm: 118:22 3 (_ . _) In guix/ui.scm: 329:2 2 (report-unbound-variable-error _ #:frame _) In ice-9/boot-9.scm: 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (python (gnu packages python)) #f))'. Jan Wielkiewicz --MP_/7LU9vqM/Ce7j/ZfCK3CntUO Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-qmk-firmware.patch =46rom 39b3791efd06c4895c844548937d421f8359b1e0 Mon Sep 17 00:00:00 2001 From: Jan Wielkiewicz Date: Sun, 9 Aug 2020 23:43:08 +0200 Subject: [PATCH] gnu: Add qmk-firmware. * gnu/packages/firmware.scm (qmk-firmware): New variable. --- gnu/packages/firmware.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 15a6725c67..a0c65752d4 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -7,6 +7,7 @@ ;;; Copyright =C2=A9 2018 Vagrant Cascadian ;;; Copyright =C2=A9 2019 Mathieu Othacehe ;;; Copyright =C2=A9 2020 Marius Bakke +;;; Copyright =C2=A9 2020 Jan Wielkiewicz ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,8 @@ #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages assembly) + #:use-module (gnu packages autotools) + #:use-module (gnu packages avr) #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages cmake) @@ -41,6 +44,7 @@ #:use-module (gnu packages gcc) #:use-module (gnu packages linux) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages python)) =20 (define-public ath9k-htc-firmware @@ -621,3 +625,36 @@ switching support).\n") #t))))) (native-inputs `(("cross-gcc" ,(cross-gcc "arm-none-eabi" #:xgcc gcc-7= )) ("cross-binutils" ,(cross-binutils "arm-none-eabi")))= ))) + +(define-public qmk-firmware + (package + (name "qmk-firmware") + (version "0.9.50") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/qmk/qmk_firmware") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0153glswflsaslz79k4r7a98rn1p8762qnjjfifzv82gfbcl2jj9")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://qmk.fm/") + (synopsis "") + (description + "") + (license (list license:gpl2 + license:gpl3 + license:expat + license:bsd-3 + license:asl2.0)))) --=20 2.28.0 --MP_/7LU9vqM/Ce7j/ZfCK3CntUO--