#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: High | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gnutls | ---------------------+---------------------------- Comment (by braumann@…): Replying to [comment:12 mschamschula@…]:
I managed to build gnutls 3.3.7 under Lion, using the following command:
{{{ sudo port install gnutls configure.compiler=macports-clang-3.4 }}}
This also works on SL 10.6.8, however {{{ sudo port install gnutls configure.compiler=macports-gcc-4.8 }}} works as well, and my guess is that earlier versions of macports' clang or gcc also work.
Thus, it seems that, perhaps, we need to blacklist the older Apple compilers. This would require some care, in particular when defining alternative compilers. macports-gcc-4.* does not allow for universal builds, and sadly clang-3.* is not working for PPC. I would prefer if some work-around referring to a compatibility header as was outlined above https://trac.macports.org/ticket/44755?replyto=12#comment:5 could be used. It would be sad to end up like for the boost port which presently can only be build using some manual hacks on PPC platforms, e.g. https://trac.macports.org/ticket/39809#comment:39 And yes, I am aware that PPC is no longer officially supported. However, if clang would work on PPC, those C11 issues easily could be worked around.
-- Ticket URL: <https://trac.macports.org/ticket/44755#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X