From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id vYwgDed8tmHzgQAAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 23:51:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iEQwCOd8tmGTHwAA1q6Kng (envelope-from ) for ; Sun, 12 Dec 2021 22:51:19 +0000 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 C9E5D12864 for ; Sun, 12 Dec 2021 23:51:18 +0100 (CET) Received: from localhost ([::1]:33120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwXgW-0007Re-9L for larch@yhetil.org; Sun, 12 Dec 2021 17:51:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwXgM-0007Qn-Lx for bug-guix@gnu.org; Sun, 12 Dec 2021 17:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwXgM-0003Rp-D9 for bug-guix@gnu.org; Sun, 12 Dec 2021 17:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwXgM-00067o-BC for bug-guix@gnu.org; Sun, 12 Dec 2021 17:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Dec 2021 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52103 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 52103-submit@debbugs.gnu.org id=B52103.163934945323529 (code B ref 52103); Sun, 12 Dec 2021 22:51:02 +0000 Received: (at 52103) by debbugs.gnu.org; 12 Dec 2021 22:50:53 +0000 Received: from localhost ([127.0.0.1]:53402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwXgD-00067R-0f for submit@debbugs.gnu.org; Sun, 12 Dec 2021 17:50:53 -0500 Received: from mira.cbaines.net ([212.71.252.8]:47056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwXgA-00067I-R7 for 52103@debbugs.gnu.org; Sun, 12 Dec 2021 17:50:51 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id B5EC427BBE9; Sun, 12 Dec 2021 22:50:49 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 2a0de796; Sun, 12 Dec 2021 22:50:49 +0000 (UTC) References: <871r342zd4.fsf@cbaines.net> <87fsr0a8h2.fsf@gnu.org> <87bl1n1m8f.fsf@cbaines.net> <87ee6h4hew.fsf@gnu.org> User-agent: mu4e 1.6.6; emacs 27.2 From: Christopher Baines Date: Sun, 12 Dec 2021 22:19:36 +0000 In-reply-to: <87ee6h4hew.fsf@gnu.org> Message-ID: <87pmq1zbco.fsf@cbaines.net> 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: , Cc: 52103@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639349478; 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; bh=5NAgNV7U7CFEgMMxWiutM5Gd82Tqsby6On4wMqBt/zk=; b=kk2LZteaEDCE4h5fOMFXqAW1Qs6oajJm9KgZLW/cwTSVGrOwnKbDlqRUazomBw4rcUlTPC Rypz2G1ZDSdhLoPHMtd9aFxy4r8WLfbZXfdWqzHGYBidxgPQ2GfhE02Hru/UKVHwPh9fHo WotcUjDtBpJxkgHOgCIZejXJtoO8wn/k97YTUbDbnG93jy48w+PmMPvDhrum524Eglqm6D uACAXSDs9L+1Pnd8iyCuXGxGbloKhxBeDiP0o0/x0n1ZnZe/3DXhnruDAi2fGrTmLkMSNg nJy89c3m2sLazOxDQduqUo20HKuV/RYa6O56Yseoiux4ToBCQs06JwuhT2VFGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639349478; a=rsa-sha256; cv=none; b=DyZwmQVid/8dI97/ZsMjDexY12uu1jHh4Q5KIG+YGIMBgabIAWqAF72nYHKDPyfPyQycm6 ek0RFYvgzJ9MsRVNUNgacMeN8DdCQPamOB/Ll46pq+z6WJw3QY82VcAEt1H/jqHPMjK0QW 4Ft8gDkFodUfl3uEXuDio9rCP9E81f4a/d6o6Hq89duiYyiDbdkxDLbc7UMRdKGLeQKYka fbEkoFHzxVx0BsKwP/Zx64p3E1a35/jgUPvSOiD/dJ+3HDQ1mra48AQk01yFE5+EF0b1hk cE39m54fB6PvTxc5e2sL6ZgzY4kFHb3ev5Rs6NrlxNFTeq5QOZI2LszshFIDZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -5.07 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: C9E5D12864 X-Spam-Score: -5.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: dvDQhjw8j0sH --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Christopher Baines skribis: > >> I've had a go at debugging this further, I'm not confident I've found >> the relevant part of the strace output, but I think it could be this bit: >> >> 14403 newfstatat(AT_FDCWD, >> "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/gui= x.de.texi", >> {st_mode=3DS_IFREG|0444, st_size=3D925279, ...}, AT_SYMLINK_NOFOLLOW) =3D >> 0 >> 14403 openat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix= -translated-texinfo/guix.de.texi", O_RDONLY) =3D 15 >> 14403 fstat(15, {st_mode=3DS_IFREG|0444, st_size=3D925279, ...}) =3D 0 >> 14403 openat(AT_FDCWD, "./guix.de.texi", O_WRONLY|O_CREAT|O_TRUNC, 0444)= =3D -1 EACCES (Permission denied) > > It could be that ./guix.de.texi already exists and is read-only, or that > =E2=80=9C.=E2=80=9D is read-only. > >> There's more information below. I wonder if this could somehow be >> connected to guix.de.texi being both in the -doc store item, and >> -guix-translated-texinfo. Reading the builder, it looks like it copies >> it first from -doc, then again from -guix-translated-texinfo, and that's >> the point at which it fails? > > Ah yes, that looks like a problem: =E2=80=9Cdoc=E2=80=9D, which is taken = straight from > the checkout, normally does not contain *.LANG.texi; those files are not > checked in. > > Could it be that ~/.cache/guix/checkouts contains a non-pristine > checkout of Guix with that extra file? That looks like the issue. cbaines@hatysa ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmis= yr27shj7apsnalwq$ ls -l doc/ total 3656 =2Drw-r--r-- 1 cbaines users 54631 Nov 25 08:37 build.scm =2Drw-r--r-- 1 cbaines users 23526 Nov 9 09:43 contributing.de.texi =2Drw-r--r-- 1 cbaines users 45405 Nov 9 09:43 contributing.fr.texi =2Drw-r--r-- 1 cbaines users 81777 Dec 10 14:21 contributing.texi =2Drw-r--r-- 1 cbaines users 481 Jul 2 07:49 environment-gdb.scm =2Drw-r--r-- 1 cbaines users 23433 Nov 21 18:43 fdl-1.3.texi =2Drw-r--r-- 1 cbaines users 107412 Nov 25 08:37 guix-cookbook.texi =2Drw-r--r-- 1 cbaines users 925279 Nov 9 09:43 guix.de.texi =2Drw-r--r-- 1 cbaines users 1019672 Nov 9 09:43 guix.fr.texi =2Drw-r--r-- 1 cbaines users 1388712 Dec 10 14:21 guix.texi =2Drw-r--r-- 1 cbaines users 698 Nov 21 18:43 he-config-bare-bones.scm =2Drw-r--r-- 1 cbaines users 22650 Nov 21 18:43 htmlxref.cnf drwxr-xr-x 2 cbaines users 4096 Nov 21 18:43 images/ =2Drw-r--r-- 1 cbaines users 8750 Nov 21 18:43 local.mk =2Drw-r--r-- 1 cbaines users 840 Nov 21 18:43 package-hello.json =2Drw-r--r-- 1 cbaines users 615 Jul 2 07:49 package-hello.scm I was a bit confused as git status didn't show it as untracked, but I think that's just because of the .gitignore. git clean -x -n shows it: Would remove doc/guix.de.texi That outputs 259 other files as well. Maybe it's worth running git clean on the cache directory, or only pulling files in from the cache directory if they're tracked by git. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmG2fMdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xfl8Q//TxCETMQBBWE3FcIHJMrBM+uQanGoQTmf dWRx5ZGFbNQ6Ewhfrdj8AKhbnRaRXg6g+M/EitRIW0oeHAH3AAzVNTz8ITC33Tww a7qxqtBzs/z2oFlDGGcxOkPnehva5ywIC6IQfZG0LKh7ofcNXMNQ0hCZ1YKfF/7y RLzN6f6X0EO1eSswSULieORcN/Be+y3LbFeUrBbFWj7nzC86bJhPrRZiHQ0C+6rN /xDfPSTDnrpj0Fi6E0tHpv8W7nlcmInUAQC/n7nL7QLvWHlrhWyFLTBfd0HsEWce pgWm6rPeO2zRNy/ygsGvTiNB/KPKMLupXOlgNmkFw+uG/vgAhm1/+TjOVcXpGD57 V/DG1Y/wvuLKNatZH/4G+eXIhhEk+iA7+07DWy5S4IO1/HT1AfciBVis5E2UEvjX R2B54b8ksOzMe162JvmqF9iG9M3yVW4YdOBMzXtPS/CISiHvVym/Ovz8saXd/QA2 5KqEcetizpZ8+MDKSpArVILiot+5EBFjPRAkvXDwcv3vwsh6oidvpDSzWKWWUyI5 isyf2TrQnEioM4lPBCL1lS14aVXuLP+bNv6LhFQjWUNAlideM/7vJX9PCqVjsfII F19eMqutG+qTdPOEqgcEshTN5qdeGS/eIPL8vE88c46+iAq1f9EBBQAQlb85cw18 hpXKUiNhHgM= =YrPs -----END PGP SIGNATURE----- --=-=-=--