[MacPorts] #44755: gnutls fails to build on ML buildbot (and probably others) due to missing stdnoreturn.h
MacPorts
noreply at macports.org
Sun Aug 24 15:36:32 PDT 2014
#44755: gnutls fails to build on ML buildbot (and probably others) due to missing
stdnoreturn.h
--------------------+----------------------------
Reporter: cal@… | Owner: mschamschula@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: gnutls
--------------------+----------------------------
Hi,
The
- SL: https://build.macports.org/builders/buildports-snowleopard-
x86_64/builds/28908
- Lion: https://build.macports.org/builders/buildports-lion-
x86_64/builds/22682, and
- ML: https://build.macports.org/builders/buildports-mtln-
x86_64/builds/16727
buildbots failed to build GnuTLS 3.3.7. The problem seems to be a missing
`stdnoreturn.h` header file in `src/libopts/autoopts.h`:
{{{
Making all in libopts
make[4]: Entering directory
`/opt/local/var/macports/build/_opt_mports_dports_devel_gnutls/gnutls/work/gnutls-3.3.7/src/libopts'
/bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/clang
-DHAVE_CONFIG_H -I. -I../.. -I../.. -I/opt/local/include -pipe -Os -arch
x86_64 -MT libopts_la-libopts.lo -MD -MP -MF .deps/libopts_la-libopts.Tpo
-c -o libopts_la-libopts.lo `test -f 'libopts.c' || echo './'`libopts.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../..
-I/opt/local/include -pipe -Os -arch x86_64 -MT libopts_la-libopts.lo -MD
-MP -MF .deps/libopts_la-libopts.Tpo -c libopts.c -fno-common -DPIC -o
.libs/libopts_la-libopts.o
In file included from libopts.c:12:
./autoopts.h:35:10: fatal error: 'stdnoreturn.h' file not found
#include <stdnoreturn.h>
^
1 error generated.
make[4]: *** [libopts_la-libopts.lo] Error 1
}}}
The file seems to be part of libopts, the problem seems to have been
introduced in version 3.3.7. `stdnoreturn.h` is part of the next C
standard, and seems to be unavailable on older systems. Upstream commit
that added the change was
{{{
commit 3d1a66d4f2716c72b146c6ec1feb2d886e2ef3b3
Author: Nikos Mavrogiannopoulos <nmav at gnutls.org>
Date: Tue Jul 29 22:21:36 2014 +0200
updated to libopts 5.18.3
}}}
I don't see why the new header was necessary, so the proper fix is
probably removing it completely.
Please advise upstream about this problem by filing a bug report in their
bug tracker.
--
Ticket URL: <https://trac.macports.org/ticket/44755>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list