--- Begin Message ---
Subject: |
statx error running 'guix gc' on CentOS 7 |
Date: |
Fri, 21 Feb 2020 22:49:15 +0000 |
Hi Guix,
After a 'guix pull' today to commit
536cc4aae5b58b45b974530646a4916a29a8aa6c I noticed that 'guix gc' fails
with the message:
guix gc: error: statting `/gnu/store/.links/0pck...': Invalid argument
The system is running CentOS 7:
$ cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
A temporary fix is to remove 'statx' from the list of functions checked
in
config-daemon.ac (line 96):
- statvfs nanosleep strsignal statx])
+ statvfs nanosleep strsignal])
This could a problem with the kernel version or coreutils [0] in CentOS
7.
It seems that HAVE_STATX is set in the guix build process but then
runtime calls to statx generate errors.
Best regards,
Paul.
[0] https://bugzilla.redhat.com/show_bug.cgi?id=1760300
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#39727: statx error running 'guix gc' on CentOS 7 |
Date: |
Wed, 26 Feb 2020 22:07:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Paul,
Paul Garlick <address@hidden> skribis:
>> Great. Could you apply the following patch, run the daemon with:
>>
>> sudo -E ./pre-inst-env guix-daemon --build-users-group=…
>>
>> then run:
>>
>> guix gc -C42
>
> Yes, all is good.
>
> I have re-built guix with your patch and started the daemon. Now 'guix
> gc' runs as expected:
Great, pushed as 513c0a0f4602018a49d8fd2dfa24670a3fa08ac9.
Thanks,
Ludo’.
--- End Message ---