GNU bug report logs - #26398
26.0.50; GNU LIB build fails on macOS 10.12.4

Previous Next

Package: emacs;

Reported by: Harald Maier <Harald <at> Maierh.de>

Date: Sat, 8 Apr 2017 07:15:02 UTC

Severity: normal

Found in version 26.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Harald Maier <Harald <at> Maierh.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Gnulib bugs <bug-gnulib <at> gnu.org>, Zack Weinberg <zackw <at> panix.com>, 26398 <at> debbugs.gnu.org
Subject: bug#26398: GNU LIB build fails on macOS 10.12.4
Date: Sat, 8 Apr 2017 10:43:44 +0200
[Message part 1 (text/plain, inline)]
They __THROW and __nonnull are defined in „getopt_cdefs.h“.

The gcc command is

gcc -c    -MMD -MF deps/fstatat.d -MP    -g3 -O2 -I. -I../src -I. -I./../src  fstatat.c

The output from -E




> Am 08.04.2017 um 10:24 schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> 
> [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 *__shortopts)
> 
> Can you please send the preprocessor output for the failed compilation?
> That is, try running "make V=1". 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 your environment? I have the sneaking suspicion that it's some .h file other than getopt_cdefs.h.
> 
> Thanks.

[Message part 2 (text/html, inline)]
[fstatat.i (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]

This bug report was last modified 8 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.