GNU bug report logs - #20753
coreutils failed to compile

Previous Next

Package: coreutils;

Reported by: Masanari Iida <standby24x7 <at> gmail.com>

Date: Sat, 6 Jun 2015 17:12:05 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 20753 in the body.
You can then email your comments to 20753 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#20753; Package coreutils. (Sat, 06 Jun 2015 17:12:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Masanari Iida <standby24x7 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 06 Jun 2015 17:12:05 GMT) Full text and rfc822 format available.

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

From: Masanari Iida <standby24x7 <at> gmail.com>
To: bug-coreutils <at> gnu.org, bug-gnulib <at> gnu.org
Subject: coreutils failed to compile
Date: Sat, 6 Jun 2015 22:45:51 +0900
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 <at> localhsot coreutils ((d796a29...)|BISECTING)]$ git bisect good
44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd is the first bad commit
commit 44f08f240e69e062fd8f0ac33f2a2e0e07a2a3cd
Author: Pádraig Brady <P <at> draigBrady.com>
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 <at> 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




Information forwarded to bug-coreutils <at> gnu.org:
bug#20753; Package coreutils. (Sat, 06 Jun 2015 18:43:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Masanari Iida <standby24x7 <at> gmail.com>, bug-coreutils <at> gnu.org, 
 bug-gnulib <at> gnu.org
Subject: Re: coreutils failed to compile
Date: Sat, 06 Jun 2015 11:42:18 -0700
[Message part 1 (text/plain, inline)]
Thanks, does the attached (untested) patch fix things for you?
[acl.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#20753; Package coreutils. (Sun, 07 Jun 2015 00:02:02 GMT) Full text and rfc822 format available.

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

From: Masanari Iida <standby24x7 <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: bug-gnulib <at> gnu.org, bug-coreutils <at> gnu.org
Subject: Re: coreutils failed to compile
Date: Sun, 7 Jun 2015 09:01:20 +0900
Hello.
Your patch fix my build problem.
Before apply the patch,  i have confirmed current head
(3150ec900c4b8f84978ca4fb80eb109ae0df875c) didn't fix the symptom.
Then make a branch and apply your path on top of it.
Then compile it again. I have confirmed it worked.

Regards,
Masanari Iida


On Sun, Jun 7, 2015 at 3:42 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> Thanks, does the attached (untested) patch fix things for you?




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sun, 07 Jun 2015 01:24:01 GMT) Full text and rfc822 format available.

Notification sent to Masanari Iida <standby24x7 <at> gmail.com>:
bug acknowledged by developer. (Sun, 07 Jun 2015 01:24:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Masanari Iida <standby24x7 <at> gmail.com>
Cc: 20753-done <at> debbugs.gnu.org, bug-gnulib <at> gnu.org
Subject: Re: coreutils failed to compile
Date: Sat, 06 Jun 2015 18:23:22 -0700
[Message part 1 (text/plain, inline)]
OK, thanks, I installed the attached patch into gnulib and am marking the bug as 
fixed.
[0001-acl-permissions-pacify-Wsuggest-attribute-const.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Jul 2015 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 355 days ago.

Previous Next


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