bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28571: 25.3; Compile error on macOS Sierra


From: Philipp
Subject: bug#28571: 25.3; Compile error on macOS Sierra
Date: Sat, 23 Sep 2017 21:08:21 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]