unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28571: 25.3; Compile error on macOS Sierra
@ 2017-09-23 19:08 Philipp
  2017-09-23 19:31 ` Alan Third
  2017-09-28 20:58 ` mituharu
  0 siblings, 2 replies; 13+ messages in thread
From: Philipp @ 2017-09-23 19:08 UTC (permalink / raw)
  To: 28571


Compilation fails on macOS Sierra at repository version
c0af83b6ccf2dab9a515dd7f52eb9d4500275ae3:

$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
  CC       utimens.o
utimens.c:250:20: error: 'utimensat' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new]
          result = utimensat (AT_FDCWD, file, ts, 0);
                   ^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/stat.h:374:5: note: 'utimensat'
      has been explicitly marked partial here
int     utimensat(int __fd, const char *__path, const struct timespec __times[2],
        ^
utimens.c:250:20: note: enclose 'utimensat' in a __builtin_available check to silence this warning
          result = utimensat (AT_FDCWD, file, ts, 0);
                   ^~~~~~~~~
utimens.c:272:20: error: 'futimens' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new]
          result = futimens (fd, ts);
                   ^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/stat.h:373:5: note: 'futimens'
      has been explicitly marked partial here
int     futimens(int __fd, const struct timespec __times[2]) __API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0), watchos(4.0));
        ^
utimens.c:272:20: note: enclose 'futimens' in a __builtin_available check to silence this warning
          result = futimens (fd, ts);
                   ^~~~~~~~
utimens.c:566:16: error: 'utimensat' is only available on macOS 10.13 or newer [-Werror,-Wunguarded-availability-new]
      result = utimensat (AT_FDCWD, file, ts, AT_SYMLINK_NOFOLLOW);
               ^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/stat.h:374:5: note: 'utimensat'
      has been explicitly marked partial here
int     utimensat(int __fd, const char *__path, const struct timespec __times[2],
        ^
utimens.c:566:16: note: enclose 'utimensat' in a __builtin_available check to silence this warning
      result = utimensat (AT_FDCWD, file, ts, AT_SYMLINK_NOFOLLOW);
               ^~~~~~~~~
3 errors generated.
make[1]: *** [utimens.o] Error 1
make: *** [lib] Error 2

$ ./config.status --config
'--enable-checking' '--enable-check-lisp-object-type' '--enable-gtk-deprecation-warnings' '--with-modules' '--without-xml2' '--without-pop' '--with-mailutils' '--enable-gcc-warnings' 'MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo' 'CFLAGS=-O0 -ggdb3' 'LDFLAGS=-O0'



In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-09-15 built on p
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs/25.3/share/info/emacs
 --prefix=/usr/local/Cellar/emacs/25.3 --without-x --with-xml2
 --without-dbus --without-gnutls --without-imagemagick --with-modules
 --with-ns --disable-ns-self-contained'

Configured features:
JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 196024 7412)
 (symbols 48 19650 0)
 (miscs 40 50 187)
 (strings 32 15009 5265)
 (string-bytes 1 435439)
 (vectors 16 32913)
 (vector-slots 8 653955 6213)
 (floats 8 160 12)
 (intervals 56 210 0)
 (buffers 976 18))





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-10-01  5:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23 19:08 bug#28571: 25.3; Compile error on macOS Sierra Philipp
2017-09-23 19:31 ` Alan Third
2017-09-24  7:49   ` Philipp Stephani
2017-09-24 11:06     ` Alan Third
2017-09-24 11:23       ` Philipp Stephani
2017-09-24 12:09         ` Alan Third
2017-09-28 18:07           ` Alan Third
2017-09-29  7:23       ` Eli Zaretskii
2017-09-25  0:29     ` YAMAMOTO Mitsuharu
2017-09-30 19:17       ` Philipp Stephani
2017-10-01  5:51         ` YAMAMOTO Mitsuharu
2017-09-28 20:58 ` mituharu
2017-09-28 21:39   ` Alan Third

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).