[MacPorts] #58828: (gnutls, 10.9.1) Failed to build gnutls: command execution failed
MacPorts
noreply at macports.org
Tue Aug 13 16:09:21 UTC 2019
#58828: (gnutls,10.9.1) 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: mavericks
Port: gnutls |
----------------------+-------------------------
Changes (by ryandesign):
* owner: (none) => Schamschula
* status: new => assigned
Comment:
Installing a port also activates it, meaning it places its files on your
disk. Activating a port that is already installed and active does nothing.
You should not attempt to force activate a port unless you know exactly
why you are doing it and you are prepared to accept the consequences.
The `-f` flag and other single-letter flags do nothing unless placed
between the word `port` and the subcommand. (To force activate (which
again I do not recommend) you would have needed `sudo port -f activate
...`.)
Just installing a compiler port does not automatically cause it to be used
to build other ports. If a port needs a compiler that's provided by a
port, it will install it for you.
The log says the problem was:
{{{
:info:build Undefined symbols for architecture x86_64:
:info:build "___get_cpuid_count", referenced from:
:info:build _register_x86_crypto in libaccelerated.a(x86-common.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
}}}
This could have been a problem with an older compiler not providing this
function. If your command line tools were older than Xcode 5.1.1, that
could explain it. Make sure you install the latest command line tools to
match your Xcode version. We should update this port's blacklist so that
older compilers that don't have this function don't get used.
If you're really running OS X 10.9.1, please update to 10.9.5 plus the
latest security update.
--
Ticket URL: <https://trac.macports.org/ticket/58828#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list