[MacPorts] #57872: gnutls @3.6.5: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Wed Jan 9 03:55:06 UTC 2019
#57872: gnutls @3.6.5: error: thread-local storage is unsupported for the current
target
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: gnutls |
----------------------+---------------------------------------
Comment (by kencu):
sadly that didn't work. however there is a way:
{{{
$ port -v installed gnutls
The following ports are currently installed:
gnutls @3.6.5_0+doc (active) platform='darwin 10' archs='x86_64'
date='2019-01-08T19:51:10-0800'
}}}
I'm not sure how / why exactly yet, but this:
{{{
$ git diff
diff --git a/devel/gnutls/Portfile b/devel/gnutls/Portfile
index 98fb484487..9fdead8190 100644
--- a/devel/gnutls/Portfile
+++ b/devel/gnutls/Portfile
@@ -54,15 +54,10 @@ post-patch {
reinplace {/^#/d} {*}[glob
${worksrcpath}/lib/accelerated/x86/macosx/*.s]
}
-# use autoreconf to update glibtool to correctly handle -std
-use_autoreconf yes
-autoreconf.args -fvi
-
configure.args --disable-guile \
--disable-silent-rules \
--disable-libdane \
--disable-doc \
- --enable-local-libopts \
--enable-openssl-compatibility \
--with-p11-kit \
--with-system-priority-file="${prefix}/etc/gnutls
/default-priorities" \
}}}
plus building with clang-5.0, plus deactivating `autoconf` and `autogen`,
plus building in `trace` mode, plus having my system defaulting to
`libc++` -- some or all of that -- allowed it to build.
--
Ticket URL: <https://trac.macports.org/ticket/57872#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list