From unknown Sat Aug 16 23:50:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59074@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166772600613913 (code B ref -1); Sun, 06 Nov 2022 09:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2022 09:13:26 +0000 Received: from localhost ([127.0.0.1]:58663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbiX-0003cL-VO for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:13:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:50026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbiT-0003cB-Eo for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:13:24 -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 1orbiT-0003v4-9L for guix-patches@gnu.org; Sun, 06 Nov 2022 04:13:21 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orbiR-0005Ur-O7 for guix-patches@gnu.org; Sun, 06 Nov 2022 04:13:20 -0500 Received: from localhost (host-82-184-251-30.business.telecomitalia.it [82.184.251.30]) by mira.cbaines.net (Postfix) with ESMTPSA id 243A427BBE9 for ; Sun, 6 Nov 2022 09:13:18 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 38d3119a for ; Sun, 6 Nov 2022 09:13:17 +0000 (UTC) From: Christopher Baines Date: Sun, 6 Nov 2022 10:13:17 +0100 Message-Id: <20221106091317.27635-1-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Otherwise computing cross-compilation derivations for packages (e.g. xpadneo) using the #:source-directory argument fails with this error: Unrecognized keyword: #:source-directory * guix/build-system/linux-module.scm (linux-module-build-cross): Support #:source-directory. --- guix/build-system/linux-module.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm index 94a293da13..d6c369d65d 100644 --- a/guix/build-system/linux-module.scm +++ b/guix/build-system/linux-module.scm @@ -210,6 +210,7 @@ (define* (linux-module-build-cross (tests? #f) (phases '%standard-phases) (system (%current-system)) + (source-directory ".") (substitutable? #t) (imported-modules %linux-module-build-system-modules) @@ -229,6 +230,7 @@ (define %build-target-inputs (linux-module-build #:name #$name #:source #+source + #:source-directory #$source-directory #:system #$system #:target #$target #:arch #$(system->arch (or target system)) -- 2.37.3 From unknown Sat Aug 16 23:50:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Nov 2022 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 59074-done@debbugs.gnu.org, 59074@debbugs.gnu.org X-Debbugs-Original-Cc: 59074-done@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166785132724800 (code B ref -1); Mon, 07 Nov 2022 20:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 20:02:07 +0000 Received: from localhost ([127.0.0.1]:35425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8Jq-0006Rw-OK for submit@debbugs.gnu.org; Mon, 07 Nov 2022 15:02:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:48688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8Jo-0006Ro-Rp for submit@debbugs.gnu.org; Mon, 07 Nov 2022 15:02:05 -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 1os8Jo-000456-9y for guix-patches@gnu.org; Mon, 07 Nov 2022 15:02:04 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os8Jm-0001G7-SA for guix-patches@gnu.org; Mon, 07 Nov 2022 15:02:04 -0500 Received: from localhost (93-42-6-17.ip84.fastwebnet.it [93.42.6.17]) by mira.cbaines.net (Postfix) with ESMTPSA id 66DF427BBE9; Mon, 7 Nov 2022 20:02:01 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id ce2eec62; Mon, 7 Nov 2022 20:02:00 +0000 (UTC) References: <20221106091317.27635-1-mail@cbaines.net> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines Date: Mon, 07 Nov 2022 21:00:09 +0100 In-reply-to: <20221106091317.27635-1-mail@cbaines.net> Message-ID: <87mt92o7nr.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Christopher Baines writes: > Otherwise computing cross-compilation derivations for packages (e.g. xpadneo) > using the #:source-directory argument fails with this error: > > Unrecognized keyword: #:source-directory > > * guix/build-system/linux-module.scm (linux-module-build-cross): Support > #:source-directory. > --- > guix/build-system/linux-module.scm | 2 ++ > 1 file changed, 2 insertions(+) I've gone ahead and pushed this as da21c5d45f418103bb39061787c90920ee3f36d8. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNpZDhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcqjQ//ZBd93EtPBGyMAVHPFDNnK+Y3CCbF6r4C N8FqJLbL3/k29K6i7OO55Bboo+JZ7JHVRo+ifCk6u/dFw7zvbzHD69RTRuMA5/Mx ghwurBlGT0r99i+gZozSryDKPz7PiwHtOneLHW2wv6RdehsDf8NjkJ57Ob67KgPI 4UNgtR6N3odMitgpyVgom6XdHEi6PrHktQFAzNVL6FbFl3m89v4DajU/L0b3Sctc msQ0cszxhNdwX/sDCluzttaH+9SSR4hp98gb1zOS3UM502pa55TqvVsyGj4abDO5 0xHXIGJuZpSPeLAA5p5i4fWQ8DPzH7MPiMEDkln7OWBFMo4RcAa+ggB+o7KlgNuE OyQXVyJaWnUYD+b8nchPqxvS1a0xCdSBhGrb6V5Mtl92wCf0Fsdw/IrAJJ5kc0z9 sIlIAZlz1ay2EZru4WTzx0FVCQ51AMzBXr428igRdsy6IfMQplNxKipGAI2qHap6 UgBRMjbfsbsNptiOF4t0gjQqc6xeUGdKOl7ICgyo/FbUuJVddwAaolA2OSquDZp5 2SgFxS9urbGYqgsJ6vOXIhn6ERSjxqyw8y7bcJHIDF7xQeID7b8ZpMfl5LKeftRo fsCXNLWhhDK2BcIX8DXn/qABDRlmbvt9mlKwhGQRb0KbeIHL/IoinHKbBEhGowvI t6JrLFUMH6U= =H0TV -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 23:50:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#59074: closed (Re: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross.) Message-ID: References: <87mt92o7nr.fsf@cbaines.net> <20221106091317.27635-1-mail@cbaines.net> X-Gnu-PR-Message: they-closed 59074 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 59074@debbugs.gnu.org Date: Mon, 07 Nov 2022 20:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1667851382-24891-1" This is a multi-part message in MIME format... ------------=_1667851382-24891-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59074: [PATCH] build-system/linux-module: Add #:source-directory to linux-= module-build-cross. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59074@debbugs.gnu.org. --=20 59074: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59074 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1667851382-24891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59074-done) by debbugs.gnu.org; 7 Nov 2022 20:02:03 +0000 Received: from localhost ([127.0.0.1]:35422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8Jn-0006Rg-CU for submit@debbugs.gnu.org; Mon, 07 Nov 2022 15:02:03 -0500 Received: from mira.cbaines.net ([212.71.252.8]:41812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os8Jm-0006RO-3O for 59074-done@debbugs.gnu.org; Mon, 07 Nov 2022 15:02:02 -0500 Received: from localhost (93-42-6-17.ip84.fastwebnet.it [93.42.6.17]) by mira.cbaines.net (Postfix) with ESMTPSA id 66DF427BBE9; Mon, 7 Nov 2022 20:02:01 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id ce2eec62; Mon, 7 Nov 2022 20:02:00 +0000 (UTC) References: <20221106091317.27635-1-mail@cbaines.net> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Christopher Baines Subject: Re: [bug#59074] [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Date: Mon, 07 Nov 2022 21:00:09 +0100 In-reply-to: <20221106091317.27635-1-mail@cbaines.net> Message-ID: <87mt92o7nr.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59074-done Cc: 59074-done@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > Otherwise computing cross-compilation derivations for packages (e.g. xpadneo) > using the #:source-directory argument fails with this error: > > Unrecognized keyword: #:source-directory > > * guix/build-system/linux-module.scm (linux-module-build-cross): Support > #:source-directory. > --- > guix/build-system/linux-module.scm | 2 ++ > 1 file changed, 2 insertions(+) I've gone ahead and pushed this as da21c5d45f418103bb39061787c90920ee3f36d8. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNpZDhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcqjQ//ZBd93EtPBGyMAVHPFDNnK+Y3CCbF6r4C N8FqJLbL3/k29K6i7OO55Bboo+JZ7JHVRo+ifCk6u/dFw7zvbzHD69RTRuMA5/Mx ghwurBlGT0r99i+gZozSryDKPz7PiwHtOneLHW2wv6RdehsDf8NjkJ57Ob67KgPI 4UNgtR6N3odMitgpyVgom6XdHEi6PrHktQFAzNVL6FbFl3m89v4DajU/L0b3Sctc msQ0cszxhNdwX/sDCluzttaH+9SSR4hp98gb1zOS3UM502pa55TqvVsyGj4abDO5 0xHXIGJuZpSPeLAA5p5i4fWQ8DPzH7MPiMEDkln7OWBFMo4RcAa+ggB+o7KlgNuE OyQXVyJaWnUYD+b8nchPqxvS1a0xCdSBhGrb6V5Mtl92wCf0Fsdw/IrAJJ5kc0z9 sIlIAZlz1ay2EZru4WTzx0FVCQ51AMzBXr428igRdsy6IfMQplNxKipGAI2qHap6 UgBRMjbfsbsNptiOF4t0gjQqc6xeUGdKOl7ICgyo/FbUuJVddwAaolA2OSquDZp5 2SgFxS9urbGYqgsJ6vOXIhn6ERSjxqyw8y7bcJHIDF7xQeID7b8ZpMfl5LKeftRo fsCXNLWhhDK2BcIX8DXn/qABDRlmbvt9mlKwhGQRb0KbeIHL/IoinHKbBEhGowvI t6JrLFUMH6U= =H0TV -----END PGP SIGNATURE----- --=-=-=-- ------------=_1667851382-24891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Nov 2022 09:13:26 +0000 Received: from localhost ([127.0.0.1]:58663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbiX-0003cL-VO for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:13:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:50026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbiT-0003cB-Eo for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:13:24 -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 1orbiT-0003v4-9L for guix-patches@gnu.org; Sun, 06 Nov 2022 04:13:21 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orbiR-0005Ur-O7 for guix-patches@gnu.org; Sun, 06 Nov 2022 04:13:20 -0500 Received: from localhost (host-82-184-251-30.business.telecomitalia.it [82.184.251.30]) by mira.cbaines.net (Postfix) with ESMTPSA id 243A427BBE9 for ; Sun, 6 Nov 2022 09:13:18 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 38d3119a for ; Sun, 6 Nov 2022 09:13:17 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Date: Sun, 6 Nov 2022 10:13:17 +0100 Message-Id: <20221106091317.27635-1-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Otherwise computing cross-compilation derivations for packages (e.g. xpadneo) using the #:source-directory argument fails with this error: Unrecognized keyword: #:source-directory * guix/build-system/linux-module.scm (linux-module-build-cross): Support #:source-directory. --- guix/build-system/linux-module.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm index 94a293da13..d6c369d65d 100644 --- a/guix/build-system/linux-module.scm +++ b/guix/build-system/linux-module.scm @@ -210,6 +210,7 @@ (define* (linux-module-build-cross (tests? #f) (phases '%standard-phases) (system (%current-system)) + (source-directory ".") (substitutable? #t) (imported-modules %linux-module-build-system-modules) @@ -229,6 +230,7 @@ (define %build-target-inputs (linux-module-build #:name #$name #:source #+source + #:source-directory #$source-directory #:system #$system #:target #$target #:arch #$(system->arch (or target system)) -- 2.37.3 ------------=_1667851382-24891-1--