Subject: bug#68561: Guix wrongfully claims there is no space left

From: Lars Rustand <[email-masked]>
Date: Thu, 18 Jan 2024 09:30:37 +0100

Guix is claiming that there is no space left on the device when none of
my devices are in fact full. As you can see from the output of df -h
there is more than enough space on all filesystems:

Filesystem      Size  Used Avail Use% Mounted on
none            7.8G     0  7.8G   0% /dev
/dev/nvme0n1p7  250G  159G   79G  67% /
/dev/nvme0n1p1  2.0G  428K  2.0G   1% /boot/efi
tmpfs           7.8G  281M  7.5G   4% /dev/shm
efivarfs        184K  137K   43K  77% /sys/firmware/efi/efivars
none            7.8G   24K  7.8G   1% /run/systemd
none            7.8G     0  7.8G   0% /run/user
tmpfs           1.6G  8.0K  1.6G   1% /run/user/1000

This is the build output from Guix when trying to reconfigure my home:

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-cuda-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-va-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-bad-audio-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-insertbin-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-transcoder-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-player-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-sctp-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-webrtc-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-photography-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-codecparsers-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-mpegts-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/pkgconfig/gstreamer-play-1.0.pc

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0.2202.0
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so.0.2202.0
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0.2202.0

warning: collision encountered:
  /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0
  /gnu/store/yphrrwp56dba70p5y0bjj53r0krlpsd5-gst-plugins-bad-minimal-1.22.2/lib/libgstcuda-1.0.so.0
warning: choosing /gnu/store/wjfh1v15yyv1wka7qin62xb0s7m467nd-gst-plugins-bad-1.22.2/lib/libgstcuda-1.0.so.0
Backtrace:
           8 (primitive-load "/gnu/store/pxzi0z14dn4wciazml3pdg46216…")
In guix/build/profiles.scm:
    200:4  7 (build-profile "/gnu/store/c29rkqijl03v6kab16mfjszgaqf…" …)
In unknown file:
           6 (hash-for-each #<procedure 7ffff778ae80 at guix/build/…> …)
           5 (hash-for-each #<procedure 7ffff30c3240 at guix/build/…> …)
           4 (hash-for-each #<procedure 7ffff2931ac0 at guix/build/…> …)
           3 (hash-for-each #<procedure 7ffff282c4c0 at guix/build/…> …)
           2 (hash-for-each #<procedure 7ffff284be40 at guix/build/…> …)
           1 (hash-for-each #<procedure 7ffff778ae40 at guix/build/…> …)
           0 (symlink "/gnu/store/ws1a1w74g9iq8774dlw2wl1dbnw6wck8-…" …)

ERROR: In procedure symlink:
In procedure symlink: No space left on device