guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal
C
C
Christopher Baines wrote on 25 Nov 2021 09:49
(address . bug-guix@gnu.org)
871r342zd4.fsf@cbaines.net
Hey,

I'm having trouble pulling on a aarch64-linux machine, both from master
and core-updates-frozen, and they fail with similar output.

I'm having trouble debugging this, as the Guile exception is missing
some information, and make as-derivation from a checkout works.

Chris




cbaines@hatysa ~$ guix pull --branch=core-updates-frozen

Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
Computing Guix derivation for 'aarch64-linux'... -
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/vhm1bn8z6iqxdpla6jmc7ylg0alz6pis-profile.drv
/gnu/store/30gif6v7w0rmb5xlsqgiqjg2ybri8qij-guix-c9208beb3.drv
/gnu/store/0y1pjrhy5hsa81x1g3grc0kl1w4f8pfw-guix-daemon.drv
/gnu/store/caiy8iw4f22g203syi731lid1cnk1jnq-guix-command.drv
/gnu/store/p0rfxyxspf92bfhwmyc62yg9d0p55rm1-guix-module-union.drv
/gnu/store/r9z37y7jgya7lk6sv5x5djghq7vph7bv-guix-c9208beb3-modules.drv
/gnu/store/3wkn62g0sbfixlr1fjdr12488pqd169y-guix-packages-modules.drv
/gnu/store/lc9dl1m53ayxs1yi385ai52b9s9cicch-guix-packages.drv
/gnu/store/jw31s7x3q277kb7213qkfvy8x0qlqqvk-guix-packages-base.drv
/gnu/store/afg9bwj2lca7mr6wsi3hvp494bycpra0-guix-config-modules.drv
/gnu/store/dyl3jj5hfingrgm1ga318anskxlavpfn-guix-cli-modules.drv
/gnu/store/a62rk5d75hv0k3nkjdi13d3pfwj0h9wv-guix-cli.drv
/gnu/store/6ww1sclrdh440szpcgs0fi0z0rnw6ajg-guix-cli-core.drv
/gnu/store/iqxxvbj6fab2cq90a6nj8dhrr4aavf6f-guix-home.drv
/gnu/store/v7zdm61kblpf97pl5mvsvq39snzhz2ln-guix-system.drv
/gnu/store/h0imqgqvcki9r6y4lic6c7jkaqv06di9-guix-system-modules.drv
/gnu/store/r6avzlgwls8srdnm0w3zyq3nf8v9w18b-guix-home-modules.drv
/gnu/store/rpavv1nfdff6ikxi4aqvvpzq0wihi4ma-guix-packages-base-modules.drv
/gnu/store/sxhza441cfi4kd3yfx2ghc2r3bb7janb-guix-system-tests-modules.drv
/gnu/store/qbps1dackns4lxg1d9aakwdj06gx78h7-guix-system-tests.drv
/gnu/store/zhbjyhahwpm6k703nclkcaca1dqdd42q-guix-cli-core-modules.drv
/gnu/store/8vgzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv
/gnu/store/qzvivcxylgxff7m67af6dr26k077q0ak-profile.drv
/gnu/store/vw8cfxyvdfc64kqiw7dlsiskcbw49220-inferior-script.scm.drv
/gnu/store/0bz8mbn6hvvhcqdiyiybppbkfynycffn-module-import-compiled.drv
/gnu/store/cyddd8z4nnq3d9b3lipcczvy3jx5nrpv-mkfontdir-1.0.7.drv
/gnu/store/zf7lysz561szrac706i4y3yq2sajvgkc-mkfontscale-1.2.1.drv
/gnu/store/h1rn3c6ii90k8d3cbmjz7337qa5sqlqy-libfontenc-1.1.4.drv

