public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  3:17 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  3:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d6b889ecc8667342d6de9ac980a2665f77663849
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 03:16:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 03:16:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b889ec

dev-debug/valgrind: Stabilize 3.21.0-r1 arm, #908143

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
index 9b78aebad2fb..0e097ae8d7f1 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
@@ -15,7 +15,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  3:17 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  3:17 UTC (permalink / raw
  To: gentoo-commits

commit:     791303199f408aac81372cffb1b4eb0ab2a17d1b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 03:16:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 03:16:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79130319

dev-debug/valgrind: Stabilize 3.21.0-r1 ppc, #908143

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
index 0e097ae8d7f1..632b096a9c08 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
@@ -15,7 +15,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  4:08 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  4:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ff5a67a9155ef0cb3d4b6a04ae8a09f8b67b534a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 04:08:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 04:08:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5a67a9

dev-debug/valgrind: Stabilize 3.21.0-r2 arm64, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index 1c6ad6cb0422..4fffdd3b3c6a 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  4:14 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  4:14 UTC (permalink / raw
  To: gentoo-commits

commit:     ce7c6c4dcc96f9bee0b3a75850d50725a0211342
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 04:14:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 04:14:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7c6c4d

dev-debug/valgrind: Stabilize 3.21.0-r2 amd64, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index 4fffdd3b3c6a..498febbd854b 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  4:19 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  4:19 UTC (permalink / raw
  To: gentoo-commits

commit:     57d08811513a5a620f137e2a981d43809d595c52
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 04:19:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 04:19:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d08811

dev-debug/valgrind: Stabilize 3.21.0-r2 ppc64, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index 498febbd854b..a434040c1f8b 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-01-14  4:32 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-01-14  4:32 UTC (permalink / raw
  To: gentoo-commits

commit:     11045bb593445b60b5fdc40a0c1cfa129aa7a4c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 04:32:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 04:32:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11045bb5

dev-debug/valgrind: Stabilize 3.21.0-r2 x86, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index a434040c1f8b..9f38c6b898d2 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-20  4:23 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-20  4:23 UTC (permalink / raw
  To: gentoo-commits

commit:     cac914e6f8c3963c000640124432d2a125999e16
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 04:16:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 04:16:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac914e6

dev-debug/valgrind: add 3.23.0_rc1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                   |   2 +
 dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild | 154 ++++++++++++++++++++++++++
 2 files changed, 156 insertions(+)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 53d46a910f48..8ac610d293c2 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -2,3 +2,5 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
+DIST valgrind-3.23.0.RC1.tar.bz2 16320808 BLAKE2B e66bdef3dcd1c5793bdd263dc12f55797d1b07add6c07cc57e06564a3b50447653a0e418be3bfecf1bffb15be7f0b906a75015a4c5f30d201eff9e79b72871f3 SHA512 6d9b95ce919ffa1993265c2972b407beb2879b87f84efd61ada4e75f334b332917a726b053c5dbc64b970a55334189c48ccae9231934c9474b65eb6ec1e2c18f
+DIST valgrind-3.23.0.RC1.tar.bz2.asc 488 BLAKE2B d413285e74965581b7f1ab8f4ea8ef6b182ae73462d4ca4a5d34b6eafa70a4be3b36a92a1b9a84ee626817e9c87e9a67659e43cc7f6ec504a3afc609365b6441 SHA512 d0552673053bfeb1c5aba9fdee25e6e280de204d84d8bc8a0a723041844dea7071fdf55cdc8e3120ef42eb6adf746c725cca89471cf58d546c1112e3655cf688

diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild b/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
new file mode 100644
index 000000000000..625625cc2679
--- /dev/null
+++ b/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# The Valgrind upstream maintainer also maintains it in Fedora and will
+# backport fixes there which haven't yet made it into a release. Keep an eye
+# on it for fixes we should cherry-pick too:
+# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
+#
+# Also check the ${PV}_STABLE branch upstream for backports.
+
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://valgrind.org"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
+	inherit git-r3
+else
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
+	inherit verify-sig
+
+	MY_P="${P/_rc/.RC}"
+	SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2"
+	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
+	S="${WORKDIR}"/${MY_P}
+
+	if [[ ${PV} != *_rc* ]] ; then
+		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	fi
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+if [[ ${PV} != 9999 ]] ; then
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+fi
+
+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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
+	# From stable branch
+)
+
+src_prepare() {
+	# Correct hard coded doc location
+	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
+
+	# Don't force multiarch stuff on OSX, bug #306467
+	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
+
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# upstream doesn't support this, but we don't build with
+		# Sun/Oracle ld, we have a GNU toolchain, so get some things
+		# working the Linux/GNU way
+		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
+			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+	fi
+
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
+	)
+
+	# Respect ar, bug #468114
+	tc-export AR
+
+	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
+	#                       while compiling insn_sse.c in none/tests/x86
+	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
+	#                       because valgrind doesn't link to glibc (bug #114347)
+	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
+	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
+	# -fstack-protector-strong See -fstack-protector (bug #620402)
+	# -m64 -mx32			for multilib-portage, bug #398825
+	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
+	# -flto*                fails to build, bug #858509
+	filter-flags -fomit-frame-pointer
+	filter-flags -fstack-protector
+	filter-flags -fstack-protector-all
+	filter-flags -fstack-protector-strong
+	filter-flags -m64 -mx32
+	filter-flags -fsanitize -fsanitize=*
+	filter-flags -fharden-control-flow-redundancy
+	append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
+	filter-lto
+
+	if use amd64 || use ppc64; then
+		! has_multilib_profile && myconf+=("--enable-only64bit")
+	fi
+
+	# Force bitness on darwin, bug #306467
+	use x64-macos && myconf+=("--enable-only64bit")
+
+	# Don't use mpicc unless the user asked for it (bug #258832)
+	if ! use mpi; then
+		myconf+=("--without-mpicc")
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# fxsave.o, tronical.o have textrels
+	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
+}
+
+src_install() {
+	default
+
+	if [[ ${PV} == "9999" ]]; then
+		# Otherwise FAQ.txt won't exist:
+		emake -C docs FAQ.txt
+		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
+	fi
+
+	dodoc FAQ.txt
+
+	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
+		local l
+		for l in "${ED}"/usr/lib/valgrind/*.so ; do
+			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
+		done
+	fi
+}
+
+pkg_postinst() {
+	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 "https://bugs.gentoo.org/214065"
+	elog "https://bugs.gentoo.org/274771"
+	elog "https://bugs.gentoo.org/388703"
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-24 23:03 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-24 23:03 UTC (permalink / raw
  To: gentoo-commits

commit:     64b018a2c40307b048017ee4b9e9afafe1ffb19e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 24 23:02:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 23:02:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b018a2

dev-debug/valgrind: add upstream bug link for -fno-sa in tests, sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild | 1 +
 dev-debug/valgrind/valgrind-9999.ebuild       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild b/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
index 625625cc2679..312c4f8b724e 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
@@ -115,6 +115,7 @@ src_configure() {
 
 src_test() {
 	# fxsave.o, tronical.o have textrels
+	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
 	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
 }
 

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index e79b850d13a3..312c4f8b724e 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -115,7 +115,8 @@ src_configure() {
 
 src_test() {
 	# fxsave.o, tronical.o have textrels
-	emake LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
+	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
+	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-25  8:55 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-25  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8f4e490c3b2462e43047a116ec41847c418dfc26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 24 23:16:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 08:54:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4e490c

dev-debug/valgrind: add 3.23.0_rc2, drop 3.23.0_rc1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                                           | 4 ++--
 .../{valgrind-3.23.0_rc1.ebuild => valgrind-3.23.0_rc2.ebuild}        | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 8ac610d293c2..a508db6fee2a 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -2,5 +2,5 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
-DIST valgrind-3.23.0.RC1.tar.bz2 16320808 BLAKE2B e66bdef3dcd1c5793bdd263dc12f55797d1b07add6c07cc57e06564a3b50447653a0e418be3bfecf1bffb15be7f0b906a75015a4c5f30d201eff9e79b72871f3 SHA512 6d9b95ce919ffa1993265c2972b407beb2879b87f84efd61ada4e75f334b332917a726b053c5dbc64b970a55334189c48ccae9231934c9474b65eb6ec1e2c18f
-DIST valgrind-3.23.0.RC1.tar.bz2.asc 488 BLAKE2B d413285e74965581b7f1ab8f4ea8ef6b182ae73462d4ca4a5d34b6eafa70a4be3b36a92a1b9a84ee626817e9c87e9a67659e43cc7f6ec504a3afc609365b6441 SHA512 d0552673053bfeb1c5aba9fdee25e6e280de204d84d8bc8a0a723041844dea7071fdf55cdc8e3120ef42eb6adf746c725cca89471cf58d546c1112e3655cf688
+DIST valgrind-3.23.0.RC2.tar.bz2 16551949 BLAKE2B 0104a56006cd4a1f4d3195c69d76b13f3eebb15b3cd490e6b78f5b0ad6267488e5b1b5502711fba171d213158d2bc9f4644c9f15b73ed00533748117afba5eef SHA512 36d20c08442bd00ae560693517d69ab5cc1665b210cb7510e6ab7cfa7ce7a35e0f289fdbedc0b1c682ad2698586e49c8c65e52bbe699eef3aec6b7b1fdb5b961
+DIST valgrind-3.23.0.RC2.tar.bz2.asc 488 BLAKE2B bc858fe769d9cc28ab0d17738075e0523de701bf67fc0f80bdbc258465fd1b60cedd7730156a186db20406b8a35fe79f6e58daf718dd59852384f7b445d2ce7d SHA512 b91c2ab157a3cf3042cde2b531a33b063d92c5bef8ae7e097d860b2b19a84ad372e4b7057a6d49ec8ad51a2cb2a80ecdf02115813f1c517b674a810876552512

diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild b/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild
similarity index 100%
rename from dev-debug/valgrind/valgrind-3.23.0_rc1.ebuild
rename to dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-25  8:55 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-25  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     6ada69a5bb8289f32d04b3eeaf354b2e089692b5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 08:53:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 08:54:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ada69a5

dev-debug/valgrind: stop filtering LTO

mjw pointed out that Valgrind has a --enable-lto configure arg but it also
seems to work well nowadays. Valgrind is a special-case so use it.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild | 3 ++-
 dev-debug/valgrind/valgrind-9999.ebuild       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild b/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild
index 312c4f8b724e..5a073f147105 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild
@@ -75,6 +75,8 @@ src_configure() {
 		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
 	)
 
+	tc-is-lto && myconf+=( --enable-lto )
+
 	# Respect ar, bug #468114
 	tc-export AR
 
@@ -87,7 +89,6 @@ src_configure() {
 	# -fstack-protector-strong See -fstack-protector (bug #620402)
 	# -m64 -mx32			for multilib-portage, bug #398825
 	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
-	# -flto*                fails to build, bug #858509
 	filter-flags -fomit-frame-pointer
 	filter-flags -fstack-protector
 	filter-flags -fstack-protector-all

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index 312c4f8b724e..5a073f147105 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -75,6 +75,8 @@ src_configure() {
 		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
 	)
 
+	tc-is-lto && myconf+=( --enable-lto )
+
 	# Respect ar, bug #468114
 	tc-export AR
 
@@ -87,7 +89,6 @@ src_configure() {
 	# -fstack-protector-strong See -fstack-protector (bug #620402)
 	# -m64 -mx32			for multilib-portage, bug #398825
 	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
-	# -flto*                fails to build, bug #858509
 	filter-flags -fomit-frame-pointer
 	filter-flags -fstack-protector
 	filter-flags -fstack-protector-all


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-26 19:36 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-26 19:36 UTC (permalink / raw
  To: gentoo-commits

commit:     95aa4204708549ddfcc701708d05c1bb3e4f6f83
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 19:03:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 19:35:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95aa4204

dev-debug/valgrind: add 3.23.0, drop 3.23.0_rc2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                                           | 4 ++--
 .../valgrind/{valgrind-3.23.0_rc2.ebuild => valgrind-3.23.0.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index a508db6fee2a..21a5e4c20e6d 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -2,5 +2,5 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
-DIST valgrind-3.23.0.RC2.tar.bz2 16551949 BLAKE2B 0104a56006cd4a1f4d3195c69d76b13f3eebb15b3cd490e6b78f5b0ad6267488e5b1b5502711fba171d213158d2bc9f4644c9f15b73ed00533748117afba5eef SHA512 36d20c08442bd00ae560693517d69ab5cc1665b210cb7510e6ab7cfa7ce7a35e0f289fdbedc0b1c682ad2698586e49c8c65e52bbe699eef3aec6b7b1fdb5b961
-DIST valgrind-3.23.0.RC2.tar.bz2.asc 488 BLAKE2B bc858fe769d9cc28ab0d17738075e0523de701bf67fc0f80bdbc258465fd1b60cedd7730156a186db20406b8a35fe79f6e58daf718dd59852384f7b445d2ce7d SHA512 b91c2ab157a3cf3042cde2b531a33b063d92c5bef8ae7e097d860b2b19a84ad372e4b7057a6d49ec8ad51a2cb2a80ecdf02115813f1c517b674a810876552512
+DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
+DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80

diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild
similarity index 100%
rename from dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild
rename to dev-debug/valgrind/valgrind-3.23.0.ebuild


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-04-26 21:35 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-04-26 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     5514123820c205bada4151f0a35400858e7be95f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 21:34:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 21:34:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55141238

dev-debug/valgrind: install man pages in live ebuild

Thanks to mjw for helping out.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0.ebuild | 20 +++++++++++++-------
 dev-debug/valgrind/valgrind-9999.ebuild   | 20 +++++++++++++-------
 2 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild
index 5a073f147105..efcec418f726 100644
--- a/dev-debug/valgrind/valgrind-3.23.0.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0.ebuild
@@ -37,8 +37,14 @@ IUSE="mpi"
 
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
-	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+if [[ ${PV} == 9999 ]] ; then
+	# Needed for man pages
+	BDEPEND+="
+		app-text/docbook-xsl-stylesheets
+		dev-libs/libxslt
+	"
+else
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
 fi
 
 PATCHES=(
@@ -121,14 +127,14 @@ src_test() {
 }
 
 src_install() {
-	default
-
-	if [[ ${PV} == "9999" ]]; then
-		# Otherwise FAQ.txt won't exist:
-		emake -C docs FAQ.txt
+	if [[ ${PV} == 9999 ]]; then
+		# TODO: Could do HTML docs too with 'all-docs'
+		emake -C docs man-pages FAQ.txt
 		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
 	fi
 
+	default
+
 	dodoc FAQ.txt
 
 	pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index 5a073f147105..efcec418f726 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -37,8 +37,14 @@ IUSE="mpi"
 
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
-	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+if [[ ${PV} == 9999 ]] ; then
+	# Needed for man pages
+	BDEPEND+="
+		app-text/docbook-xsl-stylesheets
+		dev-libs/libxslt
+	"
+else
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
 fi
 
 PATCHES=(
@@ -121,14 +127,14 @@ src_test() {
 }
 
 src_install() {
-	default
-
-	if [[ ${PV} == "9999" ]]; then
-		# Otherwise FAQ.txt won't exist:
-		emake -C docs FAQ.txt
+	if [[ ${PV} == 9999 ]]; then
+		# TODO: Could do HTML docs too with 'all-docs'
+		emake -C docs man-pages FAQ.txt
 		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
 	fi
 
+	default
+
 	dodoc FAQ.txt
 
 	pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-05-13  1:06 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-05-13  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     8be63e056f68a06d49f1dfc2dee8d995be5a8852
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 01:05:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 13 01:05:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be63e05

dev-debug/valgrind: Stabilize 3.22.0-r2 x86, #931822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index db53c056b3cb..f88b96d14dac 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-05-13  1:06 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-05-13  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     b1010d549a72374a7134ecc97f27bb331b9dc937
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 01:05:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 13 01:05:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1010d54

dev-debug/valgrind: Stabilize 3.22.0-r2 amd64, #931822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index fd4c4cea5a1d..db53c056b3cb 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-05-13  1:06 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-05-13  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     43ef606d19202153f7640931828429cde24efd1d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 01:05:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 13 01:05:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ef606d

dev-debug/valgrind: Stabilize 3.22.0-r2 ppc64, #931822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index f88b96d14dac..c35267b9a76f 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-05-13 12:52 Arthur Zamarin
  0 siblings, 0 replies; 35+ messages in thread
From: Arthur Zamarin @ 2024-05-13 12:52 UTC (permalink / raw
  To: gentoo-commits

commit:     f97510f6bad0c258dde6f0da85cd45fa7382ffce
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 12:52:24 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon May 13 12:52:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97510f6

dev-debug/valgrind: Stabilize 3.22.0-r2 arm64, #931822

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index c35267b9a76f..b9204af91b7b 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-05-26 23:12 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-05-26 23:12 UTC (permalink / raw
  To: gentoo-commits

commit:     7dacecf376120d114419b41885bcfa01ed1d981e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun May 26 22:17:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 26 23:11:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dacecf3

dev-debug/valgrind: add whitelist for false positive configure implicit decls

The issue here is, yet again, that clang is a trash compiler and cannot
handle sensible diagnostic output. It warns you for implicit function
decls because it doesn't permit nested function definitions, *after* it
tells you that it doesn't permit the nested function. Instead of just
telling you that the former is forbidden.

Closes: https://bugs.gentoo.org/900396
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 7 +++++++
 dev-debug/valgrind/valgrind-3.23.0.ebuild    | 7 +++++++
 dev-debug/valgrind/valgrind-9999.ebuild      | 7 +++++++
 3 files changed, 21 insertions(+)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index b9204af91b7b..86ec190689c8 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -53,6 +53,13 @@ PATCHES=(
 	"${FILESDIR}"/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+	# "checking if gcc accepts nested functions" but clang cannot handle good
+	# errors and reports both "function definition is not allowed here" and
+	# -Wimplicit-function-declaration. bug #900396
+	foo
+)
+
 src_prepare() {
 	# Correct hard coded doc location
 	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die

diff --git a/dev-debug/valgrind/valgrind-3.23.0.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild
index efcec418f726..48014039f07e 100644
--- a/dev-debug/valgrind/valgrind-3.23.0.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0.ebuild
@@ -55,6 +55,13 @@ PATCHES=(
 	# From stable branch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+	# "checking if gcc accepts nested functions" but clang cannot handle good
+	# errors and reports both "function definition is not allowed here" and
+	# -Wimplicit-function-declaration. bug #900396
+	foo
+)
+
 src_prepare() {
 	# Correct hard coded doc location
 	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index efcec418f726..48014039f07e 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -55,6 +55,13 @@ PATCHES=(
 	# From stable branch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP+=(
+	# "checking if gcc accepts nested functions" but clang cannot handle good
+	# errors and reports both "function definition is not allowed here" and
+	# -Wimplicit-function-declaration. bug #900396
+	foo
+)
+
 src_prepare() {
 	# Correct hard coded doc location
 	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-06-11 19:00 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-06-11 19:00 UTC (permalink / raw
  To: gentoo-commits

commit:     f0c447abf681cf8b7f99b84efe8838537915edc7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 18:56:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 18:57:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c447ab

dev-debug/valgrind: backport patches from stable branch for 3.23.0

Per https://sourceforge.net/p/valgrind/mailman/message/58782511/.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                        |  1 +
 ...grind-9999.ebuild => valgrind-3.23.0_p1.ebuild} | 30 +++++++++++++++++++---
 dev-debug/valgrind/valgrind-9999.ebuild            | 30 +++++++++++++++++++---
 3 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 21a5e4c20e6d..441394c4aa5a 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -2,5 +2,6 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
+DIST valgrind-3.23.0-patches-1.tar.xz 9660 BLAKE2B 0f59ff11d440cf39c3af6a3c6d9a21b0d922f79cb00e77c0e183224e4baca6037d30c48368934498ee5bf5c98b555b2cf80d0bdcef851f264949199079c74f65 SHA512 69544e36f0d3718c02ca781b58c5f76856ccba3a863cee785342e26265a430b2b5aebd1e558dd63ba798cc762be750ac66f192ef4eeb3bc18c6c156633475683
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
 DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p1.ebuild
similarity index 87%
copy from dev-debug/valgrind/valgrind-9999.ebuild
copy to dev-debug/valgrind/valgrind-3.23.0_p1.ebuild
index 48014039f07e..b19c8e416302 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p1.ebuild
@@ -14,6 +14,7 @@ inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://valgrind.org"
+
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
 	inherit git-r3
@@ -22,8 +23,17 @@ else
 	inherit verify-sig
 
 	MY_P="${P/_rc/.RC}"
-	SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2"
-	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
+	MY_P="${MY_P%%_p*}"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-1"
+	SRC_URI="
+		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
+		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )
+	"
+	# Rollups of backports on ${PV}_STABLE branch upstream.
+	if [[ ${PV} == *_p* ]] ; then
+		SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${VALGRIND_PATCH_TARBALL}.tar.xz"
+	fi
+
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
@@ -52,7 +62,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 	"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 	"${FILESDIR}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-	# From stable branch
 )
 
 QA_CONFIG_IMPL_DECL_SKIP+=(
@@ -62,6 +71,17 @@ QA_CONFIG_IMPL_DECL_SKIP+=(
 	foo
 )
 
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+	elif use verify-sig ; then
+		# Needed for downloaded patch (which is unsigned, which is fine)
+		verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
 src_prepare() {
 	# Correct hard coded doc location
 	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
@@ -78,6 +98,10 @@ src_prepare() {
 		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
 	fi
 
+	if [[ -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
+	fi
+
 	default
 
 	eautoreconf

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index 48014039f07e..b19c8e416302 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -14,6 +14,7 @@ inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://valgrind.org"
+
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
 	inherit git-r3
@@ -22,8 +23,17 @@ else
 	inherit verify-sig
 
 	MY_P="${P/_rc/.RC}"
-	SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2"
-	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
+	MY_P="${MY_P%%_p*}"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-1"
+	SRC_URI="
+		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
+		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )
+	"
+	# Rollups of backports on ${PV}_STABLE branch upstream.
+	if [[ ${PV} == *_p* ]] ; then
+		SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${VALGRIND_PATCH_TARBALL}.tar.xz"
+	fi
+
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
@@ -52,7 +62,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 	"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 	"${FILESDIR}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-	# From stable branch
 )
 
 QA_CONFIG_IMPL_DECL_SKIP+=(
@@ -62,6 +71,17 @@ QA_CONFIG_IMPL_DECL_SKIP+=(
 	foo
 )
 
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+	elif use verify-sig ; then
+		# Needed for downloaded patch (which is unsigned, which is fine)
+		verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
 src_prepare() {
 	# Correct hard coded doc location
 	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
@@ -78,6 +98,10 @@ src_prepare() {
 		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
 	fi
 
+	if [[ -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
+	fi
+
 	default
 
 	eautoreconf


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-06-12  4:26 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-06-12  4:26 UTC (permalink / raw
  To: gentoo-commits

commit:     ee3b1ac9a619a2c2cc7ec8f711fc3949fdf727eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 04:25:56 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 04:25:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee3b1ac9

dev-debug/valgrind: Stabilize 3.21.0-r2 arm, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index 9f38c6b898d2..feb6bd879890 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-06-12  4:26 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-06-12  4:26 UTC (permalink / raw
  To: gentoo-commits

commit:     27eca4b462ad28aa91f1df27cb5978b45c8092bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 04:25:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 04:25:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27eca4b4

dev-debug/valgrind: Stabilize 3.21.0-r2 ppc, #922067

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
index feb6bd879890..c2fc15cb86b8 100644
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
@@ -20,7 +20,7 @@ else
 	inherit verify-sig
 	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
 	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-06-12 14:30 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-06-12 14:30 UTC (permalink / raw
  To: gentoo-commits

commit:     92c084d7219e57c4e51a7277ec1b29156500601d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 14:28:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 14:28:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c084d7

dev-debug/valgrind: fix live ebuild

Fixes: f0c447abf681cf8b7f99b84efe8838537915edc7
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index b19c8e416302..8e4648affe18 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -98,7 +98,7 @@ src_prepare() {
 		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
 	fi
 
-	if [[ -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+	if [[ ${PV} != 9999 && -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
 		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
 	fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-06-24  5:33 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-06-24  5:33 UTC (permalink / raw
  To: gentoo-commits

commit:     ab3df1f95e47e0d99ea606fe4f1a56f6fd314d53
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 05:32:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 05:32:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3df1f9

dev-debug/valgrind: add 3.23.0_p2

Further backports, see https://sourceforge.net/p/valgrind/mailman/message/58787885/.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                  |   1 +
 dev-debug/valgrind/valgrind-3.23.0_p2.ebuild | 193 +++++++++++++++++++++++++++
 2 files changed, 194 insertions(+)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 441394c4aa5a..addeced04058 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -3,5 +3,6 @@ DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
 DIST valgrind-3.23.0-patches-1.tar.xz 9660 BLAKE2B 0f59ff11d440cf39c3af6a3c6d9a21b0d922f79cb00e77c0e183224e4baca6037d30c48368934498ee5bf5c98b555b2cf80d0bdcef851f264949199079c74f65 SHA512 69544e36f0d3718c02ca781b58c5f76856ccba3a863cee785342e26265a430b2b5aebd1e558dd63ba798cc762be750ac66f192ef4eeb3bc18c6c156633475683
+DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109b2cb59dfcb8154b1df20f9ffb20dcde9acfa671298610ccc8a57704b1a5f7f2a11b40352a51264440daaa0780e54027096d0 SHA512 cc7ea14808100b72e6bdf65248687694bf15f982dec1a42b59a9f42d26b9f1bce0e99a867a544f521d509b107792b26d15b75b417838ac2692e8773d52d6d69f
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
 DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p2.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p2.ebuild
new file mode 100644
index 000000000000..7986a840f399
--- /dev/null
+++ b/dev-debug/valgrind/valgrind-3.23.0_p2.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# The Valgrind upstream maintainer also maintains it in Fedora and will
+# backport fixes there which haven't yet made it into a release. Keep an eye
+# on it for fixes we should cherry-pick too:
+# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
+#
+# Also check the ${PV}_STABLE branch upstream for backports.
+
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://valgrind.org"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
+	inherit git-r3
+else
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
+	inherit verify-sig
+
+	MY_P="${P/_rc/.RC}"
+	MY_P="${MY_P%%_p*}"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-2"
+	SRC_URI="
+		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
+		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )
+	"
+	# Rollups of backports on ${PV}_STABLE branch upstream.
+	if [[ ${PV} == *_p* ]] ; then
+		SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${VALGRIND_PATCH_TARBALL}.tar.xz"
+	fi
+
+	S="${WORKDIR}"/${MY_P}
+
+	if [[ ${PV} != *_rc* ]] ; then
+		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	fi
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+if [[ ${PV} == 9999 ]] ; then
+	# Needed for man pages
+	BDEPEND+="
+		app-text/docbook-xsl-stylesheets
+		dev-libs/libxslt
+	"
+else
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+fi
+
+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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
+)
+
+QA_CONFIG_IMPL_DECL_SKIP+=(
+	# "checking if gcc accepts nested functions" but clang cannot handle good
+	# errors and reports both "function definition is not allowed here" and
+	# -Wimplicit-function-declaration. bug #900396
+	foo
+)
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+	elif use verify-sig ; then
+		# Needed for downloaded patch (which is unsigned, which is fine)
+		verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
+src_prepare() {
+	# Correct hard coded doc location
+	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
+
+	# Don't force multiarch stuff on OSX, bug #306467
+	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
+
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# upstream doesn't support this, but we don't build with
+		# Sun/Oracle ld, we have a GNU toolchain, so get some things
+		# working the Linux/GNU way
+		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
+			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+	fi
+
+	if [[ ${PV} != 9999 && -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
+	fi
+
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
+	)
+
+	tc-is-lto && myconf+=( --enable-lto )
+
+	# Respect ar, bug #468114
+	tc-export AR
+
+	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
+	#                       while compiling insn_sse.c in none/tests/x86
+	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
+	#                       because valgrind doesn't link to glibc (bug #114347)
+	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
+	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
+	# -fstack-protector-strong See -fstack-protector (bug #620402)
+	# -m64 -mx32			for multilib-portage, bug #398825
+	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
+	filter-flags -fomit-frame-pointer
+	filter-flags -fstack-protector
+	filter-flags -fstack-protector-all
+	filter-flags -fstack-protector-strong
+	filter-flags -m64 -mx32
+	filter-flags -fsanitize -fsanitize=*
+	filter-flags -fharden-control-flow-redundancy
+	append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
+	filter-lto
+
+	if use amd64 || use ppc64; then
+		! has_multilib_profile && myconf+=("--enable-only64bit")
+	fi
+
+	# Force bitness on darwin, bug #306467
+	use x64-macos && myconf+=("--enable-only64bit")
+
+	# Don't use mpicc unless the user asked for it (bug #258832)
+	if ! use mpi; then
+		myconf+=("--without-mpicc")
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# fxsave.o, tronical.o have textrels
+	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
+	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
+}
+
+src_install() {
+	if [[ ${PV} == 9999 ]]; then
+		# TODO: Could do HTML docs too with 'all-docs'
+		emake -C docs man-pages FAQ.txt
+		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
+	fi
+
+	default
+
+	dodoc FAQ.txt
+
+	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
+		local l
+		for l in "${ED}"/usr/lib/valgrind/*.so ; do
+			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
+		done
+	fi
+}
+
+pkg_postinst() {
+	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 "https://bugs.gentoo.org/214065"
+	elog "https://bugs.gentoo.org/274771"
+	elog "https://bugs.gentoo.org/388703"
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-07-07  1:54 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-07-07  1:54 UTC (permalink / raw
  To: gentoo-commits

commit:     afc65771dd482c45396ab0538a9c0032d6077946
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 01:51:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 01:52:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc65771

dev-debug/valgrind: add 3.23.0_p3

See https://sourceforge.net/p/valgrind/mailman/message/58792442/.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                                            | 1 +
 dev-debug/valgrind/{valgrind-9999.ebuild => valgrind-3.23.0_p3.ebuild} | 2 +-
 dev-debug/valgrind/valgrind-9999.ebuild                                | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index addeced04058..b69158974d6e 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -4,5 +4,6 @@ DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
 DIST valgrind-3.23.0-patches-1.tar.xz 9660 BLAKE2B 0f59ff11d440cf39c3af6a3c6d9a21b0d922f79cb00e77c0e183224e4baca6037d30c48368934498ee5bf5c98b555b2cf80d0bdcef851f264949199079c74f65 SHA512 69544e36f0d3718c02ca781b58c5f76856ccba3a863cee785342e26265a430b2b5aebd1e558dd63ba798cc762be750ac66f192ef4eeb3bc18c6c156633475683
 DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109b2cb59dfcb8154b1df20f9ffb20dcde9acfa671298610ccc8a57704b1a5f7f2a11b40352a51264440daaa0780e54027096d0 SHA512 cc7ea14808100b72e6bdf65248687694bf15f982dec1a42b59a9f42d26b9f1bce0e99a867a544f521d509b107792b26d15b75b417838ac2692e8773d52d6d69f
+DIST valgrind-3.23.0-patches-3.tar.xz 23084 BLAKE2B 4794143bd80f984d5dc07f792837faa139a4bf8cc6220c7c1e79b85f2c0e6ee579eb5e4220decc264a4e21424683554794d015e10aee20b9e34c16724d64eb58 SHA512 0144142d62552158d90a118591a50412d077d3e79fce333fb6da40aff8acd6c924d15c85f69293d1a189b2ecde66c184cf82c8ba3a134f95c439d50e147e331c
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
 DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
similarity index 99%
copy from dev-debug/valgrind/valgrind-9999.ebuild
copy to dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index 8e4648affe18..bd5cb983fad2 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -24,7 +24,7 @@ else
 
 	MY_P="${P/_rc/.RC}"
 	MY_P="${MY_P%%_p*}"
-	VALGRIND_PATCH_TARBALL="${MY_P}-patches-1"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-${PV##*_p}"
 	SRC_URI="
 		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
 		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index 8e4648affe18..bd5cb983fad2 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -24,7 +24,7 @@ else
 
 	MY_P="${P/_rc/.RC}"
 	MY_P="${MY_P%%_p*}"
-	VALGRIND_PATCH_TARBALL="${MY_P}-patches-1"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-${PV##*_p}"
 	SRC_URI="
 		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
 		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-07-07  2:05 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-07-07  2:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4e97b026b86407855ad852629ffee5fdd66fecd6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 01:56:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 01:56:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e97b026

dev-debug/valgrind: drop 3.21.0-r1, 3.23.0, 3.23.0_p1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                  |   1 -
 dev-debug/valgrind/valgrind-3.21.0-r1.ebuild | 132 ------------------
 dev-debug/valgrind/valgrind-3.23.0.ebuild    | 169 -----------------------
 dev-debug/valgrind/valgrind-3.23.0_p1.ebuild | 193 ---------------------------
 4 files changed, 495 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index b69158974d6e..70c9a9d2550e 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -2,7 +2,6 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
-DIST valgrind-3.23.0-patches-1.tar.xz 9660 BLAKE2B 0f59ff11d440cf39c3af6a3c6d9a21b0d922f79cb00e77c0e183224e4baca6037d30c48368934498ee5bf5c98b555b2cf80d0bdcef851f264949199079c74f65 SHA512 69544e36f0d3718c02ca781b58c5f76856ccba3a863cee785342e26265a430b2b5aebd1e558dd63ba798cc762be750ac66f192ef4eeb3bc18c6c156633475683
 DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109b2cb59dfcb8154b1df20f9ffb20dcde9acfa671298610ccc8a57704b1a5f7f2a11b40352a51264440daaa0780e54027096d0 SHA512 cc7ea14808100b72e6bdf65248687694bf15f982dec1a42b59a9f42d26b9f1bce0e99a867a544f521d509b107792b26d15b75b417838ac2692e8773d52d6d69f
 DIST valgrind-3.23.0-patches-3.tar.xz 23084 BLAKE2B 4794143bd80f984d5dc07f792837faa139a4bf8cc6220c7c1e79b85f2c0e6ee579eb5e4220decc264a4e21424683554794d015e10aee20b9e34c16724d64eb58 SHA512 0144142d62552158d90a118591a50412d077d3e79fce333fb6da40aff8acd6c924d15c85f69293d1a189b2ecde66c184cf82c8ba3a134f95c439d50e147e331c
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
deleted file mode 100644
index 632b096a9c08..000000000000
--- a/dev-debug/valgrind/valgrind-3.21.0-r1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://valgrind.org"
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
-	inherit git-r3
-else
-	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
-	inherit verify-sig
-	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
-	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
-	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
-fi
-
-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
-)
-
-src_prepare() {
-	# Correct hard coded doc location
-	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
-
-	# Don't force multiarch stuff on OSX, bug #306467
-	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
-
-	if [[ ${CHOST} == *-solaris* ]] ; then
-		# upstream doesn't support this, but we don't build with
-		# Sun/Oracle ld, we have a GNU toolchain, so get some things
-		# working the Linux/GNU way
-		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
-			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-	fi
-
-	default
-
-	# Regenerate autotools files
-	eautoreconf
-}
-
-src_configure() {
-	local myconf=()
-
-	# Respect ar, bug #468114
-	tc-export AR
-
-	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
-	#                       while compiling insn_sse.c in none/tests/x86
-	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
-	#                       because valgrind doesn't link to glibc (bug #114347)
-	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
-	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
-	# -fstack-protector-strong See -fstack-protector (bug #620402)
-	# -m64 -mx32			for multilib-portage, bug #398825
-	# -ggdb3                segmentation fault on startup
-	# -flto*                fails to build, bug #858509
-	filter-flags -fomit-frame-pointer
-	filter-flags -fstack-protector
-	filter-flags -fstack-protector-all
-	filter-flags -fstack-protector-strong
-	filter-flags -m64 -mx32
-	filter-flags -fsanitize -fsanitize=*
-	replace-flags -ggdb3 -ggdb2
-	filter-lto
-
-	if use amd64 || use ppc64; then
-		! has_multilib_profile && myconf+=("--enable-only64bit")
-	fi
-
-	# Force bitness on darwin, bug #306467
-	use x64-macos && myconf+=("--enable-only64bit")
-
-	# Don't use mpicc unless the user asked for it (bug #258832)
-	if ! use mpi; then
-		myconf+=("--without-mpicc")
-	fi
-
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	if [[ ${PV} == "9999" ]]; then
-		# Otherwise FAQ.txt won't exist:
-		emake -C docs FAQ.txt
-		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
-	fi
-
-	dodoc FAQ.txt
-
-	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
-		local l
-		for l in "${ED}"/usr/lib/valgrind/*.so ; do
-			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
-		done
-	fi
-}
-
-pkg_postinst() {
-	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 "https://bugs.gentoo.org/214065"
-	elog "https://bugs.gentoo.org/274771"
-	elog "https://bugs.gentoo.org/388703"
-}

diff --git a/dev-debug/valgrind/valgrind-3.23.0.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild
deleted file mode 100644
index 48014039f07e..000000000000
--- a/dev-debug/valgrind/valgrind-3.23.0.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# The Valgrind upstream maintainer also maintains it in Fedora and will
-# backport fixes there which haven't yet made it into a release. Keep an eye
-# on it for fixes we should cherry-pick too:
-# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
-#
-# Also check the ${PV}_STABLE branch upstream for backports.
-
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://valgrind.org"
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
-	inherit git-r3
-else
-	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
-	inherit verify-sig
-
-	MY_P="${P/_rc/.RC}"
-	SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2"
-	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
-	S="${WORKDIR}"/${MY_P}
-
-	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-	fi
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-if [[ ${PV} == 9999 ]] ; then
-	# Needed for man pages
-	BDEPEND+="
-		app-text/docbook-xsl-stylesheets
-		dev-libs/libxslt
-	"
-else
-	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
-fi
-
-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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-	# From stable branch
-)
-
-QA_CONFIG_IMPL_DECL_SKIP+=(
-	# "checking if gcc accepts nested functions" but clang cannot handle good
-	# errors and reports both "function definition is not allowed here" and
-	# -Wimplicit-function-declaration. bug #900396
-	foo
-)
-
-src_prepare() {
-	# Correct hard coded doc location
-	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
-
-	# Don't force multiarch stuff on OSX, bug #306467
-	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
-
-	if [[ ${CHOST} == *-solaris* ]] ; then
-		# upstream doesn't support this, but we don't build with
-		# Sun/Oracle ld, we have a GNU toolchain, so get some things
-		# working the Linux/GNU way
-		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
-			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-	fi
-
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myconf=(
-		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
-	)
-
-	tc-is-lto && myconf+=( --enable-lto )
-
-	# Respect ar, bug #468114
-	tc-export AR
-
-	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
-	#                       while compiling insn_sse.c in none/tests/x86
-	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
-	#                       because valgrind doesn't link to glibc (bug #114347)
-	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
-	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
-	# -fstack-protector-strong See -fstack-protector (bug #620402)
-	# -m64 -mx32			for multilib-portage, bug #398825
-	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
-	filter-flags -fomit-frame-pointer
-	filter-flags -fstack-protector
-	filter-flags -fstack-protector-all
-	filter-flags -fstack-protector-strong
-	filter-flags -m64 -mx32
-	filter-flags -fsanitize -fsanitize=*
-	filter-flags -fharden-control-flow-redundancy
-	append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
-	filter-lto
-
-	if use amd64 || use ppc64; then
-		! has_multilib_profile && myconf+=("--enable-only64bit")
-	fi
-
-	# Force bitness on darwin, bug #306467
-	use x64-macos && myconf+=("--enable-only64bit")
-
-	# Don't use mpicc unless the user asked for it (bug #258832)
-	if ! use mpi; then
-		myconf+=("--without-mpicc")
-	fi
-
-	econf "${myconf[@]}"
-}
-
-src_test() {
-	# fxsave.o, tronical.o have textrels
-	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
-	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
-}
-
-src_install() {
-	if [[ ${PV} == 9999 ]]; then
-		# TODO: Could do HTML docs too with 'all-docs'
-		emake -C docs man-pages FAQ.txt
-		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
-	fi
-
-	default
-
-	dodoc FAQ.txt
-
-	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
-		local l
-		for l in "${ED}"/usr/lib/valgrind/*.so ; do
-			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
-		done
-	fi
-}
-
-pkg_postinst() {
-	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 "https://bugs.gentoo.org/214065"
-	elog "https://bugs.gentoo.org/274771"
-	elog "https://bugs.gentoo.org/388703"
-}

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p1.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p1.ebuild
deleted file mode 100644
index b19c8e416302..000000000000
--- a/dev-debug/valgrind/valgrind-3.23.0_p1.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# The Valgrind upstream maintainer also maintains it in Fedora and will
-# backport fixes there which haven't yet made it into a release. Keep an eye
-# on it for fixes we should cherry-pick too:
-# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
-#
-# Also check the ${PV}_STABLE branch upstream for backports.
-
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://valgrind.org"
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
-	inherit git-r3
-else
-	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
-	inherit verify-sig
-
-	MY_P="${P/_rc/.RC}"
-	MY_P="${MY_P%%_p*}"
-	VALGRIND_PATCH_TARBALL="${MY_P}-patches-1"
-	SRC_URI="
-		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
-		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )
-	"
-	# Rollups of backports on ${PV}_STABLE branch upstream.
-	if [[ ${PV} == *_p* ]] ; then
-		SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${VALGRIND_PATCH_TARBALL}.tar.xz"
-	fi
-
-	S="${WORKDIR}"/${MY_P}
-
-	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-	fi
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-if [[ ${PV} == 9999 ]] ; then
-	# Needed for man pages
-	BDEPEND+="
-		app-text/docbook-xsl-stylesheets
-		dev-libs/libxslt
-	"
-else
-	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
-fi
-
-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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-)
-
-QA_CONFIG_IMPL_DECL_SKIP+=(
-	# "checking if gcc accepts nested functions" but clang cannot handle good
-	# errors and reports both "function definition is not allowed here" and
-	# -Wimplicit-function-declaration. bug #900396
-	foo
-)
-
-src_unpack() {
-	if [[ ${PV} == 9999 ]] ; then
-		git-r3_src_unpack
-	elif use verify-sig ; then
-		# Needed for downloaded patch (which is unsigned, which is fine)
-		verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.bz2{,.asc}
-	fi
-
-	default
-}
-
-src_prepare() {
-	# Correct hard coded doc location
-	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
-
-	# Don't force multiarch stuff on OSX, bug #306467
-	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
-
-	if [[ ${CHOST} == *-solaris* ]] ; then
-		# upstream doesn't support this, but we don't build with
-		# Sun/Oracle ld, we have a GNU toolchain, so get some things
-		# working the Linux/GNU way
-		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
-			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-	fi
-
-	if [[ -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
-		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
-	fi
-
-	default
-
-	eautoreconf
-}
-
-src_configure() {
-	local myconf=(
-		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
-	)
-
-	tc-is-lto && myconf+=( --enable-lto )
-
-	# Respect ar, bug #468114
-	tc-export AR
-
-	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
-	#                       while compiling insn_sse.c in none/tests/x86
-	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
-	#                       because valgrind doesn't link to glibc (bug #114347)
-	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
-	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
-	# -fstack-protector-strong See -fstack-protector (bug #620402)
-	# -m64 -mx32			for multilib-portage, bug #398825
-	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
-	filter-flags -fomit-frame-pointer
-	filter-flags -fstack-protector
-	filter-flags -fstack-protector-all
-	filter-flags -fstack-protector-strong
-	filter-flags -m64 -mx32
-	filter-flags -fsanitize -fsanitize=*
-	filter-flags -fharden-control-flow-redundancy
-	append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
-	filter-lto
-
-	if use amd64 || use ppc64; then
-		! has_multilib_profile && myconf+=("--enable-only64bit")
-	fi
-
-	# Force bitness on darwin, bug #306467
-	use x64-macos && myconf+=("--enable-only64bit")
-
-	# Don't use mpicc unless the user asked for it (bug #258832)
-	if ! use mpi; then
-		myconf+=("--without-mpicc")
-	fi
-
-	econf "${myconf[@]}"
-}
-
-src_test() {
-	# fxsave.o, tronical.o have textrels
-	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
-	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
-}
-
-src_install() {
-	if [[ ${PV} == 9999 ]]; then
-		# TODO: Could do HTML docs too with 'all-docs'
-		emake -C docs man-pages FAQ.txt
-		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
-	fi
-
-	default
-
-	dodoc FAQ.txt
-
-	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
-		local l
-		for l in "${ED}"/usr/lib/valgrind/*.so ; do
-			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
-		done
-	fi
-}
-
-pkg_postinst() {
-	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 "https://bugs.gentoo.org/214065"
-	elog "https://bugs.gentoo.org/274771"
-	elog "https://bugs.gentoo.org/388703"
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-08-30  8:12 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-08-30  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     9388d11b61b6275e7a9f6b31c5766ff0db583296
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 08:11:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 08:12:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9388d11b

dev-debug/valgrind: Stabilize 3.22.0-r2 ppc, #931822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index 86ec190689c8..446cbea73556 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-08-30  8:12 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-08-30  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     6c9db02017c4b5ad96abe0377e47b9adc7e92d86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 08:11:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 08:12:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9db020

dev-debug/valgrind: Stabilize 3.22.0-r2 arm, #931822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
index 446cbea73556..659c7970cf65 100644
--- a/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
+++ b/dev-debug/valgrind/valgrind-3.22.0-r2.ebuild
@@ -27,7 +27,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-08-30 13:00 Jakov Smolić
  0 siblings, 0 replies; 35+ messages in thread
From: Jakov Smolić @ 2024-08-30 13:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c959d26c2cfb64803bdf5be968e18ab4420a1e29
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 13:00:49 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 13:00:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c959d26c

dev-debug/valgrind: Stabilize 3.23.0_p3 ppc64, #938727

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index 0437d8e37ff2..024c61845dcb 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-08-30 13:00 Jakov Smolić
  0 siblings, 0 replies; 35+ messages in thread
From: Jakov Smolić @ 2024-08-30 13:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b19f03e30b19adbe5a5b519646bbfeb42d10b52d
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 13:00:45 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 13:00:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19f03e3

dev-debug/valgrind: Stabilize 3.23.0_p3 x86, #938727

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index bd5cb983fad2..0437d8e37ff2 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-08-31  5:15 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-08-31  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     7f2d479d4c1f2ee7c8d7c52831388ee1194bec99
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 05:14:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 05:14:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f2d479d

dev-debug/valgrind: Stabilize 3.23.0_p3 amd64, #938727

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index 024c61845dcb..0ee8b9865bd0 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-10-03  4:46 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-10-03  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     9dd49882531a8290ed301baa591d18383f9c2a45
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 04:45:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 04:45:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dd49882

dev-debug/valgrind: Stabilize 3.23.0_p3 arm64, #938727

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index 0ee8b9865bd0..b1cde3895ab2 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-10-03  4:46 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-10-03  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     18b104ebce0347e8dafad15e3336a766bacaf341
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 04:46:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 04:46:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b104eb

dev-debug/valgrind: Stabilize 3.23.0_p3 arm, #938727

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index b1cde3895ab2..ac16570b0f47 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-10-03  4:46 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-10-03  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     1e899aac147a0e911cf2d68a2c672cb4242af31a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 04:46:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 04:46:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e899aac

dev-debug/valgrind: Stabilize 3.23.0_p3 ppc, #938727

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.23.0_p3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
index ac16570b0f47..8c45bb70c6c3 100644
--- a/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0_p3.ebuild
@@ -37,7 +37,7 @@ else
 	S="${WORKDIR}"/${MY_P}
 
 	if [[ ${PV} != *_rc* ]] ; then
-		KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+		KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 	fi
 fi
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-10-28  8:37 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-10-28  8:37 UTC (permalink / raw
  To: gentoo-commits

commit:     8d70df1e88102e5b08c7f090f177ddb35cffdb78
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 08:36:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 08:36:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d70df1e

dev-debug/valgrind: add 3.24.0_rc1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                   |   2 +
 dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild | 193 ++++++++++++++++++++++++++
 2 files changed, 195 insertions(+)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 70c9a9d2550e..68a9ef99378d 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -6,3 +6,5 @@ DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109
 DIST valgrind-3.23.0-patches-3.tar.xz 23084 BLAKE2B 4794143bd80f984d5dc07f792837faa139a4bf8cc6220c7c1e79b85f2c0e6ee579eb5e4220decc264a4e21424683554794d015e10aee20b9e34c16724d64eb58 SHA512 0144142d62552158d90a118591a50412d077d3e79fce333fb6da40aff8acd6c924d15c85f69293d1a189b2ecde66c184cf82c8ba3a134f95c439d50e147e331c
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
 DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80
+DIST valgrind-3.24.0.RC1.tar.bz2 16676048 BLAKE2B 18455d3eaa05acb6fed0dcbb43f0d196171298533797149c0d440d06fb97f091320595f9d4a71e0ebefcfe04ec59ddd8cc653b034bc35af76ae5ad0a72227ba8 SHA512 d92bcc4acb3c283780cd8553be29f282593e7681b3de6ae374e47bc9c0c98e5603725388972344f1c5a25e66ca278b4baff0e53d5767eccb66cd419ab5be0bee
+DIST valgrind-3.24.0.RC1.tar.bz2.asc 488 BLAKE2B 31f85b98a384ac830fcb7584b108b96979dd0542e3c39063b9849b5dc88ab712eb39b17051662d816cc91f26c41804bc292d14bbb6be27f19a59ff5116e1932d SHA512 02e858642e2fd253d9e323c11dbdecaa55be2213a6a3e5dab8a361ede32e54905114804dbb576ac241f4d1b6bd56d58147b8d1879ec187e201182ae5b8a3d3de

diff --git a/dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild b/dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild
new file mode 100644
index 000000000000..bd5cb983fad2
--- /dev/null
+++ b/dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# The Valgrind upstream maintainer also maintains it in Fedora and will
+# backport fixes there which haven't yet made it into a release. Keep an eye
+# on it for fixes we should cherry-pick too:
+# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
+#
+# Also check the ${PV}_STABLE branch upstream for backports.
+
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://valgrind.org"
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
+	inherit git-r3
+else
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
+	inherit verify-sig
+
+	MY_P="${P/_rc/.RC}"
+	MY_P="${MY_P%%_p*}"
+	VALGRIND_PATCH_TARBALL="${MY_P}-patches-${PV##*_p}"
+	SRC_URI="
+		https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2
+		verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )
+	"
+	# Rollups of backports on ${PV}_STABLE branch upstream.
+	if [[ ${PV} == *_p* ]] ; then
+		SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${VALGRIND_PATCH_TARBALL}.tar.xz"
+	fi
+
+	S="${WORKDIR}"/${MY_P}
+
+	if [[ ${PV} != *_rc* ]] ; then
+		KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+	fi
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+if [[ ${PV} == 9999 ]] ; then
+	# Needed for man pages
+	BDEPEND+="
+		app-text/docbook-xsl-stylesheets
+		dev-libs/libxslt
+	"
+else
+	BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+fi
+
+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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
+)
+
+QA_CONFIG_IMPL_DECL_SKIP+=(
+	# "checking if gcc accepts nested functions" but clang cannot handle good
+	# errors and reports both "function definition is not allowed here" and
+	# -Wimplicit-function-declaration. bug #900396
+	foo
+)
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+	elif use verify-sig ; then
+		# Needed for downloaded patch (which is unsigned, which is fine)
+		verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.bz2{,.asc}
+	fi
+
+	default
+}
+
+src_prepare() {
+	# Correct hard coded doc location
+	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
+
+	# Don't force multiarch stuff on OSX, bug #306467
+	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
+
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# upstream doesn't support this, but we don't build with
+		# Sun/Oracle ld, we have a GNU toolchain, so get some things
+		# working the Linux/GNU way
+		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
+			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+	fi
+
+	if [[ ${PV} != 9999 && -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+		PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
+	fi
+
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
+	)
+
+	tc-is-lto && myconf+=( --enable-lto )
+
+	# Respect ar, bug #468114
+	tc-export AR
+
+	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
+	#                       while compiling insn_sse.c in none/tests/x86
+	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
+	#                       because valgrind doesn't link to glibc (bug #114347)
+	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
+	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
+	# -fstack-protector-strong See -fstack-protector (bug #620402)
+	# -m64 -mx32			for multilib-portage, bug #398825
+	# -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line')
+	filter-flags -fomit-frame-pointer
+	filter-flags -fstack-protector
+	filter-flags -fstack-protector-all
+	filter-flags -fstack-protector-strong
+	filter-flags -m64 -mx32
+	filter-flags -fsanitize -fsanitize=*
+	filter-flags -fharden-control-flow-redundancy
+	append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
+	filter-lto
+
+	if use amd64 || use ppc64; then
+		! has_multilib_profile && myconf+=("--enable-only64bit")
+	fi
+
+	# Force bitness on darwin, bug #306467
+	use x64-macos && myconf+=("--enable-only64bit")
+
+	# Don't use mpicc unless the user asked for it (bug #258832)
+	if ! use mpi; then
+		myconf+=("--without-mpicc")
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# fxsave.o, tronical.o have textrels
+	# -fno-strict-aliasing: https://bugs.kde.org/show_bug.cgi?id=486093
+	emake CFLAGS="${CFLAGS} -fno-strict-aliasing" LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
+}
+
+src_install() {
+	if [[ ${PV} == 9999 ]]; then
+		# TODO: Could do HTML docs too with 'all-docs'
+		emake -C docs man-pages FAQ.txt
+		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
+	fi
+
+	default
+
+	dodoc FAQ.txt
+
+	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
+		local l
+		for l in "${ED}"/usr/lib/valgrind/*.so ; do
+			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
+		done
+	fi
+}
+
+pkg_postinst() {
+	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 "https://bugs.gentoo.org/214065"
+	elog "https://bugs.gentoo.org/274771"
+	elog "https://bugs.gentoo.org/388703"
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-11-01  7:13 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2024-11-01  7:13 UTC (permalink / raw
  To: gentoo-commits

commit:     8e1d696a510b7f68bd1a6611c20d89f083c6eed7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 07:13:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 07:13:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e1d696a

dev-debug/valgrind: add 3.24.0, drop 3.24.0_rc1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/Manifest                                           | 4 ++--
 .../valgrind/{valgrind-3.24.0_rc1.ebuild => valgrind-3.24.0.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index 68a9ef99378d..eb9e934edb2d 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -6,5 +6,5 @@ DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109
 DIST valgrind-3.23.0-patches-3.tar.xz 23084 BLAKE2B 4794143bd80f984d5dc07f792837faa139a4bf8cc6220c7c1e79b85f2c0e6ee579eb5e4220decc264a4e21424683554794d015e10aee20b9e34c16724d64eb58 SHA512 0144142d62552158d90a118591a50412d077d3e79fce333fb6da40aff8acd6c924d15c85f69293d1a189b2ecde66c184cf82c8ba3a134f95c439d50e147e331c
 DIST valgrind-3.23.0.tar.bz2 16550038 BLAKE2B 9312761b0531006725f13270984b26c48f71ebe66e355b04410d7c01773c9b78ec21db3259cab398e58b3b68f93f5f074db06efe1f359bd7cf423515576191a4 SHA512 27d038faaaf6154cace2df18c3573291393548ba0738dbb6aba58eab6324c5beaa95fc5f3c0271663ca071baf829b15d806f7e81074f7cf087bef20ea0ed3117
 DIST valgrind-3.23.0.tar.bz2.asc 488 BLAKE2B b06781577e3e84e506e56bd4acc7341aecacb6b5898d8f0daab627d24bc70c9c60edad11dc7e3723ac77aa9c7978f1e13af7734e7a37763c720e77ea4ff103a4 SHA512 e10b38c72ed1fb8d79a3fa84ab70c475ec7a15927a578ee6715aa74f9600453f0fb72551053b6c31583321c37dab100bafbf6e689c02a3bc06021f6092b4bc80
-DIST valgrind-3.24.0.RC1.tar.bz2 16676048 BLAKE2B 18455d3eaa05acb6fed0dcbb43f0d196171298533797149c0d440d06fb97f091320595f9d4a71e0ebefcfe04ec59ddd8cc653b034bc35af76ae5ad0a72227ba8 SHA512 d92bcc4acb3c283780cd8553be29f282593e7681b3de6ae374e47bc9c0c98e5603725388972344f1c5a25e66ca278b4baff0e53d5767eccb66cd419ab5be0bee
-DIST valgrind-3.24.0.RC1.tar.bz2.asc 488 BLAKE2B 31f85b98a384ac830fcb7584b108b96979dd0542e3c39063b9849b5dc88ab712eb39b17051662d816cc91f26c41804bc292d14bbb6be27f19a59ff5116e1932d SHA512 02e858642e2fd253d9e323c11dbdecaa55be2213a6a3e5dab8a361ede32e54905114804dbb576ac241f4d1b6bd56d58147b8d1879ec187e201182ae5b8a3d3de
+DIST valgrind-3.24.0.tar.bz2 16632387 BLAKE2B e11ad08f0062bd39788cd71d7ce058dec7a7207fbbe25f0dbfc7fb5735667809681cec2c843659553fbd49bcc6c71bdb93d87ffda3589247e4ee87c98fe51332 SHA512 6c131ff93d1f432d8362a47285cc377cba224ebca4f18e922c6156f7736d43020ece14d8fd16913498ab00fd18c85e2042a7d5351c3901e80413c584ebb406f3
+DIST valgrind-3.24.0.tar.bz2.asc 488 BLAKE2B f6307d10ee3ca26d837bf00471d179655ddbb0137920e175767a9d875aae355cea6727112deb788300a5196d94500bf9b341f8c70d46a1f83c40ae579ad45431 SHA512 37e9188756940960dcfe771d10275de7759ae652c94e710618948a8b366f66f3453f77b7751df0010b58304b203d7b3b56ac7a671d142d620916689ce5c84ae0

diff --git a/dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild b/dev-debug/valgrind/valgrind-3.24.0.ebuild
similarity index 100%
rename from dev-debug/valgrind/valgrind-3.24.0_rc1.ebuild
rename to dev-debug/valgrind/valgrind-3.24.0.ebuild


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
@ 2024-11-03 21:26 Andreas K. Hüttel
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas K. Hüttel @ 2024-11-03 21:26 UTC (permalink / raw
  To: gentoo-commits

commit:     17d65d904507210e4554755951ef1d8934ef0ed8
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 20:59:25 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 21:25:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d65d90

dev-debug/valgrind: drop 3.21.0-r2

Bug: https://bugs.gentoo.org/900396
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-debug/valgrind/Manifest                  |   2 -
 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 139 ---------------------------
 2 files changed, 141 deletions(-)

diff --git a/dev-debug/valgrind/Manifest b/dev-debug/valgrind/Manifest
index eb9e934edb2d..ea123200e52d 100644
--- a/dev-debug/valgrind/Manifest
+++ b/dev-debug/valgrind/Manifest
@@ -1,5 +1,3 @@
-DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 1f7306d288eb5ecfb2b2f0b2dc68960ecd4a7213b96a2e4ecb9990a755e8c233b0e9d190c0f807019bde669f44a631c8dafe9eb521d739561e6f889f7bdaca5c SHA512 3e86cda2f2d6cd30807fac7933ba2c46a97a2b4a868db989e6b0cceeadf029af7ee34ba900466a346948289aacb30f4399799bb83b97cc49a4d2d810441e5cfd
-DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2 SHA512 114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514 SHA512 2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
 DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1 SHA512 c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36
 DIST valgrind-3.23.0-patches-2.tar.xz 15024 BLAKE2B ca7085a6dd38cda9df9437697109b2cb59dfcb8154b1df20f9ffb20dcde9acfa671298610ccc8a57704b1a5f7f2a11b40352a51264440daaa0780e54027096d0 SHA512 cc7ea14808100b72e6bdf65248687694bf15f982dec1a42b59a9f42d26b9f1bce0e99a867a544f521d509b107792b26d15b75b417838ac2692e8773d52d6d69f

diff --git a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild b/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
deleted file mode 100644
index c2fc15cb86b8..000000000000
--- a/dev-debug/valgrind/valgrind-3.21.0-r2.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# The Valgrind upstream maintainer also maintains it in Fedora and will
-# backport fixes there which haven't yet made it into a release. Keep an eye
-# on it for fixes we should cherry-pick too:
-# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
-
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://valgrind.org"
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://sourceware.org/git/${PN}.git"
-	inherit git-r3
-else
-	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/valgrind.gpg
-	inherit verify-sig
-	SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2"
-	SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-	KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
-	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
-fi
-
-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}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-	"${FILESDIR}"/${PN}-3.21.0-memcpy-fortify_source.patch
-)
-
-src_prepare() {
-	# Correct hard coded doc location
-	sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
-
-	# Don't force multiarch stuff on OSX, bug #306467
-	sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
-
-	if [[ ${CHOST} == *-solaris* ]] ; then
-		# upstream doesn't support this, but we don't build with
-		# Sun/Oracle ld, we have a GNU toolchain, so get some things
-		# working the Linux/GNU way
-		find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \
-			sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-		cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-	fi
-
-	default
-
-	# Regenerate autotools files
-	eautoreconf
-}
-
-src_configure() {
-	local myconf=()
-
-	# Respect ar, bug #468114
-	tc-export AR
-
-	# -fomit-frame-pointer	"Assembler messages: Error: junk `8' after expression"
-	#                       while compiling insn_sse.c in none/tests/x86
-	# -fstack-protector     more undefined references to __guard and __stack_smash_handler
-	#                       because valgrind doesn't link to glibc (bug #114347)
-	# -fstack-protector-all    Fails same way as -fstack-protector/-fstack-protector-strong.
-	#                          Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it
-	# -fstack-protector-strong See -fstack-protector (bug #620402)
-	# -m64 -mx32			for multilib-portage, bug #398825
-	# -ggdb3                segmentation fault on startup
-	# -flto*                fails to build, bug #858509
-	filter-flags -fomit-frame-pointer
-	filter-flags -fstack-protector
-	filter-flags -fstack-protector-all
-	filter-flags -fstack-protector-strong
-	filter-flags -m64 -mx32
-	filter-flags -fsanitize -fsanitize=*
-	replace-flags -ggdb3 -ggdb2
-	filter-lto
-
-	if use amd64 || use ppc64; then
-		! has_multilib_profile && myconf+=("--enable-only64bit")
-	fi
-
-	# Force bitness on darwin, bug #306467
-	use x64-macos && myconf+=("--enable-only64bit")
-
-	# Don't use mpicc unless the user asked for it (bug #258832)
-	if ! use mpi; then
-		myconf+=("--without-mpicc")
-	fi
-
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	if [[ ${PV} == "9999" ]]; then
-		# Otherwise FAQ.txt won't exist:
-		emake -C docs FAQ.txt
-		mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
-	fi
-
-	dodoc FAQ.txt
-
-	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
-		local l
-		for l in "${ED}"/usr/lib/valgrind/*.so ; do
-			install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
-		done
-	fi
-}
-
-pkg_postinst() {
-	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 "https://bugs.gentoo.org/214065"
-	elog "https://bugs.gentoo.org/274771"
-	elog "https://bugs.gentoo.org/388703"
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2024-11-03 21:26 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  4:26 [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03 21:26 Andreas K. Hüttel
2024-11-01  7:13 Sam James
2024-10-28  8:37 Sam James
2024-10-03  4:46 Sam James
2024-10-03  4:46 Sam James
2024-10-03  4:46 Sam James
2024-08-31  5:15 Sam James
2024-08-30 13:00 Jakov Smolić
2024-08-30 13:00 Jakov Smolić
2024-08-30  8:12 Sam James
2024-08-30  8:12 Sam James
2024-07-07  2:05 Sam James
2024-07-07  1:54 Sam James
2024-06-24  5:33 Sam James
2024-06-12 14:30 Sam James
2024-06-12  4:26 Sam James
2024-06-11 19:00 Sam James
2024-05-26 23:12 Sam James
2024-05-13 12:52 Arthur Zamarin
2024-05-13  1:06 Sam James
2024-05-13  1:06 Sam James
2024-05-13  1:06 Sam James
2024-04-26 21:35 Sam James
2024-04-26 19:36 Sam James
2024-04-25  8:55 Sam James
2024-04-25  8:55 Sam James
2024-04-24 23:03 Sam James
2024-04-20  4:23 Sam James
2024-01-14  4:32 Sam James
2024-01-14  4:19 Sam James
2024-01-14  4:14 Sam James
2024-01-14  4:08 Sam James
2024-01-14  3:17 Sam James
2024-01-14  3:17 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox