1 |
commit: 80232414dd11167b8aa4760bc2dce13a365cf2cf |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 29 12:37:29 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 29 12:37:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80232414 |
7 |
|
8 |
dev-util/valgrind: Remove old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/707598 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
dev-util/valgrind/Manifest | 3 - |
15 |
dev-util/valgrind/valgrind-3.14.0.ebuild | 118 ------------------------------ |
16 |
dev-util/valgrind/valgrind-3.15.0.ebuild | 120 ------------------------------- |
17 |
dev-util/valgrind/valgrind-3.16.0.ebuild | 120 ------------------------------- |
18 |
4 files changed, 361 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest |
21 |
index f4417ff0908..da7a7a29233 100644 |
22 |
--- a/dev-util/valgrind/Manifest |
23 |
+++ b/dev-util/valgrind/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
-DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269 SHA512 68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97 |
26 |
-DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720 SHA512 5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f |
27 |
-DIST valgrind-3.16.0.tar.bz2 16267317 BLAKE2B 4ab7a248bc46a772a03fecdab4658b059e65dc328f422f51d23d116d658b8fcfe1dc4b3b26b43ca7bd824169b169506f67cd14a1db2b767b5b5a34c949687d25 SHA512 6c82a0121e0ffde79f84943ea0f5791159ad3e37a490c1a18ff23f41cd4de62b62110e9c4d48b95b06d542f2a6d638492ecaeba9fed48f7e909e959aa4b4856d |
28 |
DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65 SHA512 2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950 |
29 |
|
30 |
diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild b/dev-util/valgrind/valgrind-3.14.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index cd973a98987..00000000000 |
33 |
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,118 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
41 |
- |
42 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
43 |
-HOMEPAGE="http://www.valgrind.org" |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-IUSE="mpi" |
47 |
- |
48 |
-if [[ ${PV} == "9999" ]]; then |
49 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
50 |
- inherit git-r3 |
51 |
-else |
52 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
53 |
- KEYWORDS="-* amd64 arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
54 |
-fi |
55 |
- |
56 |
-DEPEND="mpi? ( virtual/mpi )" |
57 |
-RDEPEND="${DEPEND}" |
58 |
- |
59 |
-src_prepare() { |
60 |
- # Correct hard coded doc location |
61 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
62 |
- |
63 |
- # Don't force multiarch stuff on OSX, bug #306467 |
64 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
65 |
- |
66 |
- # Respect CFLAGS, LDFLAGS |
67 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
68 |
- |
69 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
70 |
- # upstream doesn't support this, but we don't build with |
71 |
- # Sun/Oracle ld, we have a GNU toolchain, so get some things |
72 |
- # working the Linux/GNU way |
73 |
- find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \ |
74 |
- sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die |
75 |
- cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in |
76 |
- fi |
77 |
- |
78 |
- # Allow users to test their own patches |
79 |
- eapply_user |
80 |
- |
81 |
- # Regenerate autotools files |
82 |
- eautoreconf |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- local myconf=() |
87 |
- |
88 |
- # Respect ar, bug #468114 |
89 |
- tc-export AR |
90 |
- |
91 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
92 |
- # while compiling insn_sse.c in none/tests/x86 |
93 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
94 |
- # because valgrind doesn't link to glibc (bug #114347) |
95 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
96 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
97 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
98 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
99 |
- # -ggdb3 segmentation fault on startup |
100 |
- filter-flags -fomit-frame-pointer |
101 |
- filter-flags -fstack-protector |
102 |
- filter-flags -fstack-protector-all |
103 |
- filter-flags -fstack-protector-strong |
104 |
- filter-flags -m64 -mx32 |
105 |
- replace-flags -ggdb3 -ggdb2 |
106 |
- |
107 |
- if use amd64 || use ppc64; then |
108 |
- ! has_multilib_profile && myconf+=("--enable-only64bit") |
109 |
- fi |
110 |
- |
111 |
- # Force bitness on darwin, bug #306467 |
112 |
- use x86-macos && myconf+=("--enable-only32bit") |
113 |
- use x64-macos && myconf+=("--enable-only64bit") |
114 |
- |
115 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
116 |
- if ! use mpi; then |
117 |
- myconf+=("--without-mpicc") |
118 |
- fi |
119 |
- |
120 |
- econf "${myconf[@]}" |
121 |
-} |
122 |
- |
123 |
-src_install() { |
124 |
- default |
125 |
- |
126 |
- if [[ ${PV} == "9999" ]]; then |
127 |
- # Otherwise FAQ.txt won't exist: |
128 |
- emake -C docs FAQ.txt |
129 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
130 |
- fi |
131 |
- |
132 |
- dodoc FAQ.txt |
133 |
- |
134 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
135 |
- |
136 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
137 |
- # fix install_names on shared libraries, can't turn them into bundles, |
138 |
- # as dyld won't load them any more then, bug #306467 |
139 |
- local l |
140 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
141 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
142 |
- done |
143 |
- fi |
144 |
-} |
145 |
- |
146 |
-pkg_postinst() { |
147 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
148 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
149 |
- elog "and remerge glibc. See:" |
150 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
151 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
152 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
153 |
-} |
154 |
|
155 |
diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild b/dev-util/valgrind/valgrind-3.15.0.ebuild |
156 |
deleted file mode 100644 |
157 |
index 41693c4f120..00000000000 |
158 |
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,120 +0,0 @@ |
161 |
-# Copyright 1999-2020 Gentoo Authors |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI=6 |
165 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
166 |
- |
167 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
168 |
-HOMEPAGE="http://www.valgrind.org" |
169 |
-LICENSE="GPL-2" |
170 |
-SLOT="0" |
171 |
-IUSE="mpi" |
172 |
- |
173 |
-if [[ ${PV} == "9999" ]]; then |
174 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
175 |
- inherit git-r3 |
176 |
-else |
177 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
178 |
- KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
179 |
-fi |
180 |
- |
181 |
-DEPEND="mpi? ( virtual/mpi )" |
182 |
-RDEPEND="${DEPEND}" |
183 |
- |
184 |
-src_prepare() { |
185 |
- # Correct hard coded doc location |
186 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
187 |
- |
188 |
- # Don't force multiarch stuff on OSX, bug #306467 |
189 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
190 |
- |
191 |
- # Respect CFLAGS, LDFLAGS |
192 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
193 |
- |
194 |
- eapply "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch |
195 |
- |
196 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
197 |
- # upstream doesn't support this, but we don't build with |
198 |
- # Sun/Oracle ld, we have a GNU toolchain, so get some things |
199 |
- # working the Linux/GNU way |
200 |
- find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \ |
201 |
- sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die |
202 |
- cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in |
203 |
- fi |
204 |
- |
205 |
- # Allow users to test their own patches |
206 |
- eapply_user |
207 |
- |
208 |
- # Regenerate autotools files |
209 |
- eautoreconf |
210 |
-} |
211 |
- |
212 |
-src_configure() { |
213 |
- local myconf=() |
214 |
- |
215 |
- # Respect ar, bug #468114 |
216 |
- tc-export AR |
217 |
- |
218 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
219 |
- # while compiling insn_sse.c in none/tests/x86 |
220 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
221 |
- # because valgrind doesn't link to glibc (bug #114347) |
222 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
223 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
224 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
225 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
226 |
- # -ggdb3 segmentation fault on startup |
227 |
- filter-flags -fomit-frame-pointer |
228 |
- filter-flags -fstack-protector |
229 |
- filter-flags -fstack-protector-all |
230 |
- filter-flags -fstack-protector-strong |
231 |
- filter-flags -m64 -mx32 |
232 |
- replace-flags -ggdb3 -ggdb2 |
233 |
- |
234 |
- if use amd64 || use ppc64; then |
235 |
- ! has_multilib_profile && myconf+=("--enable-only64bit") |
236 |
- fi |
237 |
- |
238 |
- # Force bitness on darwin, bug #306467 |
239 |
- use x86-macos && myconf+=("--enable-only32bit") |
240 |
- use x64-macos && myconf+=("--enable-only64bit") |
241 |
- |
242 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
243 |
- if ! use mpi; then |
244 |
- myconf+=("--without-mpicc") |
245 |
- fi |
246 |
- |
247 |
- econf "${myconf[@]}" |
248 |
-} |
249 |
- |
250 |
-src_install() { |
251 |
- default |
252 |
- |
253 |
- if [[ ${PV} == "9999" ]]; then |
254 |
- # Otherwise FAQ.txt won't exist: |
255 |
- emake -C docs FAQ.txt |
256 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
257 |
- fi |
258 |
- |
259 |
- dodoc FAQ.txt |
260 |
- |
261 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
262 |
- |
263 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
264 |
- # fix install_names on shared libraries, can't turn them into bundles, |
265 |
- # as dyld won't load them any more then, bug #306467 |
266 |
- local l |
267 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
268 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
269 |
- done |
270 |
- fi |
271 |
-} |
272 |
- |
273 |
-pkg_postinst() { |
274 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
275 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
276 |
- elog "and remerge glibc. See:" |
277 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
278 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
279 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
280 |
-} |
281 |
|
282 |
diff --git a/dev-util/valgrind/valgrind-3.16.0.ebuild b/dev-util/valgrind/valgrind-3.16.0.ebuild |
283 |
deleted file mode 100644 |
284 |
index 33873a0e69c..00000000000 |
285 |
--- a/dev-util/valgrind/valgrind-3.16.0.ebuild |
286 |
+++ /dev/null |
287 |
@@ -1,120 +0,0 @@ |
288 |
-# Copyright 1999-2020 Gentoo Authors |
289 |
-# Distributed under the terms of the GNU General Public License v2 |
290 |
- |
291 |
-EAPI=7 |
292 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
293 |
- |
294 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
295 |
-HOMEPAGE="http://www.valgrind.org" |
296 |
-LICENSE="GPL-2" |
297 |
-SLOT="0" |
298 |
-IUSE="mpi" |
299 |
- |
300 |
-if [[ ${PV} == "9999" ]]; then |
301 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
302 |
- inherit git-r3 |
303 |
-else |
304 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
305 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
306 |
-fi |
307 |
- |
308 |
-DEPEND="mpi? ( virtual/mpi )" |
309 |
-RDEPEND="${DEPEND}" |
310 |
- |
311 |
-src_prepare() { |
312 |
- # Correct hard coded doc location |
313 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
314 |
- |
315 |
- # Don't force multiarch stuff on OSX, bug #306467 |
316 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
317 |
- |
318 |
- # Respect CFLAGS, LDFLAGS |
319 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
320 |
- |
321 |
- eapply "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch |
322 |
- |
323 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
324 |
- # upstream doesn't support this, but we don't build with |
325 |
- # Sun/Oracle ld, we have a GNU toolchain, so get some things |
326 |
- # working the Linux/GNU way |
327 |
- find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \ |
328 |
- sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die |
329 |
- cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in |
330 |
- fi |
331 |
- |
332 |
- # Allow users to test their own patches |
333 |
- eapply_user |
334 |
- |
335 |
- # Regenerate autotools files |
336 |
- eautoreconf |
337 |
-} |
338 |
- |
339 |
-src_configure() { |
340 |
- local myconf=() |
341 |
- |
342 |
- # Respect ar, bug #468114 |
343 |
- tc-export AR |
344 |
- |
345 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
346 |
- # while compiling insn_sse.c in none/tests/x86 |
347 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
348 |
- # because valgrind doesn't link to glibc (bug #114347) |
349 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
350 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
351 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
352 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
353 |
- # -ggdb3 segmentation fault on startup |
354 |
- filter-flags -fomit-frame-pointer |
355 |
- filter-flags -fstack-protector |
356 |
- filter-flags -fstack-protector-all |
357 |
- filter-flags -fstack-protector-strong |
358 |
- filter-flags -m64 -mx32 |
359 |
- replace-flags -ggdb3 -ggdb2 |
360 |
- |
361 |
- if use amd64 || use ppc64; then |
362 |
- ! has_multilib_profile && myconf+=("--enable-only64bit") |
363 |
- fi |
364 |
- |
365 |
- # Force bitness on darwin, bug #306467 |
366 |
- use x86-macos && myconf+=("--enable-only32bit") |
367 |
- use x64-macos && myconf+=("--enable-only64bit") |
368 |
- |
369 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
370 |
- if ! use mpi; then |
371 |
- myconf+=("--without-mpicc") |
372 |
- fi |
373 |
- |
374 |
- econf "${myconf[@]}" |
375 |
-} |
376 |
- |
377 |
-src_install() { |
378 |
- default |
379 |
- |
380 |
- if [[ ${PV} == "9999" ]]; then |
381 |
- # Otherwise FAQ.txt won't exist: |
382 |
- emake -C docs FAQ.txt |
383 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
384 |
- fi |
385 |
- |
386 |
- dodoc FAQ.txt |
387 |
- |
388 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
389 |
- |
390 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
391 |
- # fix install_names on shared libraries, can't turn them into bundles, |
392 |
- # as dyld won't load them any more then, bug #306467 |
393 |
- local l |
394 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
395 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
396 |
- done |
397 |
- fi |
398 |
-} |
399 |
- |
400 |
-pkg_postinst() { |
401 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
402 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
403 |
- elog "and remerge glibc. See:" |
404 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
405 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
406 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
407 |
-} |