[MacPorts] #58804: (gnutls at 10.6.8) failed to build gnutls - command execution failed
MacPorts
noreply at macports.org
Wed Aug 14 16:40:58 UTC 2019
#58804: (gnutls at 10.6.8) failed to build gnutls - command execution failed
----------------------+-------------------------------
Reporter: mrkapqa | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: gnutls youtube-dl
Port: gnutls |
----------------------+-------------------------------
Comment (by kencu):
`gnutls` is using a new symbol, `___get_cpuid_count` that exists only in
`gcc` and very new versions of `clang`. `clang-7.0` and newer appear to
have it.
On this 10.7.5 machine I have with me, the current portfile forces
`clang-8.0`, and that works.
The defaulting on `10.6.8` might be different. Please make sure your
portfiles are up to date, and then clean and try your install again:
{{{
sudo port selfupdate
sudo port clean gnutls
sudo port -v install gnutls
}}}
if it fails, then the blacklisting and fallbacks are wrong. In that case,
force clang-8.0 yourself like this:
{{{
sudo port clean gnutls
sudo port -v -N install clang-8.0
sudo port -v install gnutls configure.compiler=macports-clang-8.0
}}}
and that should work. Report back success or failure.
Aside:
It might be simpler to just add a replacement for `___get_cpuid_count`, I
think. See <https://reviews.llvm.org/D61036> and <https://github.com/gcc-
mirror/gcc/blob/master/gcc/config/i386/cpuid.h>.
--
Ticket URL: <https://trac.macports.org/ticket/58804#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list