From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35979) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jE8Y0-0001g5-PG for guix-patches@gnu.org; Tue, 17 Mar 2020 05:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jE8Xz-0001mO-QG for guix-patches@gnu.org; Tue, 17 Mar 2020 05:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jE8Xz-0001kn-M9 for guix-patches@gnu.org; Tue, 17 Mar 2020 05:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jE8Xy-0006dO-HH for guix-patches@gnu.org; Tue, 17 Mar 2020 05:30:02 -0400 Subject: [bug#37868] [PATCH v8] system: Add kernel-module-packages to operating-system. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200227135146.5701-1-dannym@scratchpost.org> <20200227155029.2542-1-dannym@scratchpost.org> <20200314194055.6d857037@scratchpost.org> <877dzlgbe2.fsf@gmail.com> <20200315191736.33ed8abf@scratchpost.org> <87y2s0ei8i.fsf@gmail.com> <20200316211052.5d4e29a2@scratchpost.org> Date: Tue, 17 Mar 2020 10:29:08 +0100 In-Reply-To: <20200316211052.5d4e29a2@scratchpost.org> (Danny Milosavljevic's message of "Mon, 16 Mar 2020 21:10:52 +0100") Message-ID: <87v9n3cot7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: mhw@netris.org, Mathieu Othacehe , 37868@debbugs.gnu.org Danny Milosavljevic skribis: > On Mon, 16 Mar 2020 10:55:57 +0100 > Mathieu Othacehe wrote: > >> --8<---------------cut here---------------start------------->8--- >> guix system: error: gnu/packages/linux.scm:886:2: acpi-call-linux-module= @3.17: build system `linux-module' does not support cross builds >> --8<---------------cut here---------------end--------------->8--- >>=20 >> This is not caused by your patch, but it prevents me from testing :( > > That's too bad. > > I tried to preserve cross-compilation in guix/build-system/linux-module.s= cm > but apparently I missed something. Sorry! > > It could just be the > > (not target) ;XXX: no cross-compilation Yes, it means that =E2=80=98linux-module-build-system=E2=80=99 does not ret= urn a bag when cross-compiling. See =E2=80=98gnu-build-system=E2=80=99 for how to support cross-compilation. In the meantime, Mathieu, perhaps you can test system cross-compilation by using a =E2=80=98computed-file=E2=80=99 (instead of a package) as a fake= package providing modules? Thanks, Ludo=E2=80=99.