From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60BF7158200 for ; Sun, 14 Sep 2025 10:47:36 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 06823340F50 for ; Sun, 14 Sep 2025 10:47:36 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DD892110573; Sun, 14 Sep 2025 10:46:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CD3DB110571 for ; Sun, 14 Sep 2025 10:46:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42DD5340E1F for ; Sun, 14 Sep 2025 10:46:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9A293361 for ; Sun, 14 Sep 2025 10:45:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757846662.ff7e542ec0fc8c1a21c3ddb3e53fb3adb5b8ae55.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/tdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/tdb/tdb-1.4.12.ebuild sys-libs/tdb/tdb-1.4.13.ebuild X-VCS-Directories: sys-libs/tdb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff7e542ec0fc8c1a21c3ddb3e53fb3adb5b8ae55 X-VCS-Branch: master Date: Sun, 14 Sep 2025 10:45:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 178a85b6-7afe-454a-b1b0-5c1c5d109200 X-Archives-Hash: 7c4f0fd9ecc5c6d9df2921f4cdb98541 commit: ff7e542ec0fc8c1a21c3ddb3e53fb3adb5b8ae55 Author: Z. Liu gmail com> AuthorDate: Sat Jul 19 12:40:16 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 14 10:44:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7e542e sys-libs/tdb: always pass -Wl,--undefined-version if supported otherwise, for example, lld will report: > ld.lld: error: version script assignment of 'TDB_1.2.1' to symbol 'tdb_do_delete' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined > ld.lld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Closes: https://bugs.gentoo.org/914857 Signed-off-by: Z. Liu gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43064 Signed-off-by: Sam James gentoo.org> sys-libs/tdb/tdb-1.4.12.ebuild | 4 +++- sys-libs/tdb/tdb-1.4.13.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-libs/tdb/tdb-1.4.12.ebuild b/sys-libs/tdb/tdb-1.4.12.ebuild index d179aa7975e2..247211f778d6 100644 --- a/sys-libs/tdb/tdb-1.4.12.ebuild +++ b/sys-libs/tdb/tdb-1.4.12.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="threads(+)" -inherit waf-utils multilib-minimal python-single-r1 +inherit waf-utils multilib-minimal python-single-r1 flag-o-matic DESCRIPTION="Simple database API" HOMEPAGE="https://tdb.samba.org/" @@ -60,6 +60,8 @@ multilib_src_configure() { extra_opts+=( --disable-python ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914857 + waf-utils_src_configure "${extra_opts[@]}" } diff --git a/sys-libs/tdb/tdb-1.4.13.ebuild b/sys-libs/tdb/tdb-1.4.13.ebuild index cb95a311aa94..33c9b263f635 100644 --- a/sys-libs/tdb/tdb-1.4.13.ebuild +++ b/sys-libs/tdb/tdb-1.4.13.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="threads(+)" -inherit waf-utils multilib-minimal python-single-r1 +inherit waf-utils multilib-minimal python-single-r1 flag-o-matic DESCRIPTION="Simple database API" HOMEPAGE="https://tdb.samba.org/" @@ -60,6 +60,8 @@ multilib_src_configure() { extra_opts+=( --disable-python ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914857 + waf-utils_src_configure "${extra_opts[@]}" }