From nobody Fri Nov 01 17:47:52 2024 X-Original-To: dev-commits-ports-main@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 4Xg7cS6rh1z5cBPk; Fri, 01 Nov 2024 17:47:52 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xg7cS6KYbz4DLc; Fri, 1 Nov 2024 17:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730483272; 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=AVX3hwccac8ckeSV5PUVSyCer66fBPkMuOvd38c+/3I=; b=PHaNw2oNbKuLl/WpNjqUfESzWYQ1ZcG5lCLxLaDmQmd+Xa1em7+nMUjPdPy6CjjaLRWiJZ 8xk8azKdczqA2oZ8DQAIXfoMZxAO08gyCq6/DPpN4IbBHWTjTHqwEPsa6Ej9G43vpy0ARh T7r6+B/SDx9pVetLWAmepTCt9cDj/73azK8TM4a1yA7XRVHlGwkAsoOWxcsdeLgQJ/9xat mvAdUedSMwqyFFrQx7fX3Kmz7nqUr+JboViF9ItRamZF4lbdwTfkqcQSkf5/2Vm9a6mnV8 gNhP19fqEfODnkIiBz4sDZkt/ayAVdqv2TU7p9lPlN1s2XnF5SyNTVy1iYpvbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730483272; 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=AVX3hwccac8ckeSV5PUVSyCer66fBPkMuOvd38c+/3I=; b=ptkyQYSVhod0XxidK3fD40ktIT4rUYocbyUF+c9GvcgNt/qYv8cIaDf+C9Ee2h/4O9uYKC g83ibF7QC2d16ErzvOj7YwlMsD1W9MN70Aui50MM0Jh7I41zWSuKrgnc+e1Lj6ob5PQ07y T2Qi0Bk/igpjVaXsqW7mG2HlkAWRW+eUjets0UAtumh47SNSg6KLCNBys4cMFx9esus+wu wG0OQ+EFK5BGsngtmBbv5zgpNr4ETdor+UndFFxFVQDjLPWdR9gmsQJjijorMMffY7Bemj 5hk+i57ypdijzOg6hLJmce2O/i0ZI6H6Iylpw6xuPlfjEkqw7geF+NTtvW2a2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730483272; a=rsa-sha256; cv=none; b=rZ7i/PM6PUtUsJk93iObFJCiOTUJe39ehhYmQgRVl6tp3kmFABxLhNTe7AdSu87cFUDWEM fw8jlqwtwj+1K5CP4Grbh56ivd1BPSzg8/V8UPLHhGk9jnmFX+r7jsCuUBvqORHEfMN0N8 n0kOY8nYOYqjLlOQA1MqH8DRLhIr4WLnEn0NPbK1I0+Cu+b5rUfPi2miK/G8kdzckips/t nsJATGXVIydP0Nla8URXtILsIbiur/1vSwsn3XOtsAX1eSqFzoBqHyr5XCaWi6TdrYdSbC kuTk24MgHwFI3Ku9C8sXB5fWCC4c7ryucE87cQ9Shevkbz88P+27YA+e4mEo8A== 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 4Xg7cS5nz0zW3q; Fri, 1 Nov 2024 17:47:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A1HlqIx054382; Fri, 1 Nov 2024 17:47:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A1HlqLm054379; Fri, 1 Nov 2024 17:47:52 GMT (envelope-from git) Date: Fri, 1 Nov 2024 17:47:52 GMT Message-Id: <202411011747.4A1HlqLm054379@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 148d4c8dd90e - main - net/librdkafka: work around undefined version symbol error List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 148d4c8dd90e2fbd7d4ed05eabf06f647790b395 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=148d4c8dd90e2fbd7d4ed05eabf06f647790b395 commit 148d4c8dd90e2fbd7d4ed05eabf06f647790b395 Author: Dimitry Andric AuthorDate: 2024-09-10 08:04:03 +0000 Commit: Dimitry Andric CommitDate: 2024-11-01 17:47:13 +0000 net/librdkafka: work around undefined version symbol error When building outside of poudriere, net/librdkafka can fail to link, with an error similar to: ld: error: version script assignment of 'global' to symbol 'rd_ut_coverage_check' failed: symbol not defined Work around this by adding -Wl,--undefined-version to LDFLAGS. While here, pet portlint. PR: 275866 Approved by: maintainer timeout (2 weeks) MFH: 2024Q4 --- net/librdkafka/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/librdkafka/Makefile b/net/librdkafka/Makefile index 0a29f744a9a8..3c5421825f54 100644 --- a/net/librdkafka/Makefile +++ b/net/librdkafka/Makefile @@ -1,6 +1,6 @@ PORTNAME= librdkafka -DISTVERSION= 2.3.0 DISTVERSIONPREFIX= v +DISTVERSION= 2.3.0 CATEGORIES= net MAINTAINER= pizzamig@FreeBSD.org @@ -29,6 +29,7 @@ MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig CONFIGURE_ARGS+= --disable-sasl \ --enable-ssl \ --enable-strip +LDFLAGS+= -Wl,--undefined-version USE_LDCONFIG= yes