1 |
commit: f95163ef8ccbb6e77d947f4382574cfae1b8d556 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 28 21:01:58 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 28 21:49:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95163ef |
7 |
|
8 |
dev-util/valgrind: remove older versions |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
dev-util/valgrind/Manifest | 2 - |
14 |
dev-util/valgrind/valgrind-3.12.0.ebuild | 95 --------------------- |
15 |
dev-util/valgrind/valgrind-3.13.0-r1.ebuild | 112 ------------------------ |
16 |
dev-util/valgrind/valgrind-3.13.0-r2.ebuild | 124 --------------------------- |
17 |
dev-util/valgrind/valgrind-3.13.0-r3.ebuild | 128 ---------------------------- |
18 |
dev-util/valgrind/valgrind-3.13.0.ebuild | 95 --------------------- |
19 |
6 files changed, 556 deletions(-) |
20 |
|
21 |
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest |
22 |
index 5d28ed6ed10..dcf5af4b3c0 100644 |
23 |
--- a/dev-util/valgrind/Manifest |
24 |
+++ b/dev-util/valgrind/Manifest |
25 |
@@ -1,4 +1,2 @@ |
26 |
-DIST valgrind-3.12.0.tar.bz2 12788556 BLAKE2B aeebf9c29afb3cce683c6448a3dec8f4edb1e44b2043a8e159c57a28c75fee49c5dba144d7ae2d79d23fe5a6c5b2bbf01fc398909bf12eebc027f8a7d4d83009 SHA512 2c083f7c2e74dc58600397726d9d3af7a2cea40fe3d8733149886d1d77867e6c09996e5be1c58dd932f3662acf7363e04eeadbc0f9c8f0dac089e605024229be |
27 |
-DIST valgrind-3.13.0.tar.bz2 14723076 BLAKE2B cdf92087575cc851d316e2136081441f528596048bc5d1e9c17539283085dd9accd0c1b3136f9768a62de27d1f1641b450305681a33d9ba9fdfe028a73c0cb99 SHA512 34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009 |
28 |
DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269 SHA512 68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97 |
29 |
DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720 SHA512 5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f |
30 |
|
31 |
diff --git a/dev-util/valgrind/valgrind-3.12.0.ebuild b/dev-util/valgrind/valgrind-3.12.0.ebuild |
32 |
deleted file mode 100644 |
33 |
index a759d9c53e7..00000000000 |
34 |
--- a/dev-util/valgrind/valgrind-3.12.0.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,95 +0,0 @@ |
37 |
-# Copyright 1999-2017 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI="5" |
41 |
-inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils |
42 |
- |
43 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
44 |
-HOMEPAGE="http://www.valgrind.org" |
45 |
-SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" |
46 |
- |
47 |
-LICENSE="GPL-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="-* amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
50 |
-IUSE="mpi" |
51 |
- |
52 |
-DEPEND="mpi? ( virtual/mpi )" |
53 |
-RDEPEND="${DEPEND}" |
54 |
- |
55 |
-src_prepare() { |
56 |
- # Correct hard coded doc location |
57 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
58 |
- |
59 |
- # Don't force multiarch stuff on OSX, bug #306467 |
60 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
61 |
- |
62 |
- # Respect CFLAGS, LDFLAGS |
63 |
- epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
64 |
- |
65 |
- # Changing Makefile.all.am to disable SSP |
66 |
- epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch |
67 |
- |
68 |
- # Allow users to test their own patches |
69 |
- epatch_user |
70 |
- |
71 |
- # Regenerate autotools files |
72 |
- eautoreconf |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- local myconf |
77 |
- |
78 |
- # Respect ar, bug #468114 |
79 |
- tc-export AR |
80 |
- |
81 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
82 |
- # while compiling insn_sse.c in none/tests/x86 |
83 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
84 |
- # because valgrind doesn't link to glibc (bug #114347) |
85 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
86 |
- # -ggdb3 segmentation fault on startup |
87 |
- filter-flags -fomit-frame-pointer |
88 |
- filter-flags -fstack-protector |
89 |
- filter-flags -m64 -mx32 |
90 |
- replace-flags -ggdb3 -ggdb2 |
91 |
- |
92 |
- if use amd64 || use ppc64; then |
93 |
- ! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
94 |
- fi |
95 |
- |
96 |
- # Force bitness on darwin, bug #306467 |
97 |
- use x86-macos && myconf="${myconf} --enable-only32bit" |
98 |
- use x64-macos && myconf="${myconf} --enable-only64bit" |
99 |
- |
100 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
101 |
- if ! use mpi; then |
102 |
- myconf="${myconf} --without-mpicc" |
103 |
- fi |
104 |
- |
105 |
- econf ${myconf} |
106 |
-} |
107 |
- |
108 |
-src_install() { |
109 |
- emake DESTDIR="${D}" install |
110 |
- dodoc AUTHORS FAQ.txt NEWS README* |
111 |
- |
112 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
113 |
- |
114 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
115 |
- # fix install_names on shared libraries, can't turn them into bundles, |
116 |
- # as dyld won't load them any more then, bug #306467 |
117 |
- local l |
118 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
119 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
120 |
- done |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
126 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
127 |
- elog "and remerge glibc. See:" |
128 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
129 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
130 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
131 |
-} |
132 |
|
133 |
diff --git a/dev-util/valgrind/valgrind-3.13.0-r1.ebuild b/dev-util/valgrind/valgrind-3.13.0-r1.ebuild |
134 |
deleted file mode 100644 |
135 |
index 5e5e2d857dc..00000000000 |
136 |
--- a/dev-util/valgrind/valgrind-3.13.0-r1.ebuild |
137 |
+++ /dev/null |
138 |
@@ -1,112 +0,0 @@ |
139 |
-# Copyright 1999-2020 Gentoo Authors |
140 |
-# Distributed under the terms of the GNU General Public License v2 |
141 |
- |
142 |
-EAPI="6" |
143 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
144 |
- |
145 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
146 |
-HOMEPAGE="http://www.valgrind.org" |
147 |
-LICENSE="GPL-2" |
148 |
-SLOT="0" |
149 |
-IUSE="mpi" |
150 |
- |
151 |
-if [[ ${PV} == "9999" ]]; then |
152 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
153 |
- inherit git-r3 |
154 |
-else |
155 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
156 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
157 |
-fi |
158 |
- |
159 |
-DEPEND="mpi? ( virtual/mpi )" |
160 |
-RDEPEND="${DEPEND}" |
161 |
- |
162 |
-src_prepare() { |
163 |
- # Correct hard coded doc location |
164 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
165 |
- |
166 |
- # Don't force multiarch stuff on OSX, bug #306467 |
167 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
168 |
- |
169 |
- # Respect CFLAGS, LDFLAGS |
170 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
171 |
- |
172 |
- # Fix test failures on glibc-2.26 |
173 |
- eapply "${FILESDIR}"/${P}-test-fixes.patch |
174 |
- |
175 |
- # Allow users to test their own patches |
176 |
- eapply_user |
177 |
- |
178 |
- # Regenerate autotools files |
179 |
- eautoreconf |
180 |
-} |
181 |
- |
182 |
-src_configure() { |
183 |
- local myconf |
184 |
- |
185 |
- # Respect ar, bug #468114 |
186 |
- tc-export AR |
187 |
- |
188 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
189 |
- # while compiling insn_sse.c in none/tests/x86 |
190 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
191 |
- # because valgrind doesn't link to glibc (bug #114347) |
192 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
193 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
194 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
195 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
196 |
- # -ggdb3 segmentation fault on startup |
197 |
- filter-flags -fomit-frame-pointer |
198 |
- filter-flags -fstack-protector |
199 |
- filter-flags -fstack-protector-all |
200 |
- filter-flags -fstack-protector-strong |
201 |
- filter-flags -m64 -mx32 |
202 |
- replace-flags -ggdb3 -ggdb2 |
203 |
- |
204 |
- if use amd64 || use ppc64; then |
205 |
- ! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
206 |
- fi |
207 |
- |
208 |
- # Force bitness on darwin, bug #306467 |
209 |
- use x86-macos && myconf="${myconf} --enable-only32bit" |
210 |
- use x64-macos && myconf="${myconf} --enable-only64bit" |
211 |
- |
212 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
213 |
- if ! use mpi; then |
214 |
- myconf="${myconf} --without-mpicc" |
215 |
- fi |
216 |
- |
217 |
- econf ${myconf} |
218 |
-} |
219 |
- |
220 |
-src_install() { |
221 |
- emake DESTDIR="${D}" install |
222 |
- |
223 |
- if [[ ${PV} == "9999" ]]; then |
224 |
- # Otherwise FAQ.txt won't exist: |
225 |
- emake -C docs FAQ.txt |
226 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
227 |
- fi |
228 |
- |
229 |
- dodoc AUTHORS FAQ.txt NEWS README* |
230 |
- |
231 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
232 |
- |
233 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
234 |
- # fix install_names on shared libraries, can't turn them into bundles, |
235 |
- # as dyld won't load them any more then, bug #306467 |
236 |
- local l |
237 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
238 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
239 |
- done |
240 |
- fi |
241 |
-} |
242 |
- |
243 |
-pkg_postinst() { |
244 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
245 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
246 |
- elog "and remerge glibc. See:" |
247 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
248 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
249 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
250 |
-} |
251 |
|
252 |
diff --git a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild |
253 |
deleted file mode 100644 |
254 |
index a43faba9636..00000000000 |
255 |
--- a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild |
256 |
+++ /dev/null |
257 |
@@ -1,124 +0,0 @@ |
258 |
-# Copyright 1999-2020 Gentoo Authors |
259 |
-# Distributed under the terms of the GNU General Public License v2 |
260 |
- |
261 |
-EAPI=6 |
262 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
263 |
- |
264 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
265 |
-HOMEPAGE="http://www.valgrind.org" |
266 |
-LICENSE="GPL-2" |
267 |
-SLOT="0" |
268 |
-IUSE="mpi" |
269 |
- |
270 |
-if [[ ${PV} == "9999" ]]; then |
271 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
272 |
- inherit git-r3 |
273 |
-else |
274 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
275 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
276 |
-fi |
277 |
- |
278 |
-DEPEND="mpi? ( virtual/mpi )" |
279 |
-RDEPEND="${DEPEND}" |
280 |
- |
281 |
-src_prepare() { |
282 |
- # Correct hard coded doc location |
283 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
284 |
- |
285 |
- # Don't force multiarch stuff on OSX, bug #306467 |
286 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
287 |
- |
288 |
- # Respect CFLAGS, LDFLAGS |
289 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
290 |
- |
291 |
- # Fix test failures on glibc-2.26 |
292 |
- eapply "${FILESDIR}"/${P}-test-fixes.patch |
293 |
- |
294 |
- # Fix --xml-socket command line option (qt-creator), bug #641790 |
295 |
- eapply "${FILESDIR}"/${P}-xml-socket.patch |
296 |
- |
297 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
298 |
- # upstream doesn't support this, but we don't build with |
299 |
- # Sun/Oracle ld, we have a GNU toolchain, so get some things |
300 |
- # working the Linux/GNU way |
301 |
- find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \ |
302 |
- sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die |
303 |
- cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in |
304 |
- fi |
305 |
- |
306 |
- # Allow users to test their own patches |
307 |
- eapply_user |
308 |
- |
309 |
- # Regenerate autotools files |
310 |
- eautoreconf |
311 |
-} |
312 |
- |
313 |
-src_configure() { |
314 |
- local myconf=() |
315 |
- |
316 |
- # Respect ar, bug #468114 |
317 |
- tc-export AR |
318 |
- |
319 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
320 |
- # while compiling insn_sse.c in none/tests/x86 |
321 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
322 |
- # because valgrind doesn't link to glibc (bug #114347) |
323 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
324 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
325 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
326 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
327 |
- # -ggdb3 segmentation fault on startup |
328 |
- filter-flags -fomit-frame-pointer |
329 |
- filter-flags -fstack-protector |
330 |
- filter-flags -fstack-protector-all |
331 |
- filter-flags -fstack-protector-strong |
332 |
- filter-flags -m64 -mx32 |
333 |
- replace-flags -ggdb3 -ggdb2 |
334 |
- |
335 |
- if use amd64 || use ppc64; then |
336 |
- ! has_multilib_profile && myconf+=("--enable-only64bit") |
337 |
- fi |
338 |
- |
339 |
- # Force bitness on darwin, bug #306467 |
340 |
- use x86-macos && myconf+=("--enable-only32bit") |
341 |
- use x64-macos && myconf+=("--enable-only64bit") |
342 |
- |
343 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
344 |
- if ! use mpi; then |
345 |
- myconf+=("--without-mpicc") |
346 |
- fi |
347 |
- |
348 |
- econf "${myconf[@]}" |
349 |
-} |
350 |
- |
351 |
-src_install() { |
352 |
- default |
353 |
- |
354 |
- if [[ ${PV} == "9999" ]]; then |
355 |
- # Otherwise FAQ.txt won't exist: |
356 |
- emake -C docs FAQ.txt |
357 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
358 |
- fi |
359 |
- |
360 |
- dodoc FAQ.txt |
361 |
- |
362 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
363 |
- |
364 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
365 |
- # fix install_names on shared libraries, can't turn them into bundles, |
366 |
- # as dyld won't load them any more then, bug #306467 |
367 |
- local l |
368 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
369 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
370 |
- done |
371 |
- fi |
372 |
-} |
373 |
- |
374 |
-pkg_postinst() { |
375 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
376 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
377 |
- elog "and remerge glibc. See:" |
378 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
379 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
380 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
381 |
-} |
382 |
|
383 |
diff --git a/dev-util/valgrind/valgrind-3.13.0-r3.ebuild b/dev-util/valgrind/valgrind-3.13.0-r3.ebuild |
384 |
deleted file mode 100644 |
385 |
index 287d09b89ca..00000000000 |
386 |
--- a/dev-util/valgrind/valgrind-3.13.0-r3.ebuild |
387 |
+++ /dev/null |
388 |
@@ -1,128 +0,0 @@ |
389 |
-# Copyright 1999-2020 Gentoo Authors |
390 |
-# Distributed under the terms of the GNU General Public License v2 |
391 |
- |
392 |
-EAPI=6 |
393 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
394 |
- |
395 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
396 |
-HOMEPAGE="http://www.valgrind.org" |
397 |
-LICENSE="GPL-2" |
398 |
-SLOT="0" |
399 |
-IUSE="mpi" |
400 |
- |
401 |
-if [[ ${PV} == "9999" ]]; then |
402 |
- EGIT_REPO_URI="https://sourceware.org/git/${PN}.git" |
403 |
- inherit git-r3 |
404 |
-else |
405 |
- SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
406 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
407 |
-fi |
408 |
- |
409 |
-DEPEND="mpi? ( virtual/mpi )" |
410 |
-RDEPEND="${DEPEND}" |
411 |
- |
412 |
-src_prepare() { |
413 |
- # Correct hard coded doc location |
414 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
415 |
- |
416 |
- # Don't force multiarch stuff on OSX, bug #306467 |
417 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
418 |
- |
419 |
- # Respect CFLAGS, LDFLAGS |
420 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
421 |
- |
422 |
- # Fix test failures on glibc-2.26 |
423 |
- eapply "${FILESDIR}"/${P}-test-fixes.patch |
424 |
- |
425 |
- # Fix --xml-socket command line option (qt-creator), bug #641790 |
426 |
- eapply "${FILESDIR}"/${P}-xml-socket.patch |
427 |
- |
428 |
- # Fix reading debug info from binaries built with -z separate-code, bug #664882 |
429 |
- eapply "${FILESDIR}"/${P}-accept-read-only-PT_LOAD-segments-and-rodata.patch |
430 |
- eapply "${FILESDIR}"/${P}-ignore-further-mappings-after-read-all-debuginfo.patch |
431 |
- |
432 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
433 |
- # upstream doesn't support this, but we don't build with |
434 |
- # Sun/Oracle ld, we have a GNU toolchain, so get some things |
435 |
- # working the Linux/GNU way |
436 |
- find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | xargs \ |
437 |
- sed -i -e 's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die |
438 |
- cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in |
439 |
- fi |
440 |
- |
441 |
- # Allow users to test their own patches |
442 |
- eapply_user |
443 |
- |
444 |
- # Regenerate autotools files |
445 |
- eautoreconf |
446 |
-} |
447 |
- |
448 |
-src_configure() { |
449 |
- local myconf=() |
450 |
- |
451 |
- # Respect ar, bug #468114 |
452 |
- tc-export AR |
453 |
- |
454 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
455 |
- # while compiling insn_sse.c in none/tests/x86 |
456 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
457 |
- # because valgrind doesn't link to glibc (bug #114347) |
458 |
- # -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
459 |
- # Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
460 |
- # -fstack-protector-strong See -fstack-protector (bug #620402) |
461 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
462 |
- # -ggdb3 segmentation fault on startup |
463 |
- filter-flags -fomit-frame-pointer |
464 |
- filter-flags -fstack-protector |
465 |
- filter-flags -fstack-protector-all |
466 |
- filter-flags -fstack-protector-strong |
467 |
- filter-flags -m64 -mx32 |
468 |
- replace-flags -ggdb3 -ggdb2 |
469 |
- |
470 |
- if use amd64 || use ppc64; then |
471 |
- ! has_multilib_profile && myconf+=("--enable-only64bit") |
472 |
- fi |
473 |
- |
474 |
- # Force bitness on darwin, bug #306467 |
475 |
- use x86-macos && myconf+=("--enable-only32bit") |
476 |
- use x64-macos && myconf+=("--enable-only64bit") |
477 |
- |
478 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
479 |
- if ! use mpi; then |
480 |
- myconf+=("--without-mpicc") |
481 |
- fi |
482 |
- |
483 |
- econf "${myconf[@]}" |
484 |
-} |
485 |
- |
486 |
-src_install() { |
487 |
- default |
488 |
- |
489 |
- if [[ ${PV} == "9999" ]]; then |
490 |
- # Otherwise FAQ.txt won't exist: |
491 |
- emake -C docs FAQ.txt |
492 |
- mv docs/FAQ.txt . || die "Couldn't move FAQ.txt" |
493 |
- fi |
494 |
- |
495 |
- dodoc FAQ.txt |
496 |
- |
497 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
498 |
- |
499 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
500 |
- # fix install_names on shared libraries, can't turn them into bundles, |
501 |
- # as dyld won't load them any more then, bug #306467 |
502 |
- local l |
503 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
504 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
505 |
- done |
506 |
- fi |
507 |
-} |
508 |
- |
509 |
-pkg_postinst() { |
510 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
511 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
512 |
- elog "and remerge glibc. See:" |
513 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
514 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
515 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
516 |
-} |
517 |
|
518 |
diff --git a/dev-util/valgrind/valgrind-3.13.0.ebuild b/dev-util/valgrind/valgrind-3.13.0.ebuild |
519 |
deleted file mode 100644 |
520 |
index 14799cb92f5..00000000000 |
521 |
--- a/dev-util/valgrind/valgrind-3.13.0.ebuild |
522 |
+++ /dev/null |
523 |
@@ -1,95 +0,0 @@ |
524 |
-# Copyright 1999-2018 Gentoo Foundation |
525 |
-# Distributed under the terms of the GNU General Public License v2 |
526 |
- |
527 |
-EAPI="6" |
528 |
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils |
529 |
- |
530 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
531 |
-HOMEPAGE="http://www.valgrind.org" |
532 |
-SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2" |
533 |
- |
534 |
-LICENSE="GPL-2" |
535 |
-SLOT="0" |
536 |
-KEYWORDS="-* amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
537 |
-IUSE="mpi" |
538 |
- |
539 |
-DEPEND="mpi? ( virtual/mpi )" |
540 |
-RDEPEND="${DEPEND}" |
541 |
- |
542 |
-src_prepare() { |
543 |
- # Correct hard coded doc location |
544 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
545 |
- |
546 |
- # Don't force multiarch stuff on OSX, bug #306467 |
547 |
- sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die |
548 |
- |
549 |
- # Respect CFLAGS, LDFLAGS |
550 |
- eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
551 |
- |
552 |
- # Changing Makefile.all.am to disable SSP |
553 |
- eapply "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch |
554 |
- |
555 |
- # Allow users to test their own patches |
556 |
- eapply_user |
557 |
- |
558 |
- # Regenerate autotools files |
559 |
- eautoreconf |
560 |
-} |
561 |
- |
562 |
-src_configure() { |
563 |
- local myconf |
564 |
- |
565 |
- # Respect ar, bug #468114 |
566 |
- tc-export AR |
567 |
- |
568 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
569 |
- # while compiling insn_sse.c in none/tests/x86 |
570 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
571 |
- # because valgrind doesn't link to glibc (bug #114347) |
572 |
- # -m64 -mx32 for multilib-portage, bug #398825 |
573 |
- # -ggdb3 segmentation fault on startup |
574 |
- filter-flags -fomit-frame-pointer |
575 |
- filter-flags -fstack-protector |
576 |
- filter-flags -m64 -mx32 |
577 |
- replace-flags -ggdb3 -ggdb2 |
578 |
- |
579 |
- if use amd64 || use ppc64; then |
580 |
- ! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
581 |
- fi |
582 |
- |
583 |
- # Force bitness on darwin, bug #306467 |
584 |
- use x86-macos && myconf="${myconf} --enable-only32bit" |
585 |
- use x64-macos && myconf="${myconf} --enable-only64bit" |
586 |
- |
587 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
588 |
- if ! use mpi; then |
589 |
- myconf="${myconf} --without-mpicc" |
590 |
- fi |
591 |
- |
592 |
- econf ${myconf} |
593 |
-} |
594 |
- |
595 |
-src_install() { |
596 |
- emake DESTDIR="${D}" install |
597 |
- dodoc AUTHORS FAQ.txt NEWS README* |
598 |
- |
599 |
- pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux |
600 |
- |
601 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
602 |
- # fix install_names on shared libraries, can't turn them into bundles, |
603 |
- # as dyld won't load them any more then, bug #306467 |
604 |
- local l |
605 |
- for l in "${ED}"/usr/lib/valgrind/*.so ; do |
606 |
- install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}" |
607 |
- done |
608 |
- fi |
609 |
-} |
610 |
- |
611 |
-pkg_postinst() { |
612 |
- elog "Valgrind will not work if glibc does not have debug symbols." |
613 |
- elog "To fix this you can add splitdebug to FEATURES in make.conf" |
614 |
- elog "and remerge glibc. See:" |
615 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
616 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
617 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
618 |
-} |