Received: (at submit) by debbugs.gnu.org; 13 Sep 2023 13:48:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 13 09:48:35 2023
Received: from localhost ([127.0.0.1]:32988 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1qgQEM-0005Xs-3H
for submit <at> debbugs.gnu.org; Wed, 13 Sep 2023 09:48:34 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45372)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <GNUtoo@HIDDEN>) id 1qgQEI-0005Xb-89
for submit <at> debbugs.gnu.org; Wed, 13 Sep 2023 09:48:32 -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 <GNUtoo@HIDDEN>)
id 1qgQE6-00026r-53
for bug-guix@HIDDEN; Wed, 13 Sep 2023 09:48:18 -0400
Received: from cyberdimension.org ([80.67.179.20]
helo=gnutoo.cyberdimension.org)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
(Exim 4.90_1) (envelope-from <GNUtoo@HIDDEN>)
id 1qgQE2-0006OG-FK
for bug-guix@HIDDEN; Wed, 13 Sep 2023 09:48:17 -0400
Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1])
by cyberdimension.org (OpenSMTPD) with ESMTP id 23d1939e
for <bug-guix@HIDDEN>; Wed, 13 Sep 2023 13:48:07 +0000 (UTC)
Received: from primary_laptop (localhost [::1])
by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 553b1bd4
for <bug-guix@HIDDEN>; Wed, 13 Sep 2023 13:48:07 +0000 (UTC)
Date: Wed, 13 Sep 2023 15:47:44 +0200
From: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
To: bug-guix@HIDDEN
Subject: aarch64 system broken since "gnu: linux-libre: Update to 6.4.8."
Message-ID: <20230913154744.5e3af3dd@primary_laptop>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/ok.rtKmQ7ZPslogvaVvK.mK";
protocol="application/pgp-signature"; micalg=pgp-sha256
Received-SPF: pass client-ip=80.67.179.20;
envelope-from=GNUtoo@HIDDEN; helo=gnutoo.cyberdimension.org
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, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
--Sig_/ok.rtKmQ7ZPslogvaVvK.mK
Content-Type: multipart/mixed; boundary="MP_/x7QG+TBj5su4XUJpCRR.sUW"
--MP_/x7QG+TBj5su4XUJpCRR.sUW
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
When doing a guix-deploy on aarch64 with the following command in a
checked out guix git repository with the following command:
> guix time-machine --commit=3D$(git rev-parse HEAD) -- deploy -L
> rockpro64/ rockpro64/rockpro64.scm
I've got the following build failure:
> LD [M] net/openvswitch/openvswitch.ko
> LD [M] net/openvswitch/vport-vxlan.ko
> LD [M] net/openvswitch/vport-geneve.ko
> LD [M] net/openvswitch/vport-gre.ko
> LD [M] net/vmw_vsock/vsock.ko
> LD [M] net/vmw_vsock/vsock_diag.ko
> LD [M] net/vmw_vsock/vmw_vsock_vmci_transport.ko
> LD [M] net/vmw_vsock/vmw_vsock_virtio_transport.ko
> LD [M] net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
> LD [M] net/vmw_vsock/hv_sock.ko
> LD [M] net/vmw_vsock/vsock_loopback.ko
> LD [M] net/nsh/nsh.ko
> LD [M] net/qrtr/qrtr.ko
> LD [M] net/qrtr/qrtr-smd.ko
> LD [M] net/qrtr/qrtr-tun.ko
> LD [M] net/qrtr/qrtr-mhi.ko
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "6")
> exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed
> after 16208.5 seconds command "make" "-j" "6" failed with status 2
> builder for
> `/gnu/store/f678azkxiyxv5vm5yacr7pp6c4rhsnaw-linux-libre-6.4.8.drv'
> failed with exit code 1 cannot build derivation
> `/gnu/store/rqdmzzgcydvy485hp3fib2s6pz6ib5pk-linux-modules.drv': 1
> dependencies couldn't be built cannot build derivation
> `/gnu/store/fznw4yyx5s4wdi950hmdw78lyz0chlgr-parameters.drv': 1
> dependencies couldn't be built cannot build derivation
> `/gnu/store/dw3z33as5s7jhppha2bgi3kiab26pix0-profile.drv': 1
> dependencies couldn't be built cannot build derivation
> `/gnu/store/y385isj6ha1dpzcxnws1vq4b9wf3bpcr-system.drv': 1
> dependencies couldn't be built cannot build derivation
> `/gnu/store/791hw1spny38mlhiknf77ihikk2km9zz-switch-to-system.scm.drv':
> 1 dependencies couldn't be built cannot build derivation
> `/gnu/store/3hvlqvfd9x7mylkrr8wsiw4vwpja60hk-remote-exp.scm.drv': 1
> dependencies couldn't be built guix deploy: error: build of
> `/gnu/store/3hvlqvfd9x7mylkrr8wsiw4vwpja60hk-remote-exp.scm.drv'
> failed
So I've bisected and the bisect found this commit:
> bff1f2d4d07e934ea296f9c724b5337996a27c44 is the first bad commit
> commit bff1f2d4d07e934ea296f9c724b5337996a27c44
> Author: Leo Famulari <leo@HIDDEN>
> Date: Tue Aug 8 10:37:16 2023 -0400
>=20
> gnu: linux-libre: Update to 6.4.8.
> =20
> * gnu/packages/linux.scm (linux-libre-version,
> linux-libre-gnu-revision, linux-libre-pristine-source,
> linux-libre-source, linux-libre, linux-libre-with-bpf): Update to
> linux-libre 6.4.
>=20
> gnu/packages/linux.scm | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Denis.
--MP_/x7QG+TBj5su4XUJpCRR.sUW
Content-Type: text/x-scheme
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=rockpro64.scm
;;; Copyright =C2=A9 Guix documentation authors
;;; Copyright =C2=A9 2022 Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(use-modules (gnu)
(gnu machine)
(gnu machine ssh))
(list (machine
(operating-system
(@ (rockpro64-system) rockpro64-operating-system))
(environment managed-host-environment-type)
(configuration
(machine-ssh-configuration
(authorize? #t)
(build-locally? #f)
(host-key
(string-append
"ssh-ed25519"
" "
"AAAAC3NzaC1lZDI1NTE5AAAAIJXJagiYEGOgmij79pO0E5UqjnStKBB8T1H5S/eFYk5S"))
(host-name "192.168.10.35")
(identity "./id_ed25519")
(port 222)
(system "aarch64-linux")
(user "root")))))
--MP_/x7QG+TBj5su4XUJpCRR.sUW
Content-Type: text/x-scheme
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=rockpro64-system.scm
;; Based on gnu/system/examples/beaglebone-black.scm in Guix source code
;;
;; This file is not part of GNU Guix.
;;
;; GNU Guix is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3 of the License, or (at
;; your option) any later version.
;;
;; GNU Guix is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (rockpro64-system)
#:use-module (gnu)
#:use-module (gnu bootloader u-boot)
#:use-module (gnu machine)
#:use-module (gnu machine ssh)
#:use-module (gnu services certbot)
#:use-module (gnu services dns)
#:use-module (gnu services networking)
#:use-module (gnu services shepherd)
#:use-module (gnu services ssh)
#:use-module (gnu services version-control)
#:use-module (gnu services vpn)
#:use-module (gnu services web)
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages benchmark)
#:use-module (gnu packages bootloaders)
#:use-module (gnu packages certs)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
#:use-module (gnu packages ntp)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages screen)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages vim)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix store)
#:export (rockpro64-operating-system))
(define-public %nginx-deploy-hook
(program-file
"nginx-deploy-hook"
#~(let ((pid (call-with-input-file "/var/run/nginx/pid" read)))
(kill pid SIGHUP))))
(define-public self-signed-certificate
(package
(name "self-signed-certificate")
(version "0.1")
(source #f)
(native-inputs (list openssl))
(build-system trivial-build-system)
(arguments
(list #:modules '((guix build utils))
#:builder
#~(begin
(use-modules (guix build utils))
(let ((openssl
(string-append
#$(this-package-native-input "openssl")
"/bin/openssl"))
(out
(string-append
#$output
"/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/")))
(mkdir-p out)
(invoke openssl
"req" "-nodes" "-batch" "-x509" "-newkey" "rsa:204=
8"
"-keyout"(string-append out "/privkey.pem")
"-out" (string-append out "/fullchain.pem")
"-days" "356")))))
(synopsis "Self signed certificate")
(description "This is useful to start nginx without certificate.")
(home-page "https://git.sr.ht/~gnutoo/machines_configs.git")
(license license:cc0)))
(define (self-signed-certificate-shepherd-service config)
(list
(shepherd-service
(documentation "Provide temporary self-signed certificate")
(provision '(self-signed-certificate))
(one-shot? #t)
(start
#~(lambda* _
(if
(and
(not
(access?
"/etc/letsencrypt/live/rockpro64.gnutoo.cyberdimension.=
org/"
(logior R_OK X_OK)))
(access? "/etc/letsencrypt/live/" (logior R_OK X_OK)))
(lambda _
(mkdir
(string-append "/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/"))
(copy-file
#$(file-append
self-signed-certificate
(string-append
"/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/"
"fullchain.pem"))
#$(string-append "/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/"
"fullchain.pem"))
(copy-file
#$(file-append
self-signed-certificate
(string-append
"/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/"
"privkey.pem"))
#$(string-append "/etc/letsencrypt/live/"
"rockpro64.gnutoo.cyberdimension.org/"
"privkey.pem")))))))))
(define self-signed-certificate-service-type
(service-type (name 'self-signed-certificate)
(description "Provide temporary self-signed certificate")
(extensions (list (service-extension
shepherd-root-service-type
self-signed-certificate-shepherd-service=
)))
(default-value #f)))
(define-public gnutoo.cyberdimension.org
(package
(name "gnutoo.cyberdimension.org")
(version "0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.sr.ht/~gnutoo/gnutoo-website")
(commit "2a1e73ba998f32b413d27aa58d7394f052fdda3b")))
(file-name (git-file-name name version))
(sha256
(base32 "1palnh7j5x1mc135338qhkpxyam5mci671b4cj1xp8znqa789n4w"))))
(native-inputs
`(("make" ,gnu-make)
("pelican" ,pelican)))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'configure) ; We only have a Makefile
(delete 'build) ; with only an install target
(delete 'check))
#:make-flags
(list (string-append "DESTDIR=3D"
(assoc-ref %outputs "out")
"/share/gnutoo.cyberdimension.org/"))))
(synopsis "https://gnutoo.cyberdimension.org website")
(description
"https://gnutoo.cyberdimension.org is the website that is currently
hosted at https://gnutoo.cyberdimension.org.")
(home-page "https://git.sr.ht/~gnutoo/gnutoo-website")
(license license:agpl3+)))
(define-zone-entries cyberdimension-eu-org-entries
; Name TTL Class Type Data
("ns1" "" "IN" "A" "79.143.250.36")
("ns2" "" "IN" "AAAA" "2001:678:938:3ff::36")
("@" "" "IN" "NS" "ns1.cyberdimension.eu.org.")
("@" "" "IN" "NS" "ns2.cyberdimension.eu.org.")
("@" "" "IN" "A" "79.143.250.36")
("@" "" "IN" "AAAA" "2001:678:938:3ff::36"))
(define-public cyberdimension-eu-org-zone
(knot-zone-configuration
(domain "cyberdimension.eu.org")
(zone (zone-file
(origin "cyberdimension.eu.org")
(entries cyberdimension-eu-org-entries)))))
(define rockpro64-operating-system
(operating-system
(host-name "rockpro64")
(timezone "Europe/Paris")
(bootloader (bootloader-configuration
(bootloader u-boot-rockpro64-rk3399-bootloader)
(targets '("/dev/mmcblk2"))))
(initrd-modules
(append
(list
"dw_mmc-rockchip" ;; CONFIG_MMC_DW_ROCKCHIP for uSD bo=
ot
"dwc3" ;; CONFIG_USB_DWC3 for USB bo=
ot
"dwc3_of_simple" ;; CONFIG_USB_DWC3_OF_SIMPLE for USB bo=
ot
"ehci_platform" ;; CONFIG_USB_EHCI_HCD_PLATFORM for USB bo=
ot
"fixed" ;; CONFIG_REGULATOR_FIXED_VOLTAGE for USB bo=
ot
"i2c_rk3x" ;; CONFIG_I2C_RK3X for uSD bo=
ot
"ohci_platform" ;; CONFIG_USB_OHCI_HCD_PLATFORM for USB bo=
ot
"phy_rockchip_emmc" ;; CONFIG_PHY_ROCKCHIP_EMMC for eMMC b=
oot
"phy_rockchip_inno_usb2" ;; CONFIG_PHY_ROCKCHIP_INNO_USB2 for USB bo=
ot
"phy_rockchip_usb" ;; CONFIG_PHY_ROCKCHIP_USB for USB bo=
ot
"pl330" ;; CONFIG_USB_SERIAL_PL2303 for uSD bo=
ot
"rk808" ;; CONFIG_MFD_RK808 for uSD bo=
ot
"rk808_regulator" ;; CONFIG_REGULATOR_RK808 for uSD bo=
ot
"sd_mod" ;; CONFIG_BLK_DEV_SD for USB bo=
ot
"sdhci_of_arasan" ;; CONFIG_MMC_SDHCI_OF_ARASAN for eMMC b=
oot
"uas" ;; CONFIG_USB_UAS for USB bo=
ot
"usb_storage" ;; CONFIG_USB_STORAGE for USB bo=
ot
"xhci_plat_hcd") ;; CONFIG_USB_XHCI_PLATFORM for USB bo=
ot
%base-initrd-modules))
;; rootdelay=3D5 is needed for booting USB boot
(kernel-arguments (append '("loglevel=3D8" "rootdelay=3D5")))
(file-systems (append (list (file-system
(mount-point "/")
(device "/dev/mmcblk2p2")
(type "ext4"))) %base-file-systems))
(users (cons* (user-account
(name "gnutoo")
(uid 1000)
(group "gnutoo"))
%base-user-accounts))
(groups (cons* (user-group
(name "gnutoo")
(id 1000))
%base-groups))
(packages (append (list
git
gnu-make
htop
mtr
net-tools
nss-certs
ntp
phoronix-test-suite
screen
self-signed-certificate
vim
wireshark) ;; For tshark
%base-packages))
(services
(append
(list
(service
agetty-service-type
(agetty-configuration (extra-options '("-L")) ;no carrier detect
(baud-rate "1500000")
(term "vt100")
(tty "ttyS2")))
(service
gitolite-service-type
(gitolite-configuration
(admin-pubkey
(plain-file
"gnutoo.pub"
(string-append
"ssh-ed25519 "
"AAAAC3NzaC1lZDI1NTE5AAAAIHvzPb+bkC"
"F9Vf4SQpXT0eJbUorbAoGwOZrkws9DFzKv"
" gnutoo@primary_laptop")))))
(service knot-service-type
(knot-configuration
(zones (list cyberdimension-eu-org-zone))))
(service self-signed-certificate-service-type)
(service static-networking-service-type
(list
(static-networking (addresses (list (network-address
(device
"eth0")
(value
"192.168.10.35/24"))))
(routes (list (network-route
(destination
"default")
(gateway
"192.168.10.1"))))
(name-servers '("192.168.10.1")))))
(service openssh-service-type
(openssh-configuration
(port-number 222)
(permit-root-login #t)
(password-authentication? #f)
(challenge-response-authentication? #f)
(authorized-keys
`(("root" ,(local-file "id_ed25519.pub"))
("gnutoo" ,(local-file "id_ed25519.pub"))))))
(service wireguard-service-type
(wireguard-configuration
(addresses '("79.143.250.36/27" "2001:678:938:3ff::36/64"))
(port 0)
(private-key (local-file "id_wireguard"))
(peers
(list
(wireguard-peer
(name "stephanie.franciliens.net")
(endpoint "stephanie.franciliens.net:51820")
(public-key "Ybfh3twyBpj7wx/lo9AVBsBKNAUMSQqAWWV0LfywSDI=
=3D")
(allowed-ips '("0.0.0.0/0" "::/0"))))))))
(modify-services
%base-services
(guix-service-type
config =3D> (guix-configuration
(authorized-keys
(append (list
(local-file "signing-key.pub"))
%default-authorized-guix-keys)))))))))
rockpro64-operating-system
--MP_/x7QG+TBj5su4XUJpCRR.sUW--
--Sig_/ok.rtKmQ7ZPslogvaVvK.mK
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmUBvYAACgkQX138wUF3
4mNi4xAApKvpI+zFUQREqAOf6B9LI6KG1AokmcmB5T8cP1utlIuxu8ar/u/DdcFZ
fZxkVSqgM3cdkHPrqmYgTsJ1qRfrKZFR+r/S3vYzC9LFViKuiO/xDQgQg91RwSuY
WhYHLXKmqpsDrsAd3+p7Ih+4cCxaHpHi+PO8Sl+BlYEOGzRXgE33HqfHU64beZtj
rs+laZS1+9Cq658VvzeV+8c1fRWDX0wxUFAqwys7lMJzihvI+9UZi+31G3uPghZe
vt8pk7I4nUX1KPUoXleAAO8recDUN29IXn+Xl3R9Tg+S4tZpZc+TVCcV1Hve2d/z
PrSTM82iyddWdKyaLK7Fd59ld6gkUIcu5BivVZgk3A8CewHhKzzsf7ODom780QnD
dUwmJXlSv7p/w+whBgRiqtecEA2bh9Km6CWxEY27PF4WRzT5iUfuXBSxnuaDdWua
HL/WtfjBZEvxmv+7rUtNm2dDcWdSC1HvJKQEc8Z1XQkDdZ2eUYS31A4saz2rDdla
1tcYAWSJh5jF+5Mikc0UeeC4VbJx5iRm4K+eD7X/FtYGeBi9oQ+fRiKyCdUUZG64
4ezQ41w3wKyXTCC0hVYR+Vva6AsEDkpSqlUdGYXvR9WRE4CmrkKcbDAD+LFEE2zJ
8YKG7UWbZhI39baWL+QEfXrqPKyfKvgSMCmjM/1vnaivsk26eio=
=wLF3
-----END PGP SIGNATURE-----
--Sig_/ok.rtKmQ7ZPslogvaVvK.mK--
Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#65917; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.