From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EH9IN2cKZGOFEAAAbAwnHQ (envelope-from ) for ; Thu, 03 Nov 2022 19:37:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IAckN2cKZGPB8wAAauVa8A (envelope-from ) for ; Thu, 03 Nov 2022 19:37:27 +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 A9DE6245B3 for ; Thu, 3 Nov 2022 19:37:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqf5V-0007C6-A5; Thu, 03 Nov 2022 14:37:14 -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 1oqf5N-0006yI-CS for bug-guix@gnu.org; Thu, 03 Nov 2022 14:37:06 -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 1oqf5K-0005jz-9V for bug-guix@gnu.org; Thu, 03 Nov 2022 14:37:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqf5J-0003Yl-V4 for bug-guix@gnu.org; Thu, 03 Nov 2022 14:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47949: Failed to produce output path for guix-package-cache Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Nov 2022 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47949 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Roel Janssen Cc: 47949@debbugs.gnu.org Received: via spool by 47949-submit@debbugs.gnu.org id=B47949.166750057013613 (code B ref 47949); Thu, 03 Nov 2022 18:37:01 +0000 Received: (at 47949) by debbugs.gnu.org; 3 Nov 2022 18:36:10 +0000 Received: from localhost ([127.0.0.1]:50645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqf4U-0003XU-AM for submit@debbugs.gnu.org; Thu, 03 Nov 2022 14:36:10 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:49118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqf4R-0003XD-S4 for 47949@debbugs.gnu.org; Thu, 03 Nov 2022 14:36:09 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D7EED1AA68; Thu, 3 Nov 2022 11:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1667500560; bh=Iu/Mehp7jEJATXR5Y4oiZcHbP6w84i+JHE42LMyWM8s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NC4OGkYpFWCA/2QxU8c4G/PRvMYnfDjvqueU/z2EClqdwHCC++pnB0a5EtKc4atch FY2wsBNTY+53MBoPPXEpSV+K2bzpRc9dVMuXTWWUyU42xmv1p1ezhDpc8zRk+k5Ke2 F31ZsCk4yQ4B+h4aYbxvaXZlURuiFnyVyLYfrUa2WKP8iAncAEKKttKfR9Dt2MwpxH g17QNDCdTLfkP661ckGUYHHTfuIYwom1v+Cx80axMmNdc5qf0whD3RVJpI/rLqiyqg E0kU0BfAgUIomQ/HABSQkxhxZZfYqrPIZrVy7FsNqe35AC2xwWTC58p46StAOdy6Hf mNtd4GXgPb1OA== From: Vagrant Cascadian In-Reply-To: <861qqke84q.fsf@gmail.com> References: <86b58d34-b9ae-b4bb-f64c-9250e2c109cd@gnu.org> <87h7jqozsv.fsf@gnu.org> <26aef3de604e17d9199edff5f4b6eff170df8a1c.camel@gnu.org> <87zgxhmslv.fsf@gnu.org> <87fsfbznrk.fsf@contorta> <86fsfb0zvj.fsf@gmail.com> <87eduule00.fsf@contorta> <86o7tybbmq.fsf@gmail.com> <878rl2kw0l.fsf@contorta> <87zgdfd7ee.fsf@contorta> <87iljxhb5a.fsf@gmail.com> <87sfj1ci97.fsf@contorta> <861qqke84q.fsf@gmail.com> Date: Thu, 03 Nov 2022 11:35:33 -0700 Message-ID: <87edujevii.fsf@contorta> 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: , Sender: "bug-Guix" Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org 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=1667500647; 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=7uveeoY31IPAgsorsiO8H4qF7vc/zrEELSQvc2DjfUg=; b=jWhZqLxsnrJPVPZ57elTpaFb5VV3F0HAyJwolpFwr5iMM3Nyzf1wXTLx52PNRREhGqAkru FoEHNpFfc3KvhxJY223IjAH6Jj5q3Rmh3eq0XvJS9GTdGIYW2srx8LNKHLGUG63F7TL3CR Ge4dg1x0bp01W+ibi4SSuDezaeljIE/gox0QZ7Ppq8lYUm59kP1Hhe0cWTpBHQjDraWWTB srZGYDxe47j1Uv96ywBipP1vMqwfniNY9pE+9zi0iqAtSowj0Slv/DWpqXUYyJqwJ4iAww GEFVAz6IhyuNhMtohJe48zuWwyq//lAg3DxsFxUX6NfjYrYNSbAnpRT65mrskQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667500647; a=rsa-sha256; cv=none; b=nkOtx2hb4+OelAwlzynl+/d8uHvZeujvc56M6EGcY9UmtXMuW6vRYmBckcFsK7KB5Rd6R/ pz46FB9dK0+rIBwe/rw5TvZXNdOpFimeGSx5Ti9ZoYxE1B9gh1U6K747YXWPGa/W+Uup1C bPpDincRhUomtg5666eqUkFrMZIo3A4ym/VNH7mQvrCY3ADdsAEyaHxBN57vitsjzefZ2w agVvpkwdsnKwGHrQxuyt14hQNEv15XcpECJzsuemKUjrT4/Opyqb8hXzc2W+/+Lg0NyhdU eC4wyJ92cynOScLEWr/M02rXiPlTPU4IJgAQb2I/WPeRH0p8vZRz9wV53EX9tg== 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=NC4OGkYp; dmarc=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: 1.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=NC4OGkYp; dmarc=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: A9DE6245B3 X-Spam-Score: 1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: MFQHUlUaXI5D --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-11-03, zimoun wrote: > On Wed, 02 Nov 2022 at 11:40, Vagrant Cascadian wrot= e: >>> I do not know if =E2=80=9Cgit clean -dfx=E2=80=9D would help because he= re the error is >>> probably between the repositories src/guix and src/guix-master and Guix >>> manages them under 2 unrelated directory checkouts. >> >> I had the impression that it uses git to copy the branches (rather than >> cp -r or something), otherwise the --branch=3Dmaster argument would be >> meaningless (e.g. --branch=3Dmaster does not mean whatever happens to be >> in the working directory), so I would assume the state of the local >> working directory wouldn't matter, only what's in the specified branch >> as git sees it. > > From my understanding, this > > guix pull --url=3D/home/vagrant/src/guix --branch=3Dmaster > > creates one directory under ~/.cache/guix/checkouts/ and then this, > > guix pull --url=3D/home/vagrant/src/guix-master --branch=3Dmaster > > creates another directory under ~/.cache/guix/checkouts/ and these both > directory does not have the same name because their url is different. Yes, this seems consistent with my understanding too. I should also add that src/guix and src/guix-master are using the same git repository, src/guix-master is just another worktree. > IIUC, you were at generation 139 (using a clone of > /home/vagrant/src/guix living under say > ~/.cache/guix/checkouts/maboosgggz6g6va54rikfxrsdsxhe363jri7g5dhcqb57odwk= laa) > > --8<---------------cut here---------------start------------->8--- > # First version where I noticed failures: > Generation 139 Oct 22 2022 13:07:08 > guix bb2701b > repository URL: /home/vagrant/src/guix > branch: master > commit: bb2701b9111a3d82a82ceaaf2b22b51ecd8ac21f > > # Failed to pull from 139, successfully pulled from 138: > Generation 140 Oct 24 2022 13:19:21 > guix 8663be6 > repository URL: /home/vagrant/src/guix-master > branch: master > commit: 8663be6da7f13a8eeea71dc1f493f7adc5b7672a > --8<---------------cut here---------------end--------------->8--- > > and then you had difficulties, but note that =E2=80=9Cguix pull=E2=80=9D = generating 140 > created another clone from /home/vagrant/src/guix-master living under > ~/.cache/guix/checkouts/ie7tn3i564wpt5i2dqqm7ixzqfxwpp2ns6rqkyqn4z55d4kqu= juq. > > Generation 140 did not updated the checkout used by generation 139. > > Somehow, the state of > ~/.cache/guix/checkouts/maboosgggz6g6va54rikfxrsdsxhe363jri7g5dhcqb57odwk= laa > and the state of > ~/.cache/guix/checkouts/ie7tn3i564wpt5i2dqqm7ixzqfxwpp2ns6rqkyqn4z55d4kqu= juq > require some compatibility, no? Well, with the same inputs, they ought to produce the same outputs... :) > Well, I have lost the topic of the initial bug report. :-) While I think somewhat of a digression, it explained the confusing situation where "guix pull" appeared to behave differently (as I was calling it with diffrent --url), as one of the ~/.cache/guix/checkouts/ was dirty and that mattered (as there were old removed files present in the tree) ... which I suspect is the crux of the bug report, though I don't know with absolutely certainty. I'm guessing one could dirty the tree I'm guessing reverting: edac21bfc78ffea85f4dac7206e5e7cd621bba19 gnu: Remove wicd. Something like this, maybe? cd ~/.cache/guix/checkouts/SOMECHECKOUT git revert edac21bfc78ffea85f4dac7206e5e7cd621bba19 git reset origin/master cd ~ guix pull ... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY2QJ9gAKCRDcUY/If5cW qvDlAQCw7FyC9BPRJOEZVH3E80TZKIMk7ddLHROa+uMKJNG7ogD2MsL3dtyiIbnR gVdhfEITrLfLJa3QY8yUZeI1z1lXCw== =ckWT -----END PGP SIGNATURE----- --=-=-=--