From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE052138350 for ; Tue, 5 May 2020 06:21:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 024EDE0886; Tue, 5 May 2020 06:21:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1298E0886 for ; Tue, 5 May 2020 06:21:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5376F34F60E for ; Tue, 5 May 2020 06:21:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D58769C for ; Tue, 5 May 2020 06:21:27 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1588659682.10a51f6a197f8b6b8e146ca16bb458288943cc08.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/bind/bind-9.16.1.ebuild X-VCS-Directories: net-dns/bind/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 10a51f6a197f8b6b8e146ca16bb458288943cc08 X-VCS-Branch: master Date: Tue, 5 May 2020 06:21:27 +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: 298a3d53-9bc5-4e43-a7a4-dd2545d9a29e X-Archives-Hash: 10ab0cf2732005089341ed7a62cf2e62 commit: 10a51f6a197f8b6b8e146ca16bb458288943cc08 Author: Robin H. Johnson gentoo org> AuthorDate: Tue May 5 06:17:43 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue May 5 06:21:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a51f6a net-dns/bind: build fix for LDFLAGS=-Wl,-O1 The cmocka component introduced as a unit test framework in BIND 9.16 series does not link correctly if LDFLAGS include -Wl,-O1. It can be triggered directly, or via any pkg-config dependencies that includes that in LDFLAGS. This does not fix other QA errors already present, just disables building cmocka as the testing is already disabled in the ebuild. Closes: https://bugs.gentoo.org/710840 Signed-off-by: Robin H. Johnson gentoo.org> net-dns/bind/bind-9.16.1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-dns/bind/bind-9.16.1.ebuild b/net-dns/bind/bind-9.16.1.ebuild index 9628c36243a..12ea094a482 100644 --- a/net-dns/bind/bind-9.16.1.ebuild +++ b/net-dns/bind/bind-9.16.1.ebuild @@ -82,6 +82,7 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" # bug 479092, requires networking +# bug 710840, cmocka fails LDFLAGS='-Wl,-O1' RESTRICT="test" pkg_setup() { @@ -138,6 +139,7 @@ src_configure() { --enable-full-report --without-readline --with-openssl="${EPREFIX}"/usr + --without-cmocka $(use_enable caps linux-caps) $(use_enable dnsrps) $(use_enable dnstap)