<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Yesterday there was a PR <a href="https://github.com/macports/macports-ports/pull/14613" class="">https://github.com/macports/macports-ports/pull/14613</a> to move gnutls to the 3.7.x branch. FreeBSD and Homebrew have done so, even though upstream have not declared this branch as stable.</div><div class=""><br class=""></div><div class="">I am modifying the Portfile to add a gnutls-devel subport, as it is normal for gnutls to have a stable and unstable branch.</div><div class=""><br class=""></div><div class="">However, the PR ran into a build issue, which I have replicated:</div><div class=""><br class=""></div><div class=""><pre class="notranslate" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 11.899999618530273px; margin-top: 0px; margin-bottom: 16px; word-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; border-radius: 6px; caret-color: rgb(123, 134, 147); color: rgb(123, 134, 147);"><code class="notranslate" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; padding: 0px; margin: 0px; border-radius: 6px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;"> libtool: link: /usr/bin/clang -dynamiclib  -o .libs/libgnutls.30.dylib  .libs/range.o .libs/record.o .libs/compress.o .libs/debug.o .libs/cipher.o .libs/handshake-tls13.o .libs/mbuffers.o .libs/buffers.o .libs/handshake.o .libs/errors.o .libs/dh.o .libs/kx.o .libs/cipher-cbc.o .libs/priority.o .libs/hash_int.o .libs/cipher_int.o .libs/session.o .libs/db.o .libs/x509_b64.o .libs/hello_ext.o .libs/auth.o .libs/sslv2_compat.o .libs/datum.o .libs/session_pack.o .libs/mpi.o .libs/pk.o .libs/cert-cred.o .libs/global.o .libs/constate.o .libs/anon_cred.o .libs/pkix_asn1_tab.o .libs/gnutls_asn1_tab.o .libs/mem.o .libs/fingerprint.o .libs/tls-sig.o .libs/ecc.o .libs/alert.o .libs/privkey_raw.o system/.libs/certs.o system/.libs/threads.o system/.libs/fastopen.o system/.libs/sockets.o .libs/str-iconv.o .libs/system.o .libs/profiles.o inih/.libs/ini.o .libs/str.o .libs/str-unicode.o .libs/str-idna.o .libs/state.o .libs/cert-cred-x509.o .libs/file.o .libs/supplemental.o .libs/random.o .libs/crypto-api.o .libs/privkey.o .libs/pcert.o .libs/pubkey.o .libs/locks.o .libs/dtls.o .libs/system_override.o .libs/crypto-backend.o .libs/verify-tofu.o .libs/pin.o .libs/tpm.o .libs/fips.o .libs/safe-memfuncs.o .libs/atfork.o .libs/randomart.o .libs/urls.o .libs/prf.o .libs/auto-verify.o .libs/dh-session.o .libs/cert-session.o .libs/handshake-checks.o .libs/dtls-sw.o .libs/dh-primes.o .libs/openpgp_compat.o .libs/crypto-selftests.o .libs/crypto-selftests-pk.o .libs/secrets.o .libs/extv.o .libs/hello_ext_lib.o .libs/ocsp-api.o .libs/stek.o .libs/cert-cred-rawpk.o .libs/iov.o system/.libs/ktls.o .libs/vko.o system/.libs/keys-dummy.o tls13/.libs/encrypted_extensions.o tls13/.libs/certificate_request.o tls13/.libs/certificate_verify.o .libs/tls13-sig.o tls13/.libs/finished.o tls13/.libs/key_update.o tls13/.libs/hello_retry.o tls13/.libs/session_ticket.o tls13/.libs/certificate.o tls13/.libs/early_data.o tls13/.libs/post_handshake.o tls13/.libs/psk_ext_parser.o tls13/.libs/anti_replay.o .libs/pkcs11.o .libs/pkcs11x.o .libs/pkcs11_privkey.o .libs/pkcs11_write.o .libs/pkcs11_secret.o .libs/pkcs11_int.o .libs/srp.o .libs/psk.o   -Wl,-force_load,../gl/.libs/libgnu.a -Wl,-force_load,x509/.libs/libgnutls_x509.a -Wl,-force_load,ext/.libs/libgnutls_ext.a -Wl,-force_load,auth/.libs/libgnutls_auth.a -Wl,-force_load,algorithms/.libs/libgnutls_alg.a -Wl,-force_load,extras/.libs/libgnutls_extras.a -Wl,-force_load,accelerated/.libs/libaccelerated.a -Wl,-force_load,nettle/.libs/libcrypto.a  -framework Security -framework CoreFoundation -L/opt/local/lib -lz -lintl -lp11-kit -lzstd -lidn2 -lunistring -lpthread -ltasn1 -lnettle -lhogweed -lgmp  -Os -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wl,-framework -Wl,CoreFoundation   -framework Security -framework CoreFoundation -install_name  /opt/local/lib/libgnutls.30.dylib -compatibility_version 63 -current_version 63.0 -Wl,-single_module

 libtool: link: nmedit -s .libs/libgnutls-symbols.expsym .libs/libgnutls.30.dylib

  /Library/Developer/CommandLineTools/usr/bin/nmedit: error: symbols names listed in: .libs/libgnutls-symbols.expsym not in: /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_devel_gnutls/gnutls/work/gnutls-3.7.4/lib/.libs/libgnutls.30.dylib

 __gnutls_x86_cpuid_s</code></pre><div class="">Note: __gnutls_x86_cpuid_s is defined in accelerated/.libs/libaccelerated.a and should have been loaded by -Wl,-force_load,accelerated/.libs/libaccelerated.a</div></div><div class=""><br class=""></div><div class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Unfortunately, there is little information available to diagnose this issue. Any suggestions would be appreciated!</div></div><div class=""><br class=""></div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>

<br class=""></div></body></html>