From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0OPaG0RzYmOgqwAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 14:40:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QFy8GkRzYmMxkAAAG6o9tA (envelope-from ) for ; Wed, 02 Nov 2022 14:40:20 +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 1CC8635E80 for ; Wed, 2 Nov 2022 14:40:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqDSf-0003tg-UI; Wed, 02 Nov 2022 09:07:17 -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 1oqDST-0003NO-5w for bug-guix@gnu.org; Wed, 02 Nov 2022 09:07: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 1oqDSQ-0005hA-L9 for bug-guix@gnu.org; Wed, 02 Nov 2022 09:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqDSQ-0003vC-0H for bug-guix@gnu.org; Wed, 02 Nov 2022 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47949: Failed to produce output path for guix-package-cache Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Nov 2022 13:07: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: Vagrant Cascadian , 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.166739436914955 (code B ref 47949); Wed, 02 Nov 2022 13:07:01 +0000 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 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-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=1667396420; 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: content-transfer-encoding:content-transfer-encoding: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=Vzt3JiwmYVP+3AX9tbyI/ZO4y6YIMMiuHCZqW1pv/Is=; b=rkEXCjxueTDg6Hn2oEsiLN6vC5uY6pi/Eqf6ahcigRektniLxrF9SubYVd0XjznmygRA0G SAaRMy2kDjOTVU9v0di8rYoftHqMx5+B2pF6d8U7jeI1hIHTKnlYigsj0XcIevx1YCyqpZ 0ZYrbQctAKmfTPtdgWk18NBbN01zeBdOSwhgQ4xBSCYytLOSG4dJqTFF48ZK19CJCn45MR sFjRHGmACU0n6cSpBmaSTk/CX/lgwKYnpVsBrZYRiVZOw/3YgYEWtCAqjF03mq22iICPUI DkwWbB2FP1PZP6ewt6x5buPvJIRc+ezBtbqDOez9O3mBqdBu4y3oRl18ocA6mw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667396420; a=rsa-sha256; cv=none; b=J/VSP74e9dX++GFYLw+papfyRbU2RvOEUq9+ufNyW9/u/Xbl3/KuBs3WhjqgpgxjG45FKB Q3DdRGOdaXfxSzeT329qwZNFVP9SEIlHd5PIZ/C62t9tCGQyj9wg9VSp9gMr16G+xbBvGW Pyjvs8E3rkdSLDH86HMFRTzOCDMTt6P1PSRG5SCFZmC42O3yi8Mdps0sRUskRD+kAO5P3H hvb/Hx7OsZRdc3SRbIylo90ZUhUqMCGejdGv4YEDXTjX9FWPElEsqClfKjSnMhK8apr49D HD4bWotPkjTHCPUpxY6qYvGukuoBmIKLPVjL1TkhYphth2U85XrXu9iPccVBTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nKruw3jd; 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: 6.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nKruw3jd; 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: 1CC8635E80 X-Spam-Score: 6.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: bY2i2KjXaK8W 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