From nobody Mon Feb 26 08:31:44 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tjv3h5xcyz5Cgyr; Mon, 26 Feb 2024 08:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tjv3h5V22z4ldf; Mon, 26 Feb 2024 08:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708936304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91N5EmUXKnW4jgkLNzGwec7wiA2Hh3t+pt3/D8LF6sg=; b=hxKPEc8HaWzp1nqmi9tyTzqgoi11/VYkZsf8r+mUP4p93rVunvdb0gQr9Ht1SxPGsyERA6 4G7MTbpB+hkf/3ga9fOB0RTejnqV27d7u1jt7GJ7kxpJxG6LS3PfEVUujifC2w/dqfz/7c Uq5iM0CcnztSjaAivqmLne/zwaA0bSwejgm/cT+3fNvzjpfQVMQtlgbB1cZxRMJ2uvZ0+2 E2DoDzVZwHuMB3r6uOEkVs7gf9C8W4Up6ZXyZdtxoEBazVHfHKWZqy2WfLt3txL2l1m4RS Kw3/wPWxLu7lYPnDVa/FDaR+q63IjZRIIe1eIz4pngKKPpwbYgm9ERDrhffsEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708936304; a=rsa-sha256; cv=none; b=g2xl78U7JxxxMioJI2ZFkA4NVL5Hrdw0EvMRnhVJumRMqzouPvQKcLfXrFmV0qOmo7KJ8t IiG/gGe9rBoVBZ9HYCxR1V4TXTvAqggnPkHlz6dlwsWXgDILIdiu6CZFPD86jnVbgF2fjZ ieP9g2LstIdFkjyy/yD0TWXoKHgFAhhqzrB4TOcHXzealz4ESVfjMcOS6N8uooIsoBR7Gd pBcTHBvPqeY0T1kJEn4O61Yg7flvZdLPxvcu/RBL9Hw2MjkUZFDMVqS5qbwokRjMPpwQ/u MZVE4DNF/VdfBpnohJ8qQZ4X+5D387pWpfZNNL+YUgxUxu1Lu/PQN5Mw/u5tZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708936304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91N5EmUXKnW4jgkLNzGwec7wiA2Hh3t+pt3/D8LF6sg=; b=DPJxOZ+k/+HRKCCJe89nXAjIplza9iGceYHbS6DSvH9rhfASLSMGYwW9Xykgn4j00AMfBN BD6r1SwkaUwGDuCRBMUXQqBR+0imr62b0vdOsHvZhZ64VS3yggZzQAibaQ9ijXiQpTFE1A XqfamzSlQPT7DOdD6yAmIuR94h/qNd2Ksshd13nrnQgJ9V9apkQ3OixWVDyxEIckutpuJi kWJ9AFR0URfWBgAVU3JKa3qGwRWNF+23jMQywmjPG2fpQPErkcBJ4k5DtZAetKkA/JxIoa Cc8LCIRTtv5gEBDUYgq265hQFsu3JqBr+DOas0RHmTPO+sYEBfv6Utxqb3Yr+Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tjv3h4XVgzLPF; Mon, 26 Feb 2024 08:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41Q8Virv005055; Mon, 26 Feb 2024 08:31:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41Q8ViUc005052; Mon, 26 Feb 2024 08:31:44 GMT (envelope-from git) Date: Mon, 26 Feb 2024 08:31:44 GMT Message-Id: <202402260831.41Q8ViUc005052@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 2b7869778cf1 - main - security/gnutls: fix build with lld 17 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2b7869778cf1e412eb3f7940e43a4a393bfd4a68 Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b7869778cf1e412eb3f7940e43a4a393bfd4a68 commit 2b7869778cf1e412eb3f7940e43a4a393bfd4a68 Author: Baptiste Daroussin AuthorDate: 2024-02-26 08:27:12 +0000 Commit: Baptiste Daroussin CommitDate: 2024-02-26 08:31:17 +0000 security/gnutls: fix build with lld 17 Since lld17 the default is to have the LDFLAGS --no-undefined-version activated by default, which means that versions scripts should not contain undefined symbols 2 bugs in gnutls: 1/ the configure scripts tests an empty binary against a list of version symbols, meaning it breaks in configure (hence the activation of --enable-ld-version-scripts) which means currently provided gnutls packages are build without version scripts which breaks existing installations... 2/ the version script used to link the binary can contain undefined symbols depending on the options used to build (hence the addition of the LDFLAGS. --- security/gnutls/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 5a7a38512a6a..e50fc1de0620 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,6 +1,6 @@ PORTNAME= gnutls PORTVERSION= 3.7.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= GNUPG/gnutls/v${PORTVERSION:R} @@ -31,7 +31,9 @@ CONFIGURE_ARGS= --disable-guile \ --without-brotli \ --without-zstd \ --without-tpm \ - --without-tpm2 + --without-tpm2 \ + --enable-ld-version-script +LDFLAGS= -Wl,--undefined-version MAKE_ENV= MAKEINFOFLAGS=--no-split INSTALL_TARGET= install-strip TEST_TARGET= check