GNU bug report logs - #75612
FTBFS on CentOS 6

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 16 Jan 2025 19:40:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75612 in the body.
You can then email your comments to 75612 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#75612; Package coreutils. (Thu, 16 Jan 2025 19:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 16 Jan 2025 19:40:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-coreutils <at> gnu.org
Subject: FTBFS on CentOS 6
Date: Thu, 16 Jan 2025 20:39:43 +0100
[Message part 1 (text/plain, inline)]
Building a snapshot of the current coreutils with current gnulib, I get
a compilation error on CentOS 5 and 6:

  CC       src/ls.o
../src/ls.c: In function 'gobble_file':
../src/ls.c:3556: error: 'XATTR_NAME_CAPS' undeclared (first use in this function)
../src/ls.c:3556: error: (Each undeclared identifier is reported only once
../src/ls.c:3556: error: for each function it appears in.)
make[2]: *** [src/ls.o] Error 1

The attached proposed patch fixes it.
This is a similar problem as we encountered in gnulib:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=3266c08a315
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=73a13b94b94
The lesson is: Provide fallbacks for *all* XATTR_NAME_* values, since older
distros don't define them.

[0001-ls-Fix-compilation-error-on-CentOS-6.patch (text/x-patch, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Thu, 16 Jan 2025 20:12:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Thu, 16 Jan 2025 20:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 75612-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 75612-done <at> debbugs.gnu.org
Subject: Re: bug#75612: FTBFS on CentOS 6
Date: Thu, 16 Jan 2025 12:11:39 -0800
Thanks, I installed that.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Feb 2025 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 180 days ago.

Previous Next


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