From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ZQJ1AdaNXmftRAAAqHPOHw:P1 (envelope-from ) for ; Sun, 15 Dec 2024 08:05:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ZQJ1AdaNXmftRAAAqHPOHw (envelope-from ) for ; Sun, 15 Dec 2024 09:05:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MkI687ss; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=RkIUtlnh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734249941; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=SVgpHbgL2cyseINl9SEG0eBMBDQS8+X+0JGY6zdurTA=; b=oy57jfjxUrVF37qzgN4XaMUU6gUzqqjuS3ImTY8LMx9e8w5o0zrnsiJpoyKhgc0V18Jw84 hsInucJPQvE6g9YbBIiyaqJZ3zKp5qwexZ2Qujs/5QxvQXHjvip6067GETIalXlQE9mMh9 a9Z3H1Io4xJdXufi6pLSfnDN8yzl1flHeQ4KNSJBOeRKj7lYsbq+eUMYqwYJNEnTL0ThHW H+YKSoYyd73nUH6HOSxfMo4OBtiLNBdxtfasGLFV9TwnkIUqHt803U8wRGsEsELViJgTZR pfW6WAsb9CH/1tekMsWgpzFOMAUVoDL8FWdi2dElk6h9vDIxshgaDGRv/ohQVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MkI687ss; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=RkIUtlnh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734249941; a=rsa-sha256; cv=none; b=SamQWflbMpCNVy+5BjN/e55QMc/SPlRIjD37Rgl/FX/j64hkXTwI5sJ3OPeeyZ22+7YIdS CpwY2hQWHkQ88cIWU/ozxtq9PrLKpFWfmGIBv6YR9ZFvqRL/DdATUshOzoad/zsAU08JnU qMP+zDGazAyubZlmFcz0O1D0j/s7YbmXOb3aOCT/91nk9xMZdAPGWUMn/XqGDGnp0I6MfS sy2uDL2sfgB1gWPasrBhjWiCNIuwIoVu2s41Qc/uswtCDFqRggeFekU4fg1WSefyIegFLb RuqR88+8pS5fIRVwsbLhJzBMuLTS1Jb6ixM62ng9hCTfke+GetrX6pqgWKL2Fg== 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 88E4078DB5 for ; Sun, 15 Dec 2024 09:05:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMjch-0001se-Gw; Sun, 15 Dec 2024 03:05:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMjce-0001rY-3a for guix-patches@gnu.org; Sun, 15 Dec 2024 03:05:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMjcd-0005D8-Ol for guix-patches@gnu.org; Sun, 15 Dec 2024 03:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=SVgpHbgL2cyseINl9SEG0eBMBDQS8+X+0JGY6zdurTA=; b=MkI687sstTCc8CxVG8pryC8zZI9sXnW5qC0SXF0d6C63wy6j+N9wWIfpnuLlK7tBLQtzVGjt2CufY2OchdSlaCBUmcT4rZSPUDI4GhQNt2WWkI6V1rxFTN9MMkgJvamjbwoRmv3kiXKVaCHLxKHahuwIBSzSYmw+KO9KldIgE/K06h3IOE1F101O3O9XuIu9xxNjCsneLXbVPY4xBzlvVGMfrJcLjhGM3WQcfdr+aMF3XQVWDAk/q3beHoS13SM2lErPpuqLBASHYFcGbD97dZgwaYbgQYjFKUZjkelkuvUQ1p/jdX8vb1uhUYPc2Mjzf7ks+Wiuo+Zy/TY6R/E1YQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMjcc-0007HQ-Gr for guix-patches@gnu.org; Sun, 15 Dec 2024 03:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74849] [PATCH 4/6] gnu: make-arm-trusted-firmware: Use guix-name. Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2024 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm , 74849@debbugs.gnu.org Cc: vagrant@debian.org, Efraim Flashner Received: via spool by 74849-submit@debbugs.gnu.org id=B74849.173424989627965 (code B ref 74849); Sun, 15 Dec 2024 08:05:02 +0000 Received: (at 74849) by debbugs.gnu.org; 15 Dec 2024 08:04:56 +0000 Received: from localhost ([127.0.0.1]:49482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMjcV-0007Gz-DK for submit@debbugs.gnu.org; Sun, 15 Dec 2024 03:04:55 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:53088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMjcR-0007Gc-8U for 74849@debbugs.gnu.org; Sun, 15 Dec 2024 03:04:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1734249854; bh=JbEhKihWGKPdaUNoVeqbeL3dPfUYgxC0N+Gz7/3NxII=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RkIUtlnhrnkmn2C0UlzDtaDKqXlpt9idwjLnE1YESpam33QfE1NboG/8yb0Yaiznm +jrwdPOrPTOBfwdmhDxyhYbRqGzBx96wRm/6iJmjWSJmA9s6YI2drH8PmuysNVFuvu KABMf0E7uhDrcavOPjC7HRyuO4w/KJLaAG0aiX9kOj4YVc0BaBohsJFA+rFmyGRGOp jQv5RSCGPw5X4wA6bc/HkNzs1F4xiWDtnAU2qK1beuFe7WV7xBBkqE2Xd7Q5T463t0 aaN2Pfe+oaIUD3xbOW/GF0fRNyX63Tyn+gH96z3U4YmOet2NnCAjFRQ9JrWmbAHJpX f5VmDYddrlfmg== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0E8892A3B; Sun, 15 Dec 2024 00:04:14 -0800 (PST) From: Vagrant Cascadian In-Reply-To: References: Date: Sun, 15 Dec 2024 00:04:06 -0800 Message-ID: <87a5cxbceh.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 88E4078DB5 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -10.66 X-Spam-Score: -10.66 X-TUID: ZWQFnmcRVRzo --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-12-13, Herman Rimm wrote: > * gnu/packages/firmware.scm (make-arm-trusted-firmware): Use guix-name. > (arm-trusted-firmware-sun50i-a64): Return base package directly. With this patch applied, I get: error: guix-name: 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: xorg-server: unbound variable hint: Did you forget a `use-modules' form? error: libusb: unbound variable hint: Did you forget a `use-modules' form? error: zstd: unbound variable hint: Did you forget a `use-modules' form? error: gash: unbound variable hint: Did you forget a `use-modules' form?=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 error: cross-gcc-toolchain: unbound variable hint: Did you forget `(use-modules (gnu packages cross-base))'? = error: gnu-make= : unbound variable hint: Did you forget a `use-modules' form? error: tar: unbound variable hint: Did you forget a `use-modules' form? error: cross-binutils: unbound variable hint: Did you forget `(use-modules (gnu packages cross-base))'? error: webrtc-audio-processing: 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" (shared-mime-info (gnu packages freedeskt op)) #f)'. Backtrace: In guix/status.scm: 839:4 19 (call-with-status-report _ _) In ice-9/boot-9.scm: 1752:10 18 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 689:37 17 (thunk) 1330:8 16 (call-with-build-handler # =E2=80=A6) In guix/scripts/build.scm: 646:2 15 (_) 695:42 14 (loop _ _ ()) In gnu/packages.scm: = 511:2 13 (= %find-package "arm-trusted-firmware-sun50i-a64" "arm-=E2=80=A6" =E2=80=A6) 391:6 12 (find-best-packages-by-name _ _) 321:56 11 (_ "arm-trusted-firmware-sun50i-a64" _) In unknown file: 10 (force #) In gnu/packages.scm: 243:33 9 (fold-packages # =E2=80=A6) In guix/discovery.scm: 158:11 8 (all-modules _ #:warn _) In srfi/srfi-1.scm: 460:18 7 (fold # =E2=80=A6) In guix/discovery.scm: 148:19 6 (_ _ ()) 115:5 5 (scheme-modules _ _ #:warn _) In srfi/srfi-1.scm: 691:23 4 (filter-map #= . #) In guix/discovery.scm: 123:24 3 (_ . _) In guix/ui.scm: 363:2 2 (report-unbound-variable-error _ #:frame _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (unbou= nd-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mime= -info (gnu packages freedesktop)) #f))'. > > Change-Id: I23f05ac5e8e897037cd8d8afc4e747b05e56e32d > --- > gnu/packages/firmware.scm | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm > index ff083a2c6f..438b347dfb 100644 > --- a/gnu/packages/firmware.scm > +++ b/gnu/packages/firmware.scm > @@ -1105,7 +1105,7 @@ (define* (make-arm-trusted-firmware platform > ;;%current-system is a *triplet*, unlike its name would suggest. > (string=3D? (%current-system) (gnu-triplet->nix-system triplet))= )) > (package > - (name (string-append "arm-trusted-firmware-" platform)) > + (name (guix-name "arm-trusted-firmware-" platform)) > (version "2.9") > (source > (origin > @@ -1157,10 +1157,7 @@ (define* (make-arm-trusted-firmware platform > license:bsd-2)))) ; libfdt >=20=20 > (define-public arm-trusted-firmware-sun50i-a64 > - (let ((base (make-arm-trusted-firmware "sun50i_a64"))) > - (package > - (inherit base) > - (name "arm-trusted-firmware-sun50i-a64")))) > + (make-arm-trusted-firmware "sun50i_a64")) >=20=20 > (define-public arm-trusted-firmware-rk3328 > (make-arm-trusted-firmware "rk3328")) > --=20 > 2.45.2 I presume there is some module from which to import guix-name? Without the patch applied, it gets further... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZ16NdwAKCRDcUY/If5cW qoguAQCy1Fzrct0Ns6/tSygpcDcffxt3aIoUYErIElaVztcPBQD+LTpqcgQL3bxn Xg9Y7zcxbovLoRzIUE367s0MYbVZ+AM= =YtCr -----END PGP SIGNATURE----- --=-=-=--