From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs,gmane.comp.lib.gnulib.bugs Subject: bug#26398: GNU LIB build fails on macOS 10.12.4 Date: Sat, 8 Apr 2017 01:24:46 -0700 Organization: UCLA Computer Science Department Message-ID: References: <999C877D-7C56-469F-971E-0F902F5D4A55@Maierh.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491639918 18609 195.159.176.226 (8 Apr 2017 08:25:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2017 08:25:18 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: Zack Weinberg , Gnulib bugs , 26398@debbugs.gnu.org To: Harald Maier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 08 10:25:09 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 1cwlgD-00049l-76 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 10:25:09 +0200 Original-Received: from localhost ([::1]:53911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwlgH-0005zU-Fn for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Apr 2017 04:25:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwlg7-0005z2-GU for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwlg6-00087h-En for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:25:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwlg6-00087c-BB for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cwlg6-0005xK-5F for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2017 04:25:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <999C877D-7C56-469F-971E-0F902F5D4A55@Maierh.de> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2017 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26398-submit@debbugs.gnu.org id=B26398.149163989622880 (code B ref 26398); Sat, 08 Apr 2017 08:25:02 +0000 Original-Received: (at 26398) by debbugs.gnu.org; 8 Apr 2017 08:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:37053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwlg0-0005wy-M4 for submit@debbugs.gnu.org; Sat, 08 Apr 2017 04:24:56 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:49330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwlfz-0005wk-6m for 26398@debbugs.gnu.org; Sat, 08 Apr 2017 04:24:55 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 442F71600B3; Sat, 8 Apr 2017 01:24:49 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MD2BQYkyh_-L; Sat, 8 Apr 2017 01:24:47 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 45FC31600B4; Sat, 8 Apr 2017 01:24:47 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qqFbI5c7aoe1; Sat, 8 Apr 2017 01:24:47 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 21C181600B3; Sat, 8 Apr 2017 01:24:47 -0700 (PDT) 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:131353 gmane.comp.lib.gnulib.bugs:37035 Archived-At: [Following up on http://bugs.gnu.org/26398 and CC'ing bug-gnulib and Zack= Weinberg.] > In file included from ./unistd.h:135: > In file included from ./getopt_pfx_core.h:52: > ./getopt_core.h:91:79: error: expected ';' after top level declarator > extern int getopt (int ___argc, char *const *___argv, const char *__sho= rtopts) Can you please send the preprocessor output for the failed compilation? That is, try running "make V=3D1". If the failed command looks like this: clang -c -Dthis -Dthat -Dtheother fstatat.c then run this command: clang -E -Dthis -Dthat -Dtheother fstatat.c >fstatat.i and send a copy of fstatat.i as an attachment. Also, can you find out which .h file defined __THROW and __nonnull in you= r=20 environment? I have the sneaking suspicion that it's some .h file other t= han=20 getopt_cdefs.h. Thanks.