From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#28571: 25.3; Compile error on macOS Sierra Date: Sun, 24 Sep 2017 07:49:55 +0000 Message-ID: References: <20170923193130.GB6576@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cde84b96a0c0559eab0e8" X-Trace: blaine.gmane.org 1506239472 20257 195.159.176.226 (24 Sep 2017 07:51:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 07:51:12 +0000 (UTC) Cc: 28571@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 09:51:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw1gt-0004ir-Ai for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 09:51:03 +0200 Original-Received: from localhost ([::1]:37215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw1h0-0008E0-Ih for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 03:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw1gv-0008Dt-5w for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 03:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw1gs-0002qj-4W for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 03:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dw1gs-0002qY-0O for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 03:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dw1gr-0006QZ-N3 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 03:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 07:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28571 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28571-submit@debbugs.gnu.org id=B28571.150623941324656 (code B ref 28571); Sun, 24 Sep 2017 07:51:01 +0000 Original-Received: (at 28571) by debbugs.gnu.org; 24 Sep 2017 07:50:13 +0000 Original-Received: from localhost ([127.0.0.1]:55132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw1g5-0006Pb-2K for submit@debbugs.gnu.org; Sun, 24 Sep 2017 03:50:13 -0400 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:56918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw1g3-0006PO-EK for 28571@debbugs.gnu.org; Sun, 24 Sep 2017 03:50:11 -0400 Original-Received: by mail-oi0-f50.google.com with SMTP id b184so3348237oii.13 for <28571@debbugs.gnu.org>; Sun, 24 Sep 2017 00:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B8jxfgqtYeJFccQrh02MsQ1OvuchRejkV6vlPe2n8KA=; b=OSmZ98OuGYQ+BJ6C4P+FY2K+wliFFwzOnhV58wxue03QA7kZSYd8oDlURpwOms8VYQ XjoPmYUrQ7Ca64cfvnUSgVy4OUBA/GqQ8QA5vi8/u1BhPwcaC5dWYBLXVcJFJD1buz2l rmPSBjZNLKcHY6NX6uxBTG29QWEpU8y1UJLBIm1pW68+FVToFMN1skjx3+VsvI2fXsv6 DJlLoxKTI/YIJNcekdDpuqlPzD7YFc+bc8eOXei466LnQKP9j4jQfY5m/EiMmu78dXPP z0Lj5cyIomv1MWSaIa8Ci6cQROmsJ00r8CUZc8NEO9vQzQkUuMvH5FTCVR+HmNUupqSL NirA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B8jxfgqtYeJFccQrh02MsQ1OvuchRejkV6vlPe2n8KA=; b=qoG9Fk0bQpjhPgXPnUiXDEbbaQmxWu+5XOtcWl0cDTHfNJl2+Uou14mwpMSFVKUbZ6 Sd/p0NhvlDw6lCZSpoSA/jooxQBHIQ552RbWS7MeMzcuuaEUzFxqKQF9q2bP7WGz0n9A fBWubgXcQRvMiQhCs217ouQo+fhJAxqUG4LB78HB/E95OQvA/n25Rwk0wIiq0fP5GQ/s BD465XXq6Gn7l/MHnzak7Sttq+ajC+H1uDZ9nn0q8aoDpjUlBUMSgnfobKaYk2jLjkb7 NhpaQRslFtKOPAIM43O+9WFhFMb3mV/Z/FK7yumd5Kt8zDfGe/woDeFF9BAKDfxReC7J Oumg== X-Gm-Message-State: AHPjjUh1fzfvJLTEyDaVtN3q4+pjgg4yAVFNpXlXiareAf/8woeSaw0X NccgNIlX0JD2hbMn6DNmuXGq1iR/tgA+w3cusUO6pA== X-Google-Smtp-Source: AOwi7QCZ3ow3qIfoCG00oXnfjm9r+i4uBJWSBb/ujrtH7urMBLdCOanQXLTgLAX7LKU5Z7qY+qbDcIG808Bo+IK8E10= X-Received: by 10.202.57.130 with SMTP id g124mr4403951oia.296.1506239405711; Sun, 24 Sep 2017 00:50:05 -0700 (PDT) In-Reply-To: <20170923193130.GB6576@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137323 Archived-At: --001a113cde84b96a0c0559eab0e8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alan Third 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 o= r > newer [-Werror,-Wunguarded-availability-new] > > result =3D utimensat (AT_FDCWD, file, ts, 0); > > ^~~~~~~~~ > > I can=E2=80=99t replicate, but I don=E2=80=99t have the full xcode instal= led, 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=E2=80=99s 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. --001a113cde84b96a0c0559eab0e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan T= hird <alan@idiocy.org> schrieb= am Sa., 23. Sep. 2017 um 21:31=C2=A0Uhr:
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
>=C2=A0 =C2=A0CC=C2=A0 =C2=A0 =C2=A0 =C2=A0utimens.o
> utimens.c:250:20: error: 'utimensat' is only available on macO= S 10.13 or newer [-Werror,-Wunguarded-availability-new]
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0result =3D utimensat (AT_FDCWD= , file, ts, 0);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^= ~~~~~~~~

I can=E2=80=99t replicate, but I don=E2=80=99t have the full xcode installe= d, just the
command line stuff.

I take it you upgraded Xcode the other day? (To version 9, I think?)

Yes, indeed.
=C2=A0

Is there maybe a test in configure that=E2=80=99s incorrectly identifying t= his
utimens.c stuff as OK?


I do have configure output like this:<= /div>

checking for fut= imens... 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.=C2=A0
<= /div>
--001a113cde84b96a0c0559eab0e8--