From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 02 09:06:09 2022 Received: (at 47949) by debbugs.gnu.org; 2 Nov 2022 13:06:09 +0000 Received: from localhost ([127.0.0.1]:45146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRY-0003t7-Sc for submit@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:09 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:43932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRV-0003sF-EH for 47949@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:05 -0400 Received: by mail-wr1-f50.google.com with SMTP id g12so24433602wrs.10 for <47949@debbugs.gnu.org>; Wed, 02 Nov 2022 06:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Vzt3JiwmYVP+3AX9tbyI/ZO4y6YIMMiuHCZqW1pv/Is=; b=nKruw3jdK57eQWj9MkcctyOUZ1PIb9LcF2fLMSUs+cqJNA7RQrlw9sdJyizz+40Sw6 dHdE+jAciVfzxNhQHLMY1tjd5ObppWvIGyxX+RV0E24I+QSM85kyFJB8fOnZk2zautJa R1afctEWNKLBuvjJ7L9rS7hS0BCWbMVGNN3zCumlSlM/SzMEcTEd20RSpwNgoYtTIxzb tcsrgX+5e9gjej5I2u4eQGVHtGhpajzsRzx/gWpIYXDNhyG6pJsOPalGkaBUNqP3v+lj gMcF8EFdgGLEUmAwpYDEYDKbB/JvUhu/G2WtyrAWBRwtw3kuUlyw8jw4u0JmFhjUzi3S s57Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vzt3JiwmYVP+3AX9tbyI/ZO4y6YIMMiuHCZqW1pv/Is=; b=s9viMlg/o9ZxDj8dTIu1DJYUrfh3jyyiSqN/ovLKutYk4r8eQQ+SfBtzmqYmlmzxzv GMTMIUMaJjwbU+CubYsa6oRhBFynaMTJM7qDtNEtmyCPnrZN+KyHKrnbVsYOnD7QDyb4 ouITcqOUZ+US99XliNVgAwBFT+B2Gtg3rCw9m3N2COZowTtasAlspan+/VXM0dJD8qxt aGYeRSCVLeKe35bvZMS3fJ1z9qdUdnPjlMSsxzVjCuWxef4Yy4jcpnzqOydg8NwQS27L v/GZqp+uJPqK6JaVfK3Udd4z5SZyw8ACTtvfm0c40zite0016ZZlre7T95HfVbhRtP+R WFDA== X-Gm-Message-State: ACrzQf3bQQCeQlgARLqx4MMG7DKlGqZYWerQFEZHFQDgFY1MYsltPgp+ jN3rOy1nmeYZnCIcKSTtKsKGsLZcfIQ= X-Google-Smtp-Source: AMsMyM7fd5OBD4sVAU/YMp39Wd/O1edB8eKx8p2/00YQNaCmC+OuyHq/ztkN4dw67QYsdUIIrAeLbA== X-Received: by 2002:a5d:42c6:0:b0:235:1b3a:8d2e with SMTP id t6-20020a5d42c6000000b002351b3a8d2emr14746926wrr.689.1667394359791; Wed, 02 Nov 2022 06:05:59 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l32-20020a05600c1d2000b003c6b7f5567csm2981431wms.0.2022.11.02.06.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 06:05:59 -0700 (PDT) From: zimoun To: Vagrant Cascadian , Ludovic =?utf-8?Q?Court=C3=A8s?= , Roel Janssen Subject: Re: bug#47949: Failed to produce output path for guix-package-cache In-Reply-To: <87zgdfd7ee.fsf@contorta> 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> Date: Wed, 02 Nov 2022 12:02:41 +0100 Message-ID: <87iljxhb5a.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47949 Cc: 47949@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Vagrant, On ven., 28 oct. 2022 at 13:23, Vagrant Cascadian wrot= e: >> Oh yeah, that reminds me to add to the confusion, "guix time-machine >> --commit=3DSOMECOMMIT" worked fine, even where "SOMECOMMIT" didn't >> successfully work with guix pull. >> >> Maybe that's a clue pointing to the crufty .cache directories? > > Well, after removing ~/.cache/guix/checkouts/ I haven't had the problem > again, with several successful pulls. Well, =E2=80=9Cguix time-machine --commit=3D=E2=80=9D uses, --8<---------------cut here---------------start------------->8--- (define %default-channel-url ;; URL of the default 'guix' channel. "https://git.savannah.gnu.org/git/guix.git") (define %default-guix-channel (channel (name 'guix) (branch "master") (url %default-channel-url) (introduction %guix-channel-introduction))) (define %default-channels ;; Default list of channels. (list %default-guix-channel)) --8<---------------cut here---------------end--------------->8--- which is another directory checkout under ~/.cache/guix/checkouts. :-) > This suggests to me that guix should make sure to not use a dirty > checkout to prevent this in the future ... either exporting the guix > tree it's working with to a temporary location, or something like > running "git clean -dfx" before using the checkout... From my understanding, you have 3 similar checkouts of Guix; the default on= e: --8<---------------cut here---------------start------------->8--- $ cat ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7= apsnalwq/.git/config [core] bare =3D false repositoryformatversion =3D 0 filemode =3D true logallrefupdates =3D true [remote "origin"] url =3D https://git.savannah.gnu.org/git/guix.git fetch =3D +refs/heads/*:refs/remotes/origin/* [branch "master"] remote =3D origin merge =3D refs/heads/master --8<---------------cut here---------------end--------------->8--- and then 2 others, probably located at these hash names: --8<---------------cut here---------------start------------->8--- $ guix repl GNU Guile 3.0.8 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,use(guix git) scheme@(guix-user)> ,pp (map url-cache-directory (list "https://git.savannah.gnu.org/git/guix.git" "file:///home/vagrant/src/guix" "file:///home/vagrant/src/guix-master")) $1 =3D ( "/home/simon/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr2= 7shj7apsnalwq" "/home/simon/.cache/guix/checkouts/cbek2jy4zeoea2wj4xppwabceeayfzzuap6iw6u= k7kylh4hdolfa" "/home/simon/.cache/guix/checkouts/duxgcjge5pc2tzexf4qwjra3uzu3t4htsxojtxr= alegek3bqkisa" ) --8<---------------cut here---------------end--------------->8--- then you pulled, guix pull --url=3D/home/vagrant/src/guix --branch=3Dmaster and sometimes: guix pull --url=3D/home/vagrant/src/guix-master --branch=3Dmaster How clean are these 2 local repositories? I do not know if =E2=80=9Cgit clean -dfx=E2=80=9D would help because here t= he error is probably between the repositories src/guix and src/guix-master and Guix manages them under 2 unrelated directory checkouts. When you cleaned ~/.cache/guix/checkouts and pulled again, you created a new directory checkout. Based on which origin? Default? Or src/guix? Or src/guix-master? Cheers, simon