From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cCcaF87v22QsHgEASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 23:36:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IO/tFs7v22RZTwAAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 23:36:14 +0200 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 D9E1B39592 for ; Tue, 15 Aug 2023 23:36:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.com header.s=s31663417 header.b=T8HntfI5; 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=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692135374; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=BBq/896+6Uh+gId9d46IEXiDOpPz1bsVKGp+AItyfTE=; b=gW7Qr10+GXcEPS0FiPax58hmgnGHgCjtn6J9DdDOaCTx34trjHZ6PnosVVgaMSiWf2gt7q pNEZ0QsixvmYLLsN86z0lhYW2uOG0XEjwbkro3dbM435I1RPOewFGmC0a3QirdLkgcFBcB nfDLKpsS5qQvoXDnhzsjrFgKpeixHncs+TLU4XIIXM30srwApH424/W1dPPg1ApcnbgF0K Pm5RsvJPzVQHXo2mQb263ixpEKZUghY9Fci0wmYxglSEnBNMhVhoirMWRCO5VMjob3RrP+ UyYYXsAkZHeaEwfzGnWCPblZNZUkGjbPF6Mza4fP2Hb/beaZ8mukkh3RX3C16g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmx.com header.s=s31663417 header.b=T8HntfI5; 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=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692135374; a=rsa-sha256; cv=none; b=NBTbLfinRb7nrfVtyktYy3k9qWz1fPqUtJ4IkG12y0Jsbf4lli+6LaocJ0GiWAteTYIFzG Y8EJm4pjWpc9fx0fvldGXrIlo9DDyD650Z9DnnIcpxjkwYsZXbAGVFcGT/HnfthNmkxg+r 2J6rIOS25y9t7VTNfKvNhZ0FLlzObu1vHud25MdBqD8TxgWQzxoVASYfpOHxknQyQZ4FyU 2Nr9csZB+C88h/EQzu4B9OoA2s6/RnksG5T7ef1EaTC0hmuNYA1qzyzTgV+7XICsqSsEVp KB/2PBqYLqaUMB9DSGmBH9VhbS2T5MNqfV8evO2xepkk4CxGt1Otcix+t7l+oQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW1hv-0008JL-3p; Tue, 15 Aug 2023 17:36:07 -0400 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 1qW1hr-0008HU-Un for guix-patches@gnu.org; Tue, 15 Aug 2023 17:36:04 -0400 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 1qW1hr-0005eP-Mh for guix-patches@gnu.org; Tue, 15 Aug 2023 17:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qW1hq-0001W3-32; Tue, 15 Aug 2023 17:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65322] [PATCH] gnu: linux-libre: Fix aarch64 build by providing hexdump command Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 15 Aug 2023 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65322 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65322@debbugs.gnu.org Cc: leo@famulari.name, me@tobias.gr X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: leo@famulari.name, me@tobias.gr Received: via spool by submit@debbugs.gnu.org id=B.16921353515806 (code B ref -1); Tue, 15 Aug 2023 21:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Aug 2023 21:35:51 +0000 Received: from localhost ([127.0.0.1]:36965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1he-0001VZ-Qg for submit@debbugs.gnu.org; Tue, 15 Aug 2023 17:35:51 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1hc-0001VJ-3p for submit@debbugs.gnu.org; Tue, 15 Aug 2023 17:35:50 -0400 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 1qW1hV-0008FB-Ky for guix-patches@gnu.org; Tue, 15 Aug 2023 17:35:41 -0400 Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qW1hS-0005Xp-RR for guix-patches@gnu.org; Tue, 15 Aug 2023 17:35:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.com; s=s31663417; t=1692135336; x=1692740136; i=pierre.langlois@gmx.com; bh=VKzcVlO34FPktqX3UEkGpK10rXVbfVNwBHTC3arxq74=; h=X-UI-Sender-Class:From:To:Subject:Date; b=T8HntfI51K/FxWm8bZKNT+nocligseQHl5sQOigx/Tq5yxAVZ2VIkeUjuj5tkj77jSbe4pO JTrsStdtiYJlyx8YI4JmNVJsf6N+0yui5/AKpQchVhD5HIcOhXHg8JIwywgc7CBGDVx4SZpv7 EluPqwVITEYa87rphE8Pg1otJU2sG17IZA8PBuyldtCljyBzFklAcnpAdp0uaZ35DcRmVMW53 qE1heGwGVDLeerVmUHMduVO81gXJmjohOey1hemjaTYxZHfHyql+c8T9UGLvHqPsgME6kQki/ lWSO6rr7LzGs5PpzgrtGL2x+PtpVz0ShwpK2bQ6fanc9ruoX9Q9w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MTAFh-1qLBPM35Ul-00UXx1 for ; Tue, 15 Aug 2023 23:35:35 +0200 User-agent: mu4e 1.10.5; emacs 28.2 From: Pierre Langlois Date: Tue, 15 Aug 2023 22:23:47 +0100 Message-ID: <87y1icgfa6.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:+qSFmyVbw1lVwtOKis7hz3Uc3R2sUZ84uhnEzqA4//4OL+kat8v 0Nj6Z991tsvW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KKkoXR1huReDAikqob qD5ilwxSYBpX9PFgtXrevFBwRnykeXPPlZ3ECstaEA9exwcS1YFU83DwvZ2qoUV2b14T0MryN sH8ugmi1iZP9lwxTagoScwuqKiw= Received-SPF: pass client-ip=212.227.15.18; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: D9E1B39592 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: 0.61 X-Migadu-Spam-Score: 0.61 X-TUID: KT/I89lzFAS7 --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Guix! I noticed linux 6.4 didn't build on aarch64 https://ci.guix.gnu.org/build/1787394/details, building it locally and checking the log, it seems we're simply missing the `hexdump' column: --8<---------------cut here---------------start------------->8--- CC [M] drivers/pci/controller/pcie-rockchip-host.mod.o OBJCOPY arch/arm64/boot/Image CC [M] drivers/pci/controller/pcie-brcmstb.mod.o AS arch/arm64/boot/zboot-header.o make[1]: hexdump: No such file or directory make[1]: hexdump: No such file or directory make[1]: hexdump: No such file or directory make[1]: hexdump: No such file or directory PAD arch/arm64/boot/vmlinux.bin CC [M] drivers/pci/controller/pcie-apple.mod.o truncate: Invalid number: 'arch/arm64/boot/vmlinux.bin' make[1]: *** [drivers/firmware/efi/libstub/Makefile.zboot:13: arch/arm64/boot/vmlinux.bin] Error 1 make[1]: *** Deleting file 'arch/arm64/boot/vmlinux.bin' make: *** [arch/arm64/Makefile:163: vmlinuz.efi] Error 2 make: *** Waiting for unfinished jobs.... CC [M] drivers/pci/pci-stub.mod.o CC [M] drivers/video/backlight/ams369fg06.mod.o CC [M] drivers/video/backlight/lcd.mod.o CC [M] drivers/video/backlight/hx8357.mod.o --8<---------------cut here---------------end--------------->8--- The "PAD" line seems to come from this Makefile, imported in a few targets: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/firmware/efi/libstub/Makefile.zboot#n7 So the fix is easy! Somebody probably already found the issue, but I figure I'd post the fix in case it saves time :-) Thanks! Pierre --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmTb76EYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31Uc54IAJGg9Oce1mJs3jbhVNo5/Odr vq/wIPOrUJXZcOQjThxYUm4OdG7RvQ0bM0v5DLKJyBUKxvZZXSy3xMloESIwwsZY l22oJdo8PhbQCAmO7XRFj7bR+VPLPvG1sl7D9CoGqBJ44a2fesJ4W3p2RNfIZdgL DUz/p979zvQe+mCvtC1zFfzhZ+603Y0hm8vBRko0cwiT9KslptfxZK5loFtTxtUH 4H0ZljgcCKmFwhjAgITCQf08x1laCge/qWj3GQ148FNziIPInsOWvwRo97lDvBJ8 j8u3uG9zsqMcYpStPxvAEJq7/e9UqpwKTWn76MaL7TzETVPwmX9Ws0eQHS7f7ZA= =daRO -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-linux-libre-Add-util-linux-native-input.patch Content-Transfer-Encoding: quoted-printable =46rom d20fa084807706fd3fccaa2104162843420c282c Mon Sep 17 00:00:00 2001 Message-ID: From: Pierre Langlois Date: Tue, 15 Aug 2023 22:10:02 +0100 Subject: [PATCH] gnu: linux-libre: Add util-linux native input. Provide `hexdump' needed to build compressed EFI payload, on aarch64. * gnu/packages/linux.scm (make-linux-libre*)[native-inputs]: Add util-linu= x. =2D-- gnu/packages/linux.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 686eb40587..48dda8cda9 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1071,7 +1071,9 @@ (define* (make-linux-libre* version gnu-revision sou= rce supported-systems ;; These are needed to compile the GCC plugins. gmp mpfr - mpc)) + mpc + ;; Provide hexdump command, needed on aarch64. + util-linux)) (home-page "https://www.gnu.org/software/linux-libre/") (synopsis "100% free redistribution of a cleaned Linux kernel") (description "GNU Linux-Libre is a free (as in freedom) variant of th= e base-commit: 6eb0070f088cfdc4edb98fcfbea4b7aa68a2e30a =2D- 2.41.0 --=-=-=--