From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8MEdDW3VU2SMFQEASxT56A (envelope-from ) for ; Thu, 04 May 2023 17:55:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oCTtDG3VU2RcBgEA9RJhRA (envelope-from ) for ; Thu, 04 May 2023 17:55:25 +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 AEFC81EA0 for ; Thu, 4 May 2023 17:55:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pubIV-0008Bd-0P; Thu, 04 May 2023 11:55:11 -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 1pubGQ-00080j-TS for bug-guix@gnu.org; Thu, 04 May 2023 11:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pubGQ-0007E3-Iz for bug-guix@gnu.org; Thu, 04 May 2023 11:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pubGQ-0005lO-Ab for bug-guix@gnu.org; Thu, 04 May 2023 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63276: Allow channels to depend on a past Guix revision / private dependencies Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 15:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63276 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63276@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.168321553422078 (code B ref -1); Thu, 04 May 2023 15:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2023 15:52:14 +0000 Received: from localhost ([127.0.0.1]:51870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pubFd-0005k1-Ie for submit@debbugs.gnu.org; Thu, 04 May 2023 11:52:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pubFZ-0005jr-Vq for submit@debbugs.gnu.org; Thu, 04 May 2023 11:52:12 -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 1pubFZ-0007rA-Kt for bug-guix@gnu.org; Thu, 04 May 2023 11:52:09 -0400 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pubFX-00079r-M5 for bug-guix@gnu.org; Thu, 04 May 2023 11:52:09 -0400 Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-61b5a6865dfso5481166d6.3 for ; Thu, 04 May 2023 08:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683215526; x=1685807526; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=vafMsCKudyp06p2WsKz2rRQw+r7auLhwD8GrTEPFwi0=; b=eLbLNe+nP13oeW2RGpfJGUuXBibWIJEv4o7OTnHCTGhYePygQaZQR5N0axZuw8YJ2n esOt6jupuq3Py6EQCBhrsLl74ZtGDuQwASJZHheBZJ90isFeDDphoBHqdXToHw5d2W9K iAXZHnvlVEsrsgQgrl8BUNP23STG329ulaghdkw60Mqd+fJENlO4pp/44XoSkDCUp9jO F8WNHcqpaCsWGRUEoJA7VXeV5CuyTyF/L9EEcXxx7Bi3EadyEmKWdrw6PhzjCjNsA6Yf ltHBUkOnA3b7xiGCclJtVRuqWQ6hsqSfFWykdOzqIwvlVXlpasktsgE0UttEHaXdUjYJ Iw/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683215526; x=1685807526; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vafMsCKudyp06p2WsKz2rRQw+r7auLhwD8GrTEPFwi0=; b=ZAISs6tJ+thKUHLSuBk5KJznWV08OiF1Sn9JXuNZe8O4jgv8yhzrHdOSNwQkEhvlSJ rrM4qC9JNOYWD/fVF4bFuujQCblFVewl28fS+cfDrgQ3o3e66hnAkNtXwEdKgpfrszZ3 5zt6ji3vLSBRKigtSROvt1sv1ypzfSWRSkNk/GfR6QZNOwpdvXqeaV0LihryZt1ul+q2 b5GnfOlK1XBVH+HCAXIzDiUsQ2fFbny/clGSX8EtA2vI+QtxPpmW4dcbHOGE4jGh18uK QdLPFNhOXkmbjFR4SaRnasaeDy36Ug5e2oYPM/xqRqYyhkP/vSyYnKw59xagRnoVOjBn mK/g== X-Gm-Message-State: AC+VfDwWhmr9kWSu+I0l25061WsQQ4Df6bfjF7Z2bPbg01iaN+k9e5pe hjVThUNLy7XSUB8SEw7DvPF7FN9ZhTI= X-Google-Smtp-Source: ACHHUZ6M5T14p3NQ4mGaQKR1x7augI2gJYxakmc0Dbu4/o1Cn0qfU/2+YMiD86fUpXgpZM9NJzybAw== X-Received: by 2002:ad4:5baa:0:b0:5f0:23be:a301 with SMTP id 10-20020ad45baa000000b005f023bea301mr13482417qvq.5.1683215526319; Thu, 04 May 2023 08:52:06 -0700 (PDT) Received: from hurd (dsl-151-193.b2b2c.ca. [66.158.151.193]) by smtp.gmail.com with ESMTPSA id f8-20020a0cf3c8000000b005f7ff6b1a67sm493627qvm.91.2023.05.04.08.52.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 08:52:05 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 04 May 2023 11:52:04 -0400 Message-ID: <87354c5c2j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683215724; a=rsa-sha256; cv=none; b=Wncb+RmMQSsTMqDbeJhBlch84vGpIL5pC2AhQfar0RMyd+cztN2tMZuCJ9ikpnNJcw5bru dhKeVY4yUTN9HSXxaiWj9vjwSQU/JGMW2O+Uv5OeqBixAQzAU4xF2OvJ7erDJ3z4y/utRQ wBB/zvSXqajiIeBAb4p81qMQpWD8n713qC5uf9vylr/v6nFESj4mPuabdwvGlaECWIkjwb xUUvK46u6TmMPW9KtMysHPuQy3UwwAakSBMppWAdmPTEmze7QLV8D8HFtuM9hcuQbx2RpX xgs/6LzkpJ5MVAZpdJrw9TCyx6K7my/tovYiCHg38rjRk3za9FPkTcK6neSX5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=eLbLNe+n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683215724; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vafMsCKudyp06p2WsKz2rRQw+r7auLhwD8GrTEPFwi0=; b=NR3JnWU4Yc5qDlvw/BBuGncZMR0Z0F50vtyOhV1TGSy551Z9V8pT0Sm3qZAwNU1Q57EpzW BZ5FFP3KwPpqpyvcEaUY4Rojr5hSbRheT4qnKrw7z0Md33vjIMiq3VN6aorHqxIhkHPyW/ 4/lPqvdRCRaedJz/T28lUHO5nBaIcn545j7sVB+FRDFeNt4R9z4SkDqZhK9qvgnS0XVkUW arIVr2o+3jmUG3qI1shiTxRrfoeO3nsuo8yyQBzWLUu9Pm0UxslIBlSJQrvYJa4J5AvO7C qdI+rfVP4AUWw3HNbkTGn/pdM8Z2Ha/xEcd7s2BVXhqGftQpphyMDlWB7NNQuw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=eLbLNe+n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 7.09 X-Spam-Score: 7.09 X-Migadu-Queue-Id: AEFC81EA0 X-TUID: XE7g0GVsfRZ7 Hi, Recently (after the last core-updates merge), I've had the following failure on 'guix pull', caused by my 'sfl-guix-channel' channel [0]: [0] https://gitlab.com/Apteryks/sfl-guix-channel --8<---------------cut here---------------start------------->8--- $ guix pull [...] \builder for `/gnu/store/zliavnqgx3jxp8yc44nn1y34b3bjvlcw-guix-package-cach= e.drv' failed to produce output path `/gnu/store/0m2c2zrphqpmfhjb60k85yhfq7= 04ay5r-guix-package-cache' la compilation de /gnu/store/zliavnqgx3jxp8yc44nn1y34b3bjvlcw-guix-package-= cache.drv a =C3=A9chou=C3=A9 conseil : This usually indicates a bug in one of the channels you are pulli= ng from, or some incompatibility among them. You can check the build log and report the issue to the channe= l developers. The channels you are pulling from are: guix sfl-packages. Vous trouverez le journal de compilation dans =C2=AB /var/log/guix/drvs/zl/= iavnqgx3jxp8yc44nn1y34b3bjvlcw-guix-package-cache.drv =C2=BB. cannot build derivation `/gnu/store/v5rszp4m1vv7zf20vrb1sghi4528d40j-profil= e.drv': 1 dependencies couldn't be built guix pull: erreur : build of `/gnu/store/v5rszp4m1vv7zf20vrb1sghi4528d40j-p= rofile.drv' failed $ tail /var/log/guix/drvs/zl/iavnqgx3jxp8yc44nn1y34b3bjvlcw-guix-package-ca= che.drv 1694:48 4 (thunk) In sfl/packages/sflvault.scm: 75:29 3 (propagated-inputs #) In ice-9/boot-9.scm: 1685:16 2 (raise-exception _ #:continuable? _) 1780:13 1 (_ #<&compound-exception components: (#<&undefined-vari?>) In unknown file: 0 (backtrace #) (exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (python-pycrypto)) (value #f)) --8<---------------cut here---------------end--------------->8--- This is caused by the use of the 'python-pycrypto' package in the channel, removed in commit a55e18f17cc82a01c11d03bdfb693c62cb068d5c. It seems a valid use case to have a channel that depends on an old Guix version. Should this be supported? If I could for example use the following channel dependency file at the level of the channel in a .guix-channel, to depend on an older Guix revision: --8<---------------cut here---------------start------------->8--- (channel (version 0) (dependencies (channel (inherit %default-guix-channel) (commit "9ed65e6af77893b658a7159b091b5002892c2f95")))) --8<---------------cut here---------------end--------------->8--- And have this used by the channel *privately*, it seems it'd solve the problem, right? I tried 'guix pull' from the channel using the following ~/.config/guix/channels.scm file with the above .guix-channel file installed to the ~/src/sfl-guix-channel checkout: --8<---------------cut here---------------start------------->8--- (cons (channel (name 'sfl-packages) ;; (url "https://gitlab.com/Apteryks/sfl-guix-channel") (url "file:///home/maxim/src/sfl-guix-channel")) %default-channels) --8<---------------cut here---------------end--------------->8--- But I got: --8<---------------cut here---------------start------------->8--- $ guix pull Mise =C3=A0 jour du canal =C2=AB sfl-packages =C2=BB depuis le d=C3=A9p=C3= =B4t Git =C2=AB file:///home/maxim/src/sfl-guix-channel =C2=BB... Backtrace: 18 (primitive-load "/home/maxim/.config/guix/current/bin/g=E2=80= =A6") In guix/ui.scm: 2300:7 17 (run-guix . _) 2263:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) 1747:15 14 (with-exception-handler # =E2=80=A6) 1752:10 13 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 659:37 12 (thunk) In guix/status.scm: 839:4 11 (call-with-status-report _ _) In guix/store.scm: 1321:3 10 (_) 1298:8 9 (call-with-build-handler # =E2=80=A6) In guix/scripts/pull.scm: 862:26 8 (_) In guix/channels.scm: 528:7 7 (loop _ _) In guix/combinators.scm: 48:26 6 (fold2 # =E2=80=A6) In guix/channels.scm: 560:37 5 (_ #< name: sfl-packages url: "file:///home/m=E2=80= =A6> =E2=80=A6) 528:7 4 (loop _ _) In guix/combinators.scm: 48:26 3 (fold2 # =E2=80=A6) In guix/channels.scm: 534:29 2 (_ #f () ()) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting st= ruct): #f --8<---------------cut here---------------end--------------->8--- As a workaround, I can define a 'python-pycryto*' in the channel itself, although that's kind of silly because it can only be used with a Guix inferior pegged to commit 9ed65e6af77893b658a7159b091b5002892c2f95, which does contain 'python-pycryto'. Thoughts? --=20 Thanks, Maxim