building /gnu/store/0bz8mbn6hvvhcqdiyiybppbkfynycffn-module-import-compiled.drv...
building /gnu/store/afg9bwj2lca7mr6wsi3hvp494bycpra0-guix-config-modules.drv...
building /gnu/store/8vgzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv...
/builder for `/gnu/store/8vgzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv' failed with exit code 1
build of /gnu/store/8vgzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv failed
View build log at '/var/log/guix/drvs/8v/gzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv.bz2'.
cannot build derivation `/gnu/store/30gif6v7w0rmb5xlsqgiqjg2ybri8qij-guix-c9208beb3.drv': 1 dependencies couldn't be built
building /gnu/store/h1rn3c6ii90k8d3cbmjz7337qa5sqlqy-libfontenc-1.1.4.drv...
cannot build derivation `/gnu/store/vhm1bn8z6iqxdpla6jmc7ylg0alz6pis-profile.drv': 1 dependencies couldn't be built
guix pull: error: build of `/gnu/store/vhm1bn8z6iqxdpla6jmc7ylg0alz6pis-profile.drv' failed

cbaines@hatysa ~$ bzcat /var/log/guix/drvs/8v/gzidn9cbzkg5q2wsfsf85z1pvy71dv-guix-manual.drv.bz2
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Backtrace:
4 (primitive-load "/gnu/store/114h4vsjax7pg8ys10wc69dg32s?")
In ice-9/eval.scm:
619:8 3 (_ #f)
In ice-9/ftw.scm:
505:39 2 (loop _ _ #(66306 6043095 16749 2 0 0 0 4096 # 1 # # ?) ?)
In guix/build/utils.scm:
403:27 1 (_ "/gnu/store/p6kks0n0vpvdj60ajzpzx98gnmw0wa4b-guix-t?" ?)
In unknown file:
0 (copy-file "/gnu/store/p6kks0n0vpvdj60ajzpzx98gnmw0wa4?" ?)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied





cbaines@hatysa ~$ guix time-machine -- describe
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 4fd6aab (153 new commits)...
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
building /gnu/store/radhcq80wj69hy9596jfsyxc2555x8lz-compute-guix-derivation.drv...
Computing Guix derivation for 'aarch64-linux'... |
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv
/gnu/store/pdbv64gcy97cm3xw9iwnxzd6npazvp5s-guix-4fd6aabea.drv
/gnu/store/15isg3dacdd4mrk2ss693f4d5gq9a3i0-guix-4fd6aabea-modules.drv
/gnu/store/1nfyirnhgvclac6803xnbnqzf9hfbxl1-guix-cli-modules.drv
/gnu/store/ybg5c8i0yzywb60hxdfk7awcgg79gl4l-guix-cli.drv
/gnu/store/70kp1znhddi33r73ms2p8zi61kkdrbbj-guix-home.drv
/gnu/store/knks8y0x0pwb4c5k4y505778n06hy5y3-guix-packages-base.drv
/gnu/store/szrk1pp731c6r8s91wypjywz61ja4h4m-guix-system.drv
/gnu/store/yn8hpnb13hh96n7wb3s9rfhl87rhkph8-guix-packages.drv
/gnu/store/bib44la3naljgbg9p6picbhmmb38y8lb-guix-cli-core.drv
/gnu/store/2nd3ba1n7zykp3c27hfcf6bag09zk9xg-guix-system-tests-modules.drv
/gnu/store/hwxpf2l482nlw4ak666p5qp2dc01alqv-guix-system-tests.drv
/gnu/store/9xzn3xikkrrn9q2c34pbzyzrb74n05jd-guix-cli-core-modules.drv
/gnu/store/izmj1rpiml4fcsnwg2ydkg75f7v0jmlk-guix-system-modules.drv
/gnu/store/kfn1pk6czjx9mgpphimc1ps1j4xl2x3j-guix-config-modules.drv
/gnu/store/6cy5v22zs2b8gfynsdkghjv0xad70n0l-guix-config.drv
/gnu/store/n3g1x0n2lqzvvklhp1r0rdvdb44plj74-guix-config-source.drv
/gnu/store/pdikdxrp7cz5pq8d6pgzxyr19h5lfdcy-config.scm.drv
/gnu/store/mzbbbkayap4gxc5vnlw98myqzgpidcgz-guix-packages-base-modules.drv
/gnu/store/ngkx0zs8mvhhj0ajjj4ky0n2myvsn81j-guix-home-modules.drv
/gnu/store/yxgcpwci6ray5py6rw41appvqdvxxs66-guix-packages-modules.drv
/gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv
/gnu/store/vbj608cqr7zmcqszr9fs8k9ifbnp91i1-guix-daemon.drv
/gnu/store/xsfyk00cyl0z45warm9g348ks7gmr3rd-guix-command.drv
/gnu/store/3b8n4hg3anwjwd14b6wh1sdl5v61984p-guix-module-union.drv
/gnu/store/2j0lldy5sls4g9mbz208lsir2sd8g73y-profile.drv
/gnu/store/rdmx65wl7qnjfxr4g3w1vgxfbsfgfi5a-inferior-script.scm.drv

building /gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv...
\builder for `/gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv' failed with exit code 1
build of /gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv failed
View build log at '/var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2'.
cannot build derivation `/gnu/store/pdbv64gcy97cm3xw9iwnxzd6npazvp5s-guix-4fd6aabea.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv': 1 dependencies couldn't be built
guix time-machine: error: build of `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv' failed

cbaines@hatysa ~$ bzcat /var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2
Backtrace:
4 (primitive-load "/gnu/store/h9n0ssml2v8j9bzxxx1zjj0swn3?")
In ice-9/eval.scm:
619:8 3 (_ #f)
In ice-9/ftw.scm:
505:39 2 (loop _ _ #(66306 8660889 16749 2 0 0 0 4096 # 1 # # ?) ?)
In guix/build/utils.scm:
345:27 1 (_ "/gnu/store/4wfkj6z151b97f54415g39apc58chsx7-guix-t?" ?)
In unknown file:
0 (copy-file "/gnu/store/4wfkj6z151b97f54415g39apc58chsx?" ?)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmGfgXdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfhSA//QEzthrj4Doqtm6s001TyacVIxs0GwYCL
i2vmFZYxUf/5wjYPfmm4P/tfOjVN97brKAdGJDUki8+U1nehQkm0kvgoZrFKzLXU
k3fhnyV1uTx+OwRkDjPjROyloJvLTbq2FjXAN/Qt2szHgdBbbo7/3ihbdWC1Wf1N
HPCx5e9NgN7re5Rzo3nnPfBBGgBR7IDU/i9c3Mb+haQgzVNthdSDUOdVQAtJhJSE
Hajg3cmS666higUa2HfXOm0ksqhiUZjIEugQAzqOS+UiI5XfXPxYTcAhW4fIM/lS
M6zyDGF5ucnqkOfd8TLiJCTPp9OzJnHJzZWxZ0W+I9vJkWF9j2W6nb16yjdcLLHi
+gHVuh7gS9ywXkqpnu83ycXcQO5Kd7BKkBC5exOHhQ/kD39yMtMGZ+cOi/zywj+f
6BWHPtzLZQNgEazgszU/BnDuVJx1Rc23xHwrhHV3vdHfDnzqDIWX+Iu+0fOU7f6L
NAPy+hDz+uJwD7BvC6By1YBngKNjYVLGWe3F8FpYc13IHn77Khb32DGTggglmJK/
MqJBOYt1+CtVsi9+Sv0ni40LpRVn53tGhKuhvG0V5W9qxdHA09ecMloFiQJ3Hxsi
dwgK9wTycDutQO7mrYSPNaGI36Np5Esjxz/mdUv4dmppTE1sOLYtiEPorU9Np2lx
Zdg8MorYZzE=
=3w7C
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 10 Dec 2021 14:35
(name . Christopher Baines)(address . mail@cbaines.net)(address . 52103@debbugs.gnu.org)
87fsr0a8h2.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (3 lines)
> I'm having trouble pulling on a aarch64-linux machine, both from master
> and core-updates-frozen, and they fail with similar output.

FWIW I’ve successfully upgraded on aarch64-linux to current ‘master’:

Toggle snippet (11 lines)
ludo@overdrive1 ~$ guix describe
Generation 12 Dec 10 2021 14:24:21 (current)
guix 18c406d
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 18c406df973d24fa8adb9cdaf58d73769da44937
ludo@overdrive1 ~$ uname -om
aarch64 GNU/Linux


[...]

Toggle quote (22 lines)
> \builder for `/gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv' failed with exit code 1
> build of /gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv failed
> View build log at '/var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2'.
> cannot build derivation `/gnu/store/pdbv64gcy97cm3xw9iwnxzd6npazvp5s-guix-4fd6aabea.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv': 1 dependencies couldn't be built
> guix time-machine: error: build of `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv' failed
>
> cbaines@hatysa ~$ bzcat /var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2
> Backtrace:
> 4 (primitive-load "/gnu/store/h9n0ssml2v8j9bzxxx1zjj0swn3?")
> In ice-9/eval.scm:
> 619:8 3 (_ #f)
> In ice-9/ftw.scm:
> 505:39 2 (loop _ _ #(66306 8660889 16749 2 0 0 0 4096 # 1 # # ?) ?)
> In guix/build/utils.scm:
> 345:27 1 (_ "/gnu/store/4wfkj6z151b97f54415g39apc58chsx7-guix-t?" ?)
> In unknown file:
> 0 (copy-file "/gnu/store/4wfkj6z151b97f54415g39apc58chsx?" ?)
>
> ERROR: In procedure copy-file:
> In procedure copy-file: Permission denied

Are you still experiencing this?

If yes, could you share the .drv file name and maybe strace -f the child
guix-daemon process to get the file names that the backtrace is hiding?

Thanks,
Ludo’.
C
C
Christopher Baines wrote on 11 Dec 2021 10:53
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 52103@debbugs.gnu.org)
87bl1n1m8f.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (45 lines)
> Hi,
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> I'm having trouble pulling on a aarch64-linux machine, both from master
>> and core-updates-frozen, and they fail with similar output.
>
> FWIW I’ve successfully upgraded on aarch64-linux to current ‘master’:
>
> ludo@overdrive1 ~$ guix describe
> Generation 12 Dec 10 2021 14:24:21 (current)
> guix 18c406d
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 18c406df973d24fa8adb9cdaf58d73769da44937
> ludo@overdrive1 ~$ uname -om
> aarch64 GNU/Linux
>
>
> [...]
>
>> \builder for `/gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv' failed with exit code 1
>> build of /gnu/store/g55hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv failed
>> View build log at '/var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2'.
>> cannot build derivation `/gnu/store/pdbv64gcy97cm3xw9iwnxzd6npazvp5s-guix-4fd6aabea.drv': 1 dependencies couldn't be built
>> cannot build derivation `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv': 1 dependencies couldn't be built
>> guix time-machine: error: build of `/gnu/store/pa2apwy1nypkxggh3p75yi9rmghn0xjy-profile.drv' failed
>>
>> cbaines@hatysa ~$ bzcat /var/log/guix/drvs/g5/5hf0qbs3yhwrvi3lq5v4xaj1bw9mrd-guix-manual.drv.bz2
>> Backtrace:
>> 4 (primitive-load "/gnu/store/h9n0ssml2v8j9bzxxx1zjj0swn3?")
>> In ice-9/eval.scm:
>> 619:8 3 (_ #f)
>> In ice-9/ftw.scm:
>> 505:39 2 (loop _ _ #(66306 8660889 16749 2 0 0 0 4096 # 1 # # ?) ?)
>> In guix/build/utils.scm:
>> 345:27 1 (_ "/gnu/store/4wfkj6z151b97f54415g39apc58chsx7-guix-t?" ?)
>> In unknown file:
>> 0 (copy-file "/gnu/store/4wfkj6z151b97f54415g39apc58chsx?" ?)
>>
>> ERROR: In procedure copy-file:
>> In procedure copy-file: Permission denied
>
> Are you still experiencing this?

Yep.

Toggle quote (4 lines)
> If yes, could you share the .drv file name and maybe strace -f the child
> guix-daemon process to get the file names that the backtrace is
> hiding?

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/guix.de.texi", {st_mode=S_IFREG|0444, st_size=925279, ...}, AT_SYMLINK_NOFOLLOW) = 0
14403 openat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/guix.de.texi", O_RDONLY) = 15
14403 fstat(15, {st_mode=S_IFREG|0444, st_size=925279, ...}) = 0
14403 openat(AT_FDCWD, "./guix.de.texi", O_WRONLY|O_CREAT|O_TRUNC, 0444) = -1 EACCES (Permission denied)

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?


cbaines@hatysa ~$ guix build /gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv --keep-failed
The following derivation will be built:
/gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv
building /gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv...
Backtrace:
4 (primitive-load "/gnu/store/l9dnjs4h1vxdnbxc3ips7p6s6kf?")
In ice-9/eval.scm:
619:8 3 (_ #f)
In ice-9/ftw.scm:
505:39 2 (loop _ _ #(66306 15087543 16749 2 0 0 0 4096 # 1 # # ?) ?)
In guix/build/utils.scm:
345:27 1 (_ "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-t?" ?)
In unknown file:
0 (copy-file "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf?" ?)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied
note: keeping build directory `/tmp/guix-build-guix-manual.drv-0'
builder for `/gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv' failed with exit code 1
build of /gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv failed
View build log at '/var/log/guix/drvs/qp/ms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv.bz2'.
guix build: error: build of `/gnu/store/qpms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv' failed

cbaines@hatysa ~$ bzcat /var/log/guix/drvs/qp/ms3smm2fmdcmv0q727yfqbcclw8laq-guix-manual.drv.bz2
Backtrace:
4 (primitive-load "/gnu/store/l9dnjs4h1vxdnbxc3ips7p6s6kf?")
In ice-9/eval.scm:
619:8 3 (_ #f)
In ice-9/ftw.scm:
505:39 2 (loop _ _ #(66306 15087543 16749 2 0 0 0 4096 # 1 # # ?) ?)
In guix/build/utils.scm:
345:27 1 (_ "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-t?" ?)
In unknown file:
0 (copy-file "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf?" ?)

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied

cbaines@hatysa ~$ ls -l /tmp/guix-build-guix-manual.drv-0
total 5068
-r--r--r-- 1 cbaines users 54631 Dec 11 09:59 build.scm
-r--r--r-- 1 cbaines users 23526 Dec 11 09:59 contributing.de.texi
-r--r--r-- 1 cbaines users 45405 Dec 11 09:59 contributing.fr.texi
-r--r--r-- 1 cbaines users 81777 Dec 11 09:59 contributing.texi
-r--r--r-- 1 cbaines users 481 Dec 11 09:59 environment-gdb.scm
-r--r--r-- 1 cbaines users 23433 Dec 11 09:59 fdl-1.3.texi
-r--r--r-- 1 cbaines users 107412 Dec 11 09:59 guix-cookbook.texi
-r--r--r-- 1 cbaines users 925279 Dec 11 09:59 guix.de.texi
-r--r--r-- 1 cbaines users 1019672 Dec 11 09:59 guix.fr.texi
-r--r--r-- 1 cbaines users 1398923 Dec 11 09:59 guix.pt_BR.texi
-r--r--r-- 1 cbaines users 1388712 Dec 11 09:59 guix.texi
-r--r--r-- 1 cbaines users 698 Dec 11 09:59 he-config-bare-bones.scm
-r--r--r-- 1 cbaines users 22650 Dec 11 09:59 htmlxref.cnf
drwxr-xr-x 2 cbaines users 4096 Dec 11 09:59 images/
-r--r--r-- 1 cbaines users 8750 Dec 11 09:59 local.mk
-r--r--r-- 1 cbaines users 2241 Dec 11 09:59 os-config-asus-c201.texi
-r--r--r-- 1 cbaines users 1920 Dec 11 09:59 os-config-bare-bones.texi
-r--r--r-- 1 cbaines users 2083 Dec 11 09:59 os-config-bare-hurd.texi
-r--r--r-- 1 cbaines users 2180 Dec 11 09:59 os-config-beaglebone-black.texi
-r--r--r-- 1 cbaines users 3063 Dec 11 09:59 os-config-desktop.texi
-r--r--r-- 1 cbaines users 1574 Dec 11 09:59 os-config-docker-image.texi
-r--r--r-- 1 cbaines users 2157 Dec 11 09:59 os-config-lightweight-desktop.texi
-r--r--r-- 1 cbaines users 5173 Dec 11 09:59 os-config-vm-image.texi
-r--r--r-- 1 cbaines users 2299 Dec 11 09:59 os-config-yggdrasil.texi
-r--r--r-- 1 cbaines users 840 Dec 11 09:59 package-hello.json
-r--r--r-- 1 cbaines users 615 Dec 11 09:59 package-hello.scm
-rw-r--r-- 1 cbaines users 103 Dec 11 09:59 version.texi

cbaines@hatysa ~$ ls -l /gnu/store/xs88gf6b06fdfdpbi6rasi789wfgiqf0-doc
total 3656
-r--r--r-- 29 root root 54631 Jan 1 1970 build.scm
-r--r--r-- 17 root root 23526 Jan 1 1970 contributing.de.texi
-r--r--r-- 17 root root 45405 Jan 1 1970 contributing.fr.texi
-r--r--r-- 5 root root 81777 Jan 1 1970 contributing.texi
-r--r--r-- 1 root root 481 Jan 1 1970 environment-gdb.scm
-r--r--r-- 45 root root 23433 Jan 1 1970 fdl-1.3.texi
-r--r--r-- 39 root root 107412 Jan 1 1970 guix-cookbook.texi
-r--r--r-- 17 root root 925279 Jan 1 1970 guix.de.texi
-r--r--r-- 17 root root 1019672 Jan 1 1970 guix.fr.texi
-r--r--r-- 5 root root 1388712 Jan 1 1970 guix.texi
-r--r--r-- 1 root root 698 Jan 1 1970 he-config-bare-bones.scm
-r--r--r-- 44 root root 22650 Jan 1 1970 htmlxref.cnf
dr-xr-xr-x 2 root root 4096 Jan 1 1970 images/
-r--r--r-- 25 root root 8750 Jan 1 1970 local.mk
-r--r--r-- 1 root root 840 Jan 1 1970 package-hello.json
-r--r--r-- 1 root root 615 Jan 1 1970 package-hello.scm

cbaines@hatysa ~$ ls -l /gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/
total 14736
-r--r--r-- 17 root root 23526 Jan 1 1970 contributing.de.texi
-r--r--r-- 2 root root 89269 Jan 1 1970 contributing.es.texi
-r--r--r-- 2 root root 81975 Jan 1 1970 contributing.fa.texi
-r--r--r-- 17 root root 45405 Jan 1 1970 contributing.fr.texi
-r--r--r-- 2 root root 81918 Jan 1 1970 contributing.it.texi
-r--r--r-- 2 root root 81933 Jan 1 1970 contributing.ko.texi
-r--r--r-- 2 root root 84356 Jan 1 1970 contributing.pt_BR.texi
-r--r--r-- 2 root root 122037 Jan 1 1970 contributing.ru.texi
-r--r--r-- 2 root root 82168 Jan 1 1970 contributing.sk.texi
-r--r--r-- 2 root root 78200 Jan 1 1970 contributing.zh_CN.texi
-r--r--r-- 2 root root 123368 Jan 1 1970 guix-cookbook.de.texi
-r--r--r-- 2 root root 108009 Jan 1 1970 guix-cookbook.es.texi
-r--r--r-- 6 root root 107958 Jan 1 1970 guix-cookbook.fa.texi
-r--r--r-- 6 root root 118742 Jan 1 1970 guix-cookbook.fr.texi
-r--r--r-- 6 root root 106693 Jan 1 1970 guix-cookbook.ko.texi
-r--r--r-- 6 root root 108002 Jan 1 1970 guix-cookbook.ru.texi
-r--r--r-- 6 root root 108510 Jan 1 1970 guix-cookbook.sk.texi
-r--r--r-- 17 root root 925279 Jan 1 1970 guix.de.texi
-r--r--r-- 2 root root 1555832 Jan 1 1970 guix.es.texi
-r--r--r-- 2 root root 1388798 Jan 1 1970 guix.fa.texi
-r--r--r-- 17 root root 1019672 Jan 1 1970 guix.fr.texi
-r--r--r-- 2 root root 1388646 Jan 1 1970 guix.it.texi
-r--r--r-- 2 root root 1389421 Jan 1 1970 guix.ko.texi
-r--r--r-- 2 root root 1398923 Jan 1 1970 guix.pt_BR.texi
-r--r--r-- 2 root root 1637169 Jan 1 1970 guix.ru.texi
-r--r--r-- 2 root root 1388634 Jan 1 1970 guix.sk.texi
-r--r--r-- 2 root root 1381081 Jan 1 1970 guix.zh_CN.texi
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmG0ejBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcsKA//WNjnG5PcwVkyX0Pr/IkpH/F9thRS92eq
JK9u0nyTsYThrycjvenqfrydxAxl6CZKkifpWGRYnW3H7tMW5H0zVkn0jlPzWmow
eMo54DzfZsJkr3ArYmHmVrzGXNVmNiLRSbMjB3g8VP1BT2tMWz0iqBswVw7aoDbB
IsKLJrUuvvWVcNp9xqVwFgObpgQLbjrtlQsFX2U1PGC2rgaXBnasNvBPjQgxlAgh
nl13cR/0HXCQhg6UEqgzuiXh6Pfx8ITelUy149TQnO3FdG3nt76ybu0cOyP6nZKW
g4nysmyNbQUZZ7WE3xmvO7H6s7X6dZTwISHAMMp5d+J58UhnRbfJcPeLyftSqPyk
wLCP/MH3FHG8ey/9avJe2QwMWwHXCXT7ReFPBVcAIt8PvX1C+jB6Hos4t0tI674x
tChGzVvfm7002tp29pT613kimPLH4iAG2WXyA/p23nVWat0Ll8+51WgtPiiKx9z+
WhRqTmjyOSo7pN2zja8FW7JAd501AqU+NArSVHSFzGMVlFKL+hHfA2nZcyN/daGz
FFZ90hG39yKamgUkAnfp6MwElqEH2x0AbuahFtZw8+AKfP8bAWpQHV7nB/b9BBDm
O8+ZELTUdvlxX8kiTUw2HtBdi2hkB25WfB6iL6RKhffzeoBgtk90vx2mgQhi9Fxq
WJ61FcrxQ0I=
=4qOt
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 12 Dec 2021 22:55
(name . Christopher Baines)(address . mail@cbaines.net)(address . 52103@debbugs.gnu.org)
87ee6h4hew.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (8 lines)
> 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/guix.de.texi", {st_mode=S_IFREG|0444, st_size=925279, ...}, AT_SYMLINK_NOFOLLOW) = 0
> 14403 openat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/guix.de.texi", O_RDONLY) = 15
> 14403 fstat(15, {st_mode=S_IFREG|0444, st_size=925279, ...}) = 0
> 14403 openat(AT_FDCWD, "./guix.de.texi", O_WRONLY|O_CREAT|O_TRUNC, 0444) = -1 EACCES (Permission denied)

It could be that ./guix.de.texi already exists and is read-only, or that
“.” is read-only.

Toggle quote (6 lines)
> 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: “doc”, 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?

Thanks for investigating!

Ludo’.
C
C
Christopher Baines wrote on 12 Dec 2021 23:19
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 52103@debbugs.gnu.org)
87pmq1zbco.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (31 lines)
> Hi,
>
> Christopher Baines <mail@cbaines.net> 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/guix.de.texi",
>> {st_mode=S_IFREG|0444, st_size=925279, ...}, AT_SYMLINK_NOFOLLOW) =
>> 0
>> 14403 openat(AT_FDCWD, "/gnu/store/vcgx18jbb4dyk8kxx2gn8046jsavlgf8-guix-translated-texinfo/guix.de.texi", O_RDONLY) = 15
>> 14403 fstat(15, {st_mode=S_IFREG|0444, st_size=925279, ...}) = 0
>> 14403 openat(AT_FDCWD, "./guix.de.texi", O_WRONLY|O_CREAT|O_TRUNC, 0444) = -1 EACCES (Permission denied)
>
> It could be that ./guix.de.texi already exists and is read-only, or that
> “.” 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: “doc”, 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/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq$ ls -l doc/
total 3656
-rw-r--r-- 1 cbaines users 54631 Nov 25 08:37 build.scm
-rw-r--r-- 1 cbaines users 23526 Nov 9 09:43 contributing.de.texi
-rw-r--r-- 1 cbaines users 45405 Nov 9 09:43 contributing.fr.texi
-rw-r--r-- 1 cbaines users 81777 Dec 10 14:21 contributing.texi
-rw-r--r-- 1 cbaines users 481 Jul 2 07:49 environment-gdb.scm
-rw-r--r-- 1 cbaines users 23433 Nov 21 18:43 fdl-1.3.texi
-rw-r--r-- 1 cbaines users 107412 Nov 25 08:37 guix-cookbook.texi
-rw-r--r-- 1 cbaines users 925279 Nov 9 09:43 guix.de.texi
-rw-r--r-- 1 cbaines users 1019672 Nov 9 09:43 guix.fr.texi
-rw-r--r-- 1 cbaines users 1388712 Dec 10 14:21 guix.texi
-rw-r--r-- 1 cbaines users 698 Nov 21 18:43 he-config-bare-bones.scm
-rw-r--r-- 1 cbaines users 22650 Nov 21 18:43 htmlxref.cnf
drwxr-xr-x 2 cbaines users 4096 Nov 21 18:43 images/
-rw-r--r-- 1 cbaines users 8750 Nov 21 18:43 local.mk
-rw-r--r-- 1 cbaines users 840 Nov 21 18:43 package-hello.json
-rw-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.
-----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-----

L
L
Ludovic Courtès wrote on 14 Dec 2021 16:05
(name . Christopher Baines)(address . mail@cbaines.net)(address . 52103-done@debbugs.gnu.org)
87zgp3z0p2.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (2 lines)
> Ludovic Courtès <ludo@gnu.org> writes:

[...]

Toggle quote (9 lines)
>> Ah yes, that looks like a problem: “doc”, 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.

Ah, good to know.

[...]

Toggle quote (4 lines)
> 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.

(guix git) does a hard reset in ‘switch-to-ref’, which is normally
enough as long as the user doesn’t manually fiddle with the checkout.

Should we add something there?

Thanks,
Ludo’.
Closed
C
C
Christopher Baines wrote on 17 Dec 2021 12:24
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 52103-done@debbugs.gnu.org)
87bl1fxylj.fsf@cbaines.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (30 lines)
> Hi,
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>
> [...]
>
>>> Ah yes, that looks like a problem: “doc”, 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.
>
> Ah, good to know.
>
> [...]
>
>> 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.
>
> (guix git) does a hard reset in ‘switch-to-ref’, which is normally
> enough as long as the user doesn’t manually fiddle with the checkout.
>
> Should we add something there?

I don't know enough about these Git operations, but I guess that's
probably fine if things happen normally. I do wonder if it's possible to
get in to states where there are some untracked files left around if
operations are cancelled or stop part way though.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmG8c5hfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XeN+A//akxD9PQYs9Xv2/vgxle1+gMiTfLe8foN
nXJuGpkHqEeb776H++eZiZYntCMFzh0ik0gVbbiZav/5OcTQvjInl0nh6+DCp2Gm
j5+Q/ccpjwoex9qQOdeXrBYtVaWRN/YfkxhP74sGSIwDoEgWcIgSdBJBybEMTrtZ
11DsJY5acS9mIhx4d+6o/vzHnQphOULtzuVA7e5ssTby63a9mAZYuCYyObJISj3l
Y7QGlpgUZ9aEGLN8PqELpiIe241KEWPVsgh3DJdw7BU5oDrt8hH+ziDuKwvgVNfi
K9dwwbmHgg7FJbHSr+l/iJfVr2sXwFWoFAVIoiFxji5fApfjujNI8rMrI4oKhR3H
qGAfTcOQdiKmzHEsA35m4HP9FfFwEnbhz02svKsSc5HaXFw9AzUhmcqZTSsUF54e
wCy373ivdsIiStlGxImzVoOE968QpiVXaz6lYIxC3ua5JYz9Zf6tcWpFkLEL7EjA
Lm0RcskzVmd9ZDWdwe7c/TIPSqMBczOLpHdHUYTYQz6oKDrb+miGl9h2va9ARXA2
jN9znQR+kQ+6OEZjI6SlgyoXb0YX8t/ehXPyvPxdd4ggDrQFb4Mbs0T5uL8stdjk
gzZAF5x3mCx+ff8iY5By8biQF3aXi/T8YNxAYLkkzYhmqi6zioOcU0pk9oOdHWon
rOzUGklea80=
=pak2
-----END PGP SIGNATURE-----

Closed
L
L
Ludovic Courtès wrote on 17 Dec 2021 16:39
(name . Christopher Baines)(address . mail@cbaines.net)(address . 52103-done@debbugs.gnu.org)
87y24jp7fp.fsf@gnu.org
Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (5 lines)
> I don't know enough about these Git operations, but I guess that's
> probably fine if things happen normally. I do wonder if it's possible to
> get in to states where there are some untracked files left around if
> operations are cancelled or stop part way though.

I don’t think it’s normally possible to get in a state with new
untracked files.

Ludo’.
Closed
?