all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
@ 2021-11-25  8:49 Christopher Baines
  2021-12-10 13:35 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2021-11-25  8:49 UTC (permalink / raw)
  To: 52103

[-- Attachment #1: Type: text/plain, Size: 8540 bytes --]

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:
  guix      https://git.savannah.gnu.org/git/guix.git   c9208be
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-11-25  8:49 bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied Christopher Baines
@ 2021-12-10 13:35 ` Ludovic Courtès
  2021-12-11  9:53   ` Christopher Baines
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-12-10 13:35 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 52103

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’:

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---


[...]

> \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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-10 13:35 ` Ludovic Courtès
@ 2021-12-11  9:53   ` Christopher Baines
  2021-12-12 21:55     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2021-12-11  9:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 52103

[-- Attachment #1: Type: text/plain, Size: 9704 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> 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.

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-11  9:53   ` Christopher Baines
@ 2021-12-12 21:55     ` Ludovic Courtès
  2021-12-12 22:19       ` Christopher Baines
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-12-12 21:55 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 52103

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?

Thanks for investigating!

Ludo’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-12 21:55     ` Ludovic Courtès
@ 2021-12-12 22:19       ` Christopher Baines
  2021-12-14 15:05         ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2021-12-12 22:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 52103

[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-12 22:19       ` Christopher Baines
@ 2021-12-14 15:05         ` Ludovic Courtès
  2021-12-17 11:24           ` Christopher Baines
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-12-14 15:05 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 52103-done

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?

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-14 15:05         ` Ludovic Courtès
@ 2021-12-17 11:24           ` Christopher Baines
  2021-12-17 15:39             ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Baines @ 2021-12-17 11:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 52103-done

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied
  2021-12-17 11:24           ` Christopher Baines
@ 2021-12-17 15:39             ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-12-17 15:39 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 52103-done

Christopher Baines <mail@cbaines.net> skribis:

> 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’.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-12-17 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-25  8:49 bug#52103: guix pull: guix-manual.drv' failed with exit code 1, In procedure copy-file: Permission denied Christopher Baines
2021-12-10 13:35 ` Ludovic Courtès
2021-12-11  9:53   ` Christopher Baines
2021-12-12 21:55     ` Ludovic Courtès
2021-12-12 22:19       ` Christopher Baines
2021-12-14 15:05         ` Ludovic Courtès
2021-12-17 11:24           ` Christopher Baines
2021-12-17 15:39             ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.