Subject: bug#32762: Bug at coreutils compile

From: "vvcfee"<[email-masked]>
Date: Tue, 18 Sep 2018 16:49:00 +0800

Hi GNU team,Thanks for your great job!

recently I try to compile gnu coreutils manually on Centos7.3,and got some error when try to make:
[root@localhost coreutils]# make
make  all-recursive
make[1]: Entering directory `/coreutils'
Making all in po
make[2]: Entering directory `/coreutils/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/coreutils/po'
Making all in .
make[2]: Entering directory `/coreutils'
  CC       lib/acl-internal.o
lib/acl-internal.c: In function 'free_permission_context':
lib/acl-internal.c:479:1: error: function might be candidate for attribute 'cons
t' [-Werror=suggest-attribute=const]
 free_permission_context (struct permission_context *ctx)
 ^
cc1: all warnings being treated as errors
make[2]: *** [lib/acl-internal.o] Error 1
make[2]: Leaving directory `/coreutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/coreutils'
make: *** [all] Error 2

It seems like a bug has been reported before bug20753
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20753

Regards,
Arryboom
2018-09-18

vvcfee