From unknown Sat Aug 16 11:40:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59074 <59074@debbugs.gnu.org> To: bug#59074 <59074@debbugs.gnu.org> Subject: Status: [PATCH] build-system/linux-module: Add #:source-directory to linux-module-build-cross. Reply-To: bug#59074 <59074@debbugs.gnu.org> Date: Sat, 16 Aug 2025 18:40:03 +0000 retitle 59074 [PATCH] build-system/linux-module: Add #:source-directory to = linux-module-build-cross. reassign 59074 guix-patches submitter 59074 Christopher Baines severity 59074 normal tag 59074 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 06 04:13:26 2022 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 07 15:02:07 2022 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 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" 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-Debbugs-Envelope-To: submit 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: -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 11:40:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Dec 2022 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator