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 IFOtJdy+uWQGaQAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 01:10:20 +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 IKiKJdy+uWT7uwAAauVa8A (envelope-from ) for ; Fri, 21 Jul 2023 01:10:20 +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 BC94B474F8 for ; Fri, 21 Jul 2023 01:10:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=essLv10s; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689894620; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ZUms5P+QZ0EoeqQ8LiJZ3tnJTTllxiEJxWhjvsfiB5s=; b=J8YsD4sOKt7msNPD9SAgSOEcsh/rSqD1CfEDuNYc/db/d7iNQyQo4uDckNUHXtST2jBlFS q207u1MXVBS6Fgg0RFi5bQ44qXxOLbMiY8NtTguwF56S4fBGFAZ1DjUFWLij7SYh7nGfYd 41zmMVXCnGWJQQfuXMQpJjE0WNVhkjAlCU8lExbKwnvi+a7UcnwbvHwJjhz2kEGkuGoarg YcW3TojFJpAKgx3N7sgwspsdOvbgn5P4urXuNQzV2fgTetyialZn/eJsOaxgpcg3KN8/e+ SMz3seBemcblYlAFK7FAWpkh0st5aNErYmviFIQZk3T1MNP9zretZAdC5g0zpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689894620; a=rsa-sha256; cv=none; b=i1iVvR3jch1qbwQ/zQHVAClcLUmzI8Fpb5C8qK6pYfJB75kXk0zMoK/o8qFGyICl9nAd7U LULgPI2NaBJv0WfnU78L7nWzGD5KbFB8YK+c6/u5Nt2AulbMLLgFnPxCZ4lLJD4NtzEs/H UQvXzOHsytj/VCUsfcK5jPR7VjVIrgIORoK+B3JmxfTmRMHYjJhw/abr3AsExB3M7L1tsj ZJ0ipnz0E0jwzrcs7GMIrlP5ODz0H4b7snEfbBsKC/m+edARVLycQcjldUtHTf4s6Yhd6L gA+c9FuP0CeeSNl/XYxh35brT5YQuaPC0LpDDVnZlhVIJDrx6bl+64liPqXAoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=essLv10s; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMcmb-00088N-HZ; Thu, 20 Jul 2023 19:10:05 -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 1qMcmZ-00087z-84 for bug-guix@gnu.org; Thu, 20 Jul 2023 19:10:03 -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 1qMcmY-0002nX-Vz for bug-guix@gnu.org; Thu, 20 Jul 2023 19:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMcmX-0007Km-OP for bug-guix@gnu.org; Thu, 20 Jul 2023 19:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64745: [guix-past] channel derivation broken after recent u-boot update Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 Jul 2023 23:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64745 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Cc: 64745@debbugs.gnu.org, Janneke Nieuwenhuizen Received: via spool by 64745-submit@debbugs.gnu.org id=B64745.168989454128032 (code B ref 64745); Thu, 20 Jul 2023 23:10:01 +0000 Received: (at 64745) by debbugs.gnu.org; 20 Jul 2023 23:09:01 +0000 Received: from localhost ([127.0.0.1]:60181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMclY-0007I0-T2 for submit@debbugs.gnu.org; Thu, 20 Jul 2023 19:09:01 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:38464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMclV-0007HS-2V for 64745@debbugs.gnu.org; Thu, 20 Jul 2023 19:08:59 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 885771AD05; Thu, 20 Jul 2023 16:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689894527; bh=uWvIhrDvjvuhgmRu49DLyVxduLHz/Mji2De8GbocoTc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=essLv10sd8+u0q969EyiRTOkIZoGBt5tYSCDxvTMNUcsG353ZCmcEwONFTzI1007t QJUm7DTdfWOhihSVkoe9NQN/UZXzEiIHF2wCb36QdgcCDzk7DYNe2fEeWGBWK2rPpG d9CtvCo4SwMKo5bbNqk9YCYJ4A6HbmAEiHeie5yBAFr3hwBhWuJZyEbXMYRAKDVSJN 2rS9duo850JHXnGD/D+sl0n1h0mLabxta1INyUg6H/M7TIt9tqCOKNm1Dr080I4Rz/ 2/SlIQBXmfUmaOCuoC4x3IiYsVa4UVn1RJSgxXijUc6P6lvjAThEOx7jbfnGa16+if a9HOLFyrf5SaQ== From: Vagrant Cascadian In-Reply-To: <87ilaecjq6.fsf@gnu.org> References: <87lefalf91.fsf@gmail.com> <87ilaecjq6.fsf@gnu.org> Date: Thu, 20 Jul 2023 16:08:19 -0700 Message-ID: <87r0p2yye4.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.26 X-Spam-Score: -5.26 X-Migadu-Queue-Id: BC94B474F8 X-Migadu-Scanner: mx1.migadu.com X-TUID: DOi+fDS1ujgM --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-07-21, Ludovic Court=C3=A8s wrote: > Maxim Cournoyer skribis: > >> It appears that the Guix-Past channel now fails to build like so: >> >> substitute: ^Msubstitute: ESC[Kupdating substitutes from 'https://ci.gui= x.gnu.org'... 0.0%^Msubstitute: ESC[Kupdating substitutes from 'https://c= i.guix.gnu.org'... 100.0% >> substitute: ^Msubstitute: ESC[Kupdating substitutes from 'https://bordea= ux.guix.gnu.org'... 0.0%^Msubstitute: ESC[Kupdating substitutes from 'htt= ps://bordeaux.guix.gnu.org'... 100.0% >> @ build-started /gnu/store/5gxx0xnrncdg5rsi00j4bvy4frxpd466-guix-past.dr= v - x86_64-linux /var/log/guix/drvs/5g//xx0xnrncdg5rsi00j4bvy4frxpd466-guix= -past.drv 4536 >> (repl-version 0 1 1) >> (exception unbound-variable (value #f) (value "Unbound variable: ~S") (v= alue (crust-pine64-plus)) (value #f)) >> builder for `/gnu/store/5gxx0xnrncdg5rsi00j4bvy4frxpd466-guix-past.drv' = failed to produce output path `/gnu/store/hwfy6kbh8q7v9ljam99gfzaz46lf3i8z-= guix-past' >> @ build-failed /gnu/store/5gxx0xnrncdg5rsi00j4bvy4frxpd466-guix-past.drv= - 1 builder for `/gnu/store/5gxx0xnrncdg5rsi00j4bvy4frxpd466-guix-past.drv= ' failed to produce output path `/gnu/store/hwfy6kbh8q7v9ljam99gfzaz46lf3i8= z-guix-past' >> >> I suspect it's caused by the commit >> ed5dc3a25d858a394bb7db937a51d866c3cdc6ed ("gnu: u-boot: Add crust >> firmware to pinebook, pine64_plus and pine64-lts."), although I don't >> understand why. > > This can be reproduced like so: > > --8<---------------cut here---------------start------------->8--- > $ guix time-machine --commit=3Da4038c4f783b05040cfdb262d9f4c0119b612371 -= - repl <(echo '(use-modules (gnu packages firmware))') > Backtrace: > In ice-9/boot-9.scm: > 222:29 19 (map1 (((gnu packages acl)) ((gnu packages admin)) ((gnu pac= kages assembly)) ((gnu packages attr)) ((gnu packages autotools)) ((gnu pac= kages backup)) ((gnu # #)) # =E2=80=A6)) ... > In unknown file: > 2 (primitive-load-path "gnu/packages/bootloaders" #) > In gnu/packages/bootloaders.scm: > 1061:31 1 (_) > In ice-9/boot-9.scm: > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: crust-pine64-plus: unbound variable > --8<---------------cut here---------------end--------------->8--- > > This is the dreaded =E2=80=9Ccircular top-level references=E2=80=9D case:= to load > firmware.scm, you need to (indirectly) load bootloaders.scm; but to load > bootloader.scm, you need to be able to look up =E2=80=98crust-pine64-plus= =E2=80=99, > which is then unbound. > > Fixed in 0ab46ef3f9719f03d9b191a16e5aa91619e95451 by introducing > promises. Thanks! > BTW, we should probably keep =E2=80=98make-u-boot-sunxi64-package=E2=80= =99 private, no? What is different about crust-firmware vs. the various arm-trusted-firmware packages, which have a similar relationship to u-boot? How... can I avoid this sort of issue in the future? It is at the very least non-obvious to humble little me... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLm+YwAKCRDcUY/If5cW quuaAQDAvwqXvFjiMrVfCfJCy87Qzvx0iUl5mdhiN1YFbd4BRAD/Q+GaKUQ+oSHb ID0ke+HjqN2lzKArmlkMNP1ncVCBiAE= =n5dF -----END PGP SIGNATURE----- --=-=-=--