all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 28571@debbugs.gnu.org
Subject: bug#28571: 25.3; Compile error on macOS Sierra
Date: Sun, 24 Sep 2017 07:49:55 +0000	[thread overview]
Message-ID: <CAArVCkR+JroqYZQhi6CZkASAQh6WPGMN51ozuUJQJ-CBt0mY6w@mail.gmail.com> (raw)
In-Reply-To: <20170923193130.GB6576@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Alan Third <alan@idiocy.org> schrieb am Sa., 23. Sep. 2017 um 21:31 Uhr:

> On Sat, Sep 23, 2017 at 09:08:21PM +0200, Philipp wrote:
> >
> > 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);
> >                    ^~~~~~~~~
>
> I can’t replicate, but I don’t have the full xcode installed, just the
> command line stuff.
>
> I take it you upgraded Xcode the other day? (To version 9, I think?)
>

Yes, indeed.


>
> Is there maybe a test in configure that’s incorrectly identifying this
> utimens.c stuff as OK?
>
>
I do have configure output like this:

checking for futimens... yes
checking for utimensat... yes

So I think the functions are there, but the compilation shouldn't use them
since they would make the binary incompatible with old versions of macOS.

[-- Attachment #2: Type: text/html, Size: 1783 bytes --]

  reply	other threads:[~2017-09-24  7:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkR+JroqYZQhi6CZkASAQh6WPGMN51ozuUJQJ-CBt0mY6w@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=28571@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.