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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92864158010 for ; Sun, 22 Jan 2023 23:08:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59925E0794; Sun, 22 Jan 2023 23:08:25 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 384F3E0794 for ; Sun, 22 Jan 2023 23:08:25 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20961340D1C for ; Sun, 22 Jan 2023 23:08:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7067D882 for ; Sun, 22 Jan 2023 23:08:22 +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: <1674428833.b9589621d3748e5bb7486ee14d32f87ec7bcc503.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/valgrind/valgrind-3.20.0-r1.ebuild dev-util/valgrind/valgrind-9999.ebuild X-VCS-Directories: dev-util/valgrind/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b9589621d3748e5bb7486ee14d32f87ec7bcc503 X-VCS-Branch: master Date: Sun, 22 Jan 2023 23:08:22 +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: 4da977a1-da95-48b5-9646-e8966e931e14 X-Archives-Hash: 01366a5faeaa6d48ac46d07648b11f3d commit: b9589621d3748e5bb7486ee14d32f87ec7bcc503 Author: Sam James gentoo org> AuthorDate: Sun Jan 22 23:07:02 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 22 23:07:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9589621 dev-util/valgrind: don't strip some components Per README_PACKAGERS, this breaks Valgrind at least a bit, and sometimes entirely. Signed-off-by: Sam James gentoo.org> .../{valgrind-9999.ebuild => valgrind-3.20.0-r1.ebuild} | 10 +++++++--- dev-util/valgrind/valgrind-9999.ebuild | 9 ++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/dev-util/valgrind/valgrind-9999.ebuild b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild similarity index 92% copy from dev-util/valgrind/valgrind-9999.ebuild copy to dev-util/valgrind/valgrind-3.20.0-r1.ebuild index aed73f6be21b..beb459c7a08c 100644 --- a/dev-util/valgrind/valgrind-9999.ebuild +++ b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ PATCHES=( # Respect CFLAGS, LDFLAGS "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch + "${FILESDIR}"/${P}-tests-clang16.patch ) src_prepare() { @@ -108,6 +109,9 @@ src_install() { pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux + # See README_PACKAGERS + dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/* + if [[ ${CHOST} == *-darwin* ]] ; then # fix install_names on shared libraries, can't turn them into bundles, # as dyld won't load them any more then, bug #306467 @@ -119,9 +123,9 @@ src_install() { } pkg_postinst() { - elog "Valgrind will not work if glibc does not have debug symbols." + elog "Valgrind will not work if libc (e.g. glibc) does not have debug symbols." elog "To fix this you can add splitdebug to FEATURES in make.conf" - elog "and remerge glibc. See:" + elog "and remerge glibc. See:" elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" diff --git a/dev-util/valgrind/valgrind-9999.ebuild b/dev-util/valgrind/valgrind-9999.ebuild index aed73f6be21b..13560a006c12 100644 --- a/dev-util/valgrind/valgrind-9999.ebuild +++ b/dev-util/valgrind/valgrind-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -108,6 +108,9 @@ src_install() { pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux + # See README_PACKAGERS + dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/* + if [[ ${CHOST} == *-darwin* ]] ; then # fix install_names on shared libraries, can't turn them into bundles, # as dyld won't load them any more then, bug #306467 @@ -119,9 +122,9 @@ src_install() { } pkg_postinst() { - elog "Valgrind will not work if glibc does not have debug symbols." + elog "Valgrind will not work if libc (e.g. glibc) does not have debug symbols." elog "To fix this you can add splitdebug to FEATURES in make.conf" - elog "and remerge glibc. See:" + elog "and remerge glibc. See:" elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"