From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: 20681-done@debbugs.gnu.org, Paul Eggert <eggert@cs.ucla.edu>
Subject: bug#20681: Build failure [MSYS2/MINGW64, OSX]
Date: Thu, 28 May 2015 20:47:14 +0300 [thread overview]
Message-ID: <83oal4wq59.fsf@gnu.org> (raw)
In-Reply-To: <55671056.9030604@alice.it>
> Date: Thu, 28 May 2015 14:55:50 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
>
> The build I tried with current master failed. This occurs in the
> nextstep build on OSX and also in the MSYS2/MINGW64 on Windows. The same
> master builds fine in the GTK build on GNU/Linux (but here there are
> other issues; see bug #20677).
>
> The failure looks the same.
>
> On OSX:
>
> [...]
> GEN dirent.h
> GEN fcntl.h
> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
> CC acl-errno-valid.o
> CC acl-internal.o
> CC get-permissions.o
> CC set-permissions.o
> set-permissions.c:569:20: warning: incompatible pointer to integer
> conversion passing 'acl_t' (aka 'struct _acl *') to parameter of type
> 'int' [-Wint-conversion]
> acl = acl_init (acl);
> ^~~
> /usr/include/sys/acl.h:149:27: note: passing argument to parameter
> 'count' here
> extern acl_t acl_init(int count);
> ^
> set-permissions.c:585:26: error: use of undeclared identifier 'acl'
> ret = acl_set_fd (desc, acl);
> ^
> set-permissions.c:587:47: error: use of undeclared identifier 'acl'
> ret = acl_set_file (name, ACL_TYPE_EXTENDED, acl);
> ^
> set-permissions.c:590:27: error: use of undeclared identifier 'saved_errno'
> if (! acl_errno_valid (saved_errno) && !
> acl_extended_nontrivial (acl))
> ^
> set-permissions.c:590:70: error: use of undeclared identifier 'acl'
> if (! acl_errno_valid (saved_errno) && !
> acl_extended_nontrivial (acl))
>
> ^
> 1 warning and 4 errors generated.
> make[2]: *** [set-permissions.o] Error 1
Should be fixed now. (set-permissions.c cannot be compiled on MinGW,
and is unnecessary there, so I removed it from the build.)
P.S. Thanks to Paul who made this fix easy by merging the gnulib
changes in nt/gnulib.mk.
next prev parent reply other threads:[~2015-05-28 17:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 12:55 bug#20681: Build failure [MSYS2/MINGW64, OSX] Angelo Graziosi
2015-05-28 17:47 ` Eli Zaretskii [this message]
2015-05-29 12:27 ` Angelo Graziosi
2015-05-29 16:56 ` Paul Eggert
2015-05-29 19:06 ` bug#20681: [PATCH] acl-permissions: Fix build on Mac OS X and older AIX (Bug#20681) Andreas Gruenbacher
2015-05-29 19:09 ` bug#20681: Build failure [MSYS2/MINGW64, OSX] Andreas Grünbacher
2015-05-29 19:45 ` Paul Eggert
2015-05-29 19:56 ` Nick Andryshak
2015-05-29 19:57 ` Andreas Grünbacher
2015-05-30 10:22 ` Eli Zaretskii
2015-05-30 12:02 ` Andreas Grünbacher
2015-05-30 12:10 ` Eli Zaretskii
2015-05-30 13:06 ` Andreas Grünbacher
2015-05-31 14:29 ` Eli Zaretskii
2015-05-31 19:18 ` Andreas Grünbacher
2015-06-01 15:05 ` Eli Zaretskii
2015-06-01 16:18 ` Andreas Grünbacher
2015-06-01 17:39 ` Eli Zaretskii
2015-06-01 18:41 ` Andreas Grünbacher
2015-06-01 19:01 ` Eli Zaretskii
2015-05-29 21:49 ` Angelo Graziosi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83oal4wq59.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20681-done@debbugs.gnu.org \
--cc=angelo.graziosi@alice.it \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).