From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ENnOMwK+t2V+wwAAe85BDQ:P1 (envelope-from ) for ; Mon, 29 Jan 2024 16:02:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ENnOMwK+t2V+wwAAe85BDQ (envelope-from ) for ; Mon, 29 Jan 2024 16:02:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=GIzTGFDM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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=1706540546; 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=lNRMxvjIKM/nU1IWm029P66xDGHimyX8BOVnA2iippY=; b=bs96twWAgyKLgEVFIdWmy+4Z3soRI+iAc+SGmLb17tPM8E0UtaXnjpQALaSUDIQ72DMaF8 GnhmEVegojbjdrKGHx6ph00C6nPmrExS31YUkTe+hYjlEoEiZbAvGd9IKsybe3xhC6BWX2 GXouzn1NJ1WD39Qhd+puHMKRL/De1cJceH5Ev4YqFwO97azLB290pg2KdFX/6S463SLpL/ ZfbwaTGGc28PPzDoAuInhidCeA7J1rZfzLITYfkPa/gGBUuajd4E+2FPcsr+xFX7fmt+Q8 QShmM8ie84zVNt/3ICpDXNrfa7mL3UcChRHZCnjuKhDRpe1zEcR7dsnZojgMww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=GIzTGFDM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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-Seal: i=1; s=key1; d=yhetil.org; t=1706540546; a=rsa-sha256; cv=none; b=XNy7t5w4ZF9sovYs+IUAJXe5YLpYTpq1Vwq33ejGtspZHkrHKzj0WSDX5qAovDtUxM/Ort vDwtGyBLlWzHD+bKaMs5nJc+UzSq1wXDpWY3zAevwp1xUfz0FYu9fKZLX0ho57I1VrTGdV G8elEeRxgM8tzjF02nV8rL8FDmPEYvT1qk9SEQ7+YCEigbFACoauKnkzRa8zIVulDFGbrC ftpHkdukdNfvMEBiGmgACJvCT9Kwga0QrkvsQB9UPcOfUN/Kwbo49NdYyQ0mJIH/KDn5S0 vST9m5n6H6NpFwHTZC36BYXJHfw3BVarLBN2xx8iRgorBcX0zd4DL9TWLArvAg== 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 6234C16815 for ; Mon, 29 Jan 2024 16:02:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUT9A-0008Gf-JY; Mon, 29 Jan 2024 10:02:04 -0500 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 1rUT92-0008G6-5X for bug-guix@gnu.org; Mon, 29 Jan 2024 10:01:56 -0500 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 1rUT90-0003fB-Nh for bug-guix@gnu.org; Mon, 29 Jan 2024 10:01:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUT98-00018W-LP for bug-guix@gnu.org; Mon, 29 Jan 2024 10:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68797: Channel dependencies should be propagated Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Jan 2024 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68797 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68797@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17065404974332 (code B ref -1); Mon, 29 Jan 2024 15:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2024 15:01:37 +0000 Received: from localhost ([127.0.0.1]:33216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUT8j-00017o-2k for submit@debbugs.gnu.org; Mon, 29 Jan 2024 10:01:37 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUT8h-00017a-Mu for submit@debbugs.gnu.org; Mon, 29 Jan 2024 10:01:36 -0500 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 1rUT8T-00085O-Ud for bug-guix@gnu.org; Mon, 29 Jan 2024 10:01:21 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUT8R-0003WE-Oy for bug-guix@gnu.org; Mon, 29 Jan 2024 10:01:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=lNRMxvjIKM/nU1IWm029P66xDGHimyX8BOVnA2iippY=; b=GIzTGFDMSviCAj/n22qoFRa7feCwFLnVuQMVCrrmGO+FRY7Ge7goGBsM Sn7QXuppmrh82sw1gj5ZGVGTJx/8AurDEtLtxRQofrySXAC0q3zgjGSyD AtfCynacz5xiU0Y/9wm1SgTiAr4mxGveFdaD90/dvByaRzo/avsMKAHmh o=; X-IronPort-AV: E=Sophos;i="6.05,227,1701126000"; d="scan'208";a="149201578" Received: from unknown (HELO ribbon) ([193.50.110.61]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 16:01:14 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 10 =?UTF-8?Q?Pluvi=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la =?UTF-8?Q?Cogn=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 29 Jan 2024 16:01:14 +0100 Message-ID: <878r48p4jp.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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 X-Migadu-Spam-Score: 3.64 X-Spam-Score: 3.64 X-Migadu-Queue-Id: 6234C16815 X-Migadu-Scanner: mx12.migadu.com X-TUID: +wpW+O6+jDhF Hello! With channels flourishing, we found a bug that=E2=80=99s always been there. When channel C depends on B, which depends on A, in general you need both A and B to be present in the build environment of C (the derivation that compiles C when you run =E2=80=98pull=E2=80=99 or =E2=80=98time-machin= e=E2=80=99) because potentially B is going to load modules from A. However, currently only B is present in C=E2=80=99s environment. To illustrate that, the script below creates three such channels. Right now it fails like this: --8<---------------cut here---------------start------------->8--- building /gnu/store/2pnfkl9l6lsndsgk4qg7rq4wjh2iisj0-my-channel-c.drv... |builder for `/gnu/store/2pnfkl9l6lsndsgk4qg7rq4wjh2iisj0-my-channel-c.drv'= failed to produce output path `/gnu/store/lix9sz9g2x2ixr3dsyrbnxhxfcqn41l7= -my-channel-c' build of /gnu/store/2pnfkl9l6lsndsgk4qg7rq4wjh2iisj0-my-channel-c.drv failed View build log at '/var/log/guix/drvs/2p/nfkl9l6lsndsgk4qg7rq4wjh2iisj0-my-= channel-c.drv.gz'. cannot build derivation `/gnu/store/alh2yy1258206zki24z9nzi1zwrggd4d-profil= e.drv': 1 dependencies couldn't be built guix time-machine: error: build of `/gnu/store/alh2yy1258206zki24z9nzi1zwrg= gd4d-profile.drv' failed $ zcat /var/log/guix/drvs/2p/nfkl9l6lsndsgk4qg7rq4wjh2iisj0-my-channel-c.dr= v.gz (repl-version 0 1 1) (exception misc-error (value #f) (value "no code for module ~S") (value ((m= y-channel-a))) (value #f)) --8<---------------cut here---------------end--------------->8--- Here=E2=80=99s the script: --8<---------------cut here---------------start------------->8--- #!/bin/sh set -ex mkdir a echo '(define-module (my-channel-a))' > a/my-channel-a.scm (cd a; git init; git add .; git commit -m init) mkdir b cat > b/my-channel-b.scm < b/.guix-channel < c/my-channel-c.scm < c/.guix-channel < "channels.scm" <8--- Ludo=E2=80=99.