Subject: coreutils failed to compile
From: Masanari Iida <[email-masked]>
To: [email-masked], [email-masked]
Date: Sat, 6 Jun 2015 22:45:51 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Current head of coreutil git tree ( 079652ee6b5d3) faile to compile.
My environment

Fedora 20 (x86_64)

  GEN      src/version.h
make  all-recursive
make[1]: Entering directory `/home/iida/Repo/coreutils'
Making all in po
make[2]: Entering directory `/home/iida/Repo/coreutils/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/iida/Repo/coreutils/po'
Making all in .
make[2]: Entering directory `/home/iida/Repo/coreutils'
test -f doc/.dirstamp || make  doc/.dirstamp
Updating ./doc/version.texi
  CC       lib/copy-acl.o
  CC       lib/set-acl.o
  CC       lib/acl-errno-valid.o
  CC       lib/acl-internal.o
lib/acl-internal.c: In function 'free_permission_context':
lib/acl-internal.c:472:1: error: function might be candidate for
attribute 'const' [-Werror=suggest-attribute=const]
 free_permission_context (struct permission_context *ctx)
 ^

Bisect shows following commit is the first bad.

[iida@localhsot coreutils ((d796a29...)|BISECTING)]$ git bisect good
44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd is the first bad commit
commit 44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd
Author: Pádraig Brady <[email-masked]>
Date:   Tue Jun 2 01:25:05 2015 +0100

    build: update to latest gnulib

    Mainly with build fixes for Mac OS X.

:160000 160000 2aea2c723359d9459fd01e7b428f47656c9ce1e9
98aa8776dd2b510b7f777870fb76b17fd88abbef M    gnulib

[iida@localhost coreutils ((d796a29...)|BISECTING)]$ git bisect log
git bisect start
# bad: [079652ee6b5d3987525ce225518a15253fc9d319] build: port to AIX
git bisect bad 079652ee6b5d3987525ce225518a15253fc9d319
# good: [1aa71d96332ec210a8c954cc924d43655f2b369f] tests:
ln/hard-to-sym FAIL rather than ERROR when ln fails
git bisect good 1aa71d96332ec210a8c954cc924d43655f2b369f
# bad: [44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd] build: update to latest gnulib
git bisect bad 44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd
# good: [b9842a615366b47cbd0739d97f2dd2679dfbb3a8] maint: avoid new
coverity warnings
git bisect good b9842a615366b47cbd0739d97f2dd2679dfbb3a8
# good: [d796a29f2fb92f74d73d0aa27c86caf58d753f46] tests: fix race in
tail test without inotify
git bisect good d796a29f2fb92f74d73d0aa27c86caf58d753f46
# first bad commit: [44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd] build:
update to latest gnulib

Regards,
Masanari iida