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 ms0.migadu.com with LMTPS id QINsB3Fc3GEMHgAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 17:18:57 +0100 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 yDjhBHFc3GFyIwEA9RJhRA (envelope-from ) for ; Mon, 10 Jan 2022 17:18:57 +0100 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 6644713A1D for ; Mon, 10 Jan 2022 17:18:56 +0100 (CET) Received: from localhost ([::1]:35446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6xNn-0001Qo-KF for larch@yhetil.org; Mon, 10 Jan 2022 11:18:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6xM1-0006oP-Bw for bug-guix@gnu.org; Mon, 10 Jan 2022 11:17:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6xLy-0007Xe-TR for bug-guix@gnu.org; Mon, 10 Jan 2022 11:17:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n6xLy-0002EZ-J7 for bug-guix@gnu.org; Mon, 10 Jan 2022 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53162: =?UTF-8?Q?=E2=80=99guix?= shell =?UTF-8?Q?ghc@8.4=E2=80=99?= downloads ghc@8.10 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Jan 2022 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53162 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53162@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16418313688503 (code B ref -1); Mon, 10 Jan 2022 16:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jan 2022 16:16:08 +0000 Received: from localhost ([127.0.0.1]:53135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6xL6-0002D4-H2 for submit@debbugs.gnu.org; Mon, 10 Jan 2022 11:16:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:57476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n6xL3-0002Cm-66 for submit@debbugs.gnu.org; Mon, 10 Jan 2022 11:16:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6xL3-0003z7-08 for bug-guix@gnu.org; Mon, 10 Jan 2022 11:16:05 -0500 Received: from [2a00:1450:4864:20::335] (port=50990 helo=mail-wm1-x335.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6xL1-0007Ru-3h for bug-guix@gnu.org; Mon, 10 Jan 2022 11:16:04 -0500 Received: by mail-wm1-x335.google.com with SMTP id w26so3255306wmi.0 for ; Mon, 10 Jan 2022 08:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=SDer7fClbDODezc2SSroJwvONm0cgb+xnu09RHnYBmw=; b=ck6oxWAh6CvdxdityqUg/M7MMoSPK6AYABj2PM0gQTq0OpYM8ZQJOTp9LCZ251sBTK nZvHU7IELKxp7zxe55sftTGGoilkBMItpfrrVfkficaq2sX37+FH9Sm3I386oTfQzIYr FKUwzK72JCMS+N/2bxKrJEKFWhICELZMrOb8XhPS/OldEcVMOhCT3GdUnBV3PZobnhXC r8Fxh+Wgc190mekX70ultcALpLaqUrzrtBzDRxf+iTkNNMWiAY/sJsktp6zWuMiDxJgu +NnCf0u32Te6xyfb2pC+fuKVH1w1OBj3Sh3OJHHUWM2wsoe8TYhtIaBRgVBbDku35x+f lilA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=SDer7fClbDODezc2SSroJwvONm0cgb+xnu09RHnYBmw=; b=Z2lT0PVB0v7OxIOiMR29PdXKSQKpIekH+6/KX2lIpKum45Irv9iYbAIAs+gzrmCUFx sIzDr61ZuxxnPVptmeJCYjU2FE2BD1q/3NavgXMWim+0rdOO9BpmjTRVKPYQGkMXkKSl ABOoPYVWbTEIl5KbQTlgv9SX++BqerJb5wC8R9MCB/WXsasGFYQKPIwuYbVc2Ro78rPD 1BCZW8M858hMZC1RiyQWq14AzXMDZrZU5U1CaGr3qR5c4777qCx+3QUzZi84mfQ5bToZ gqBm//4GW3kReSlOV0zwPnynzmIelmISeXqbAd0Nv2s+Q3BtaHwr6uBoIU/JyNxK83+2 /aDQ== X-Gm-Message-State: AOAM533kMBS6O0JKd3jOFFGp9yLKLVvlBqhrof3Y13M9U3IDual/uMa2 +MfjBLdjVs9s0RZZ2P1NuXf8ahB/Yqc= X-Google-Smtp-Source: ABdhPJy2WiMzsm464qIt8U6WjDllnOWQL72n0d01Nm2e4P/HC67F07x892w1XczZnRQ3RXzpzjh7tw== X-Received: by 2002:a7b:cbd4:: with SMTP id n20mr22516151wmi.125.1641831361391; Mon, 10 Jan 2022 08:16:01 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id v1sm8340949wru.45.2022.01.10.08.15.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 08:15:59 -0800 (PST) From: zimoun Date: Mon, 10 Jan 2022 17:15:55 +0100 Message-ID: <87zgo3woqs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::335 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641831536; 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=SDer7fClbDODezc2SSroJwvONm0cgb+xnu09RHnYBmw=; b=B61pWGe777egq/g0w9iLeIllamqZew4tqGybNvOq2RlLnl5678jzjgzP7h0WUK66wLFsYb 8M9X6PvhOucFg+Zv3p1sHkefETN6dr1Tk1BYSSrpgnVqB1NYefoMyH1QULlpgQTvDkj0J6 bMuiEe9u++3KP3XF4jyLjvb1z7Vla3UUOpyx/1IfjWJVtcEYpV7AezzEu1g8XYLxZuM6O+ ug07YcEcS8JzYAYOUxS2aNxe1mynjt0y4RBo/tRuH/kaE3temM7dYwBa34rMJbwXytf1Zj U70ZUJ5DypC5IIqo9G2dXnVCiepyziP8KP0iZ1tkmD7DVMf47ESvsYK8i8ROFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641831536; a=rsa-sha256; cv=none; b=kyn+LZ6XiJEEcK5damhv3pPSc1hkNDOKqlobLU2VQxHFSBV3TUKzkBusmPXEgThTqzhtJI 0ImJX4eppukE0UWl4b1S0xDZa4aF+ghsUVLoer7eX7Wto++zPW7+pwlFfSOPpE08p5SwY2 bQXSr/CNwmYxQmg8/33zEiK8gSwca5llk9obesoIi+MHTS5+qhaTc9zxt9baM+8uQgN3a6 Grq0qJZeQbAAdR4yAdRgfYW9C7S9/zfPzn6cZktuoWp6DzGyrjel7LhbImwIPotsps4AwJ Hxo3hYpGxUV2DeQLMYTEkr29Ps5WwALu0Sq8fsPc7QqIEFRJrN4Na1hx2EPBkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ck6oxWAh; 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: -2.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ck6oxWAh; 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-Queue-Id: 6644713A1D X-Spam-Score: -2.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: CiffxK3XtnMG Hi, Using 3dcc74d, I get an unexpected behaviour. First, all expected: --8<---------------cut here---------------start------------->8--- $ guix build ghc@8.10 -n 122,4 MB would be downloaded: /gnu/store/p8rk5cp1p4b2zky4zj1shfqb11qb5nmk-ghc-8.10.7-doc /gnu/store/i92h6i23rnvrvn7xva6w9x7gjkljmfws-ghc-8.10.7 $ guix build ghc@8.4 -n /gnu/store/5gp4k7ly1smhkx95rhq21nvxmyg687bv-ghc-8.4.4-doc /gnu/store/wxfr2naibx3qpy4w243a7ga98mchf6g3-ghc-8.4.4 --8<---------------cut here---------------end--------------->8--- I have ghc@8.4 in my local store, but not ghc@8.10. In addition, no path between ghc@8.4 and ghc@8.10, --8<---------------cut here---------------start------------->8--- $ guix graph --path ghc@8.4 ghc@8.10 guix graph: error: no path from 'ghc@8.4.4' to 'ghc@8.10.7' --8<---------------cut here---------------end--------------->8--- Even, ghc@8.4 is used in the bootstrap chain of ghc@8.10, --8<---------------cut here---------------start------------->8--- $ guix graph --path ghc@8.10 ghc@8.4 ghc@8.10.7 ghc@8.8.4 ghc@8.6.5 ghc@8.4.4 --8<---------------cut here---------------end--------------->8--- However, tandam! --8<---------------cut here---------------start------------->8--- $ guix shell -C ghc@8.4 The following derivation will be built: /gnu/store/rx0spryh76az0ll6ddy7f7hy8ykhglnh-profile.drv 117,7 MB will be downloaded ghc-8.10.7 112.3MiB = 3.3MiB/s 00:01 [ = ] 1.9% C-c C-c --8<---------------cut here---------------end--------------->8--- >From the profile.drv, the culprit is identified: /gnu/store/=E2=80=A6-ghc-package-cache.drv, --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/mcmwdg13f5rc9vdklgbmsn6h84bgdp3q-ghc-package-cache",""= ,"")] ,[("/gnu/store/8m7vppxy4l824yk4036iisk2zy7qzgcx-ghc-8.4.4.drv",["out"]) ,("/gnu/store/bc5cm1g1b884nvgiysq8x0i0wxplkqhl-ghc-8.10.7.drv",["out"]) ,("/gnu/store/m0nbbk3vgl637ibrz7z72r5v0dkswpi2-guile-3.0.7.drv",["out"]) ,("/gnu/store/qcksap17gs36gpnjj3by4d7r7yxfq405-module-import-compiled.dr= v",["out"])] ,["/gnu/store/45dpf18lzvzs6sbmihifw6ch9p6y20yr-ghc-package-cache-builder",= "/gnu/store/4j2xcm5s0hvmpjm8fdbmb02ipvr6wyxn-module-import"] ,"x86_64-linux","/gnu/store/fidl08nms5v63lkqv627zibxpd85zxqb-guile-3.0.7/b= in/guile",["--no-auto-compile","-L","/gnu/store/4j2xcm5s0hvmpjm8fdbmb02ipvr= 6wyxn-module-import","-C","/gnu/store/n7687sw6nkrhpjkdgysgz7baihzipgl0-modu= le-import-compiled","/gnu/store/45dpf18lzvzs6sbmihifw6ch9p6y20yr-ghc-packag= e-cache-builder"] ,[("allowSubstitutes","0") ,("guix properties","((type . profile-hook) (hook . ghc-package-cache))") ,("out","/gnu/store/mcmwdg13f5rc9vdklgbmsn6h84bgdp3q-ghc-package-cache") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- >From my perspective, it is a bug from (guix profiles) =E2=80=99ghc-package-cache-file=E2=80=99 which always includes =E2=80=99ghc= =E2=80=99, currently pointing to ghc@8.10. --8<---------------cut here---------------start------------->8--- (define ghc ;lazy reference (module-ref (resolve-interface '(gnu packages haskell)) 'ghc)) --8<---------------cut here---------------end--------------->8--- Well, the fix is not jumping to my eyes. If someone has an idea to conditionally remove this reference to =E2=80=99ghc=E2=80=99? Cheers, simon