GNU bug report logs - #39727
statx error running 'guix gc' on CentOS 7

Previous Next

Package: guix;

Reported by: Paul Garlick <pgarlick <at> tourbillion-technology.com>

Date: Fri, 21 Feb 2020 22:50:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: bug#39727: closed (Re: bug#39727: statx error running 'guix gc'
 on CentOS 7)
Date: Wed, 26 Feb 2020 21:08:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#39727: statx error running 'guix gc' on CentOS 7

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 39727 <at> debbugs.gnu.org.

-- 
39727: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39727
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Cc: 39727-done <at> debbugs.gnu.org
Subject: Re: bug#39727: statx error running 'guix gc' on CentOS 7
Date: Wed, 26 Feb 2020 22:07:34 +0100
Hi Paul,

Paul Garlick <pgarlick <at> tourbillion-technology.com> 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’.

[Message part 3 (message/rfc822, inline)]
From: Paul Garlick <pgarlick <at> tourbillion-technology.com>
To: bug-guix <at> gnu.org
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








This bug report was last modified 5 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.