Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/, dev-libs/elfutils/
Date: Fri, 09 Aug 2019 20:52:56
Message-Id: 1565383955.5cf90c3b310ee016131e15e24713b50e31543dda.dilfridge@gentoo
1 commit: 5cf90c3b310ee016131e15e24713b50e31543dda
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 9 20:52:35 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 9 20:52:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf90c3b
7
8 dev-libs/elfutils: Remove old
9
10 Versions prior to 0.176 cannot handle binutils-2.32 properly
11
12 Package-Manager: Portage-2.3.70, Repoman-2.3.16
13 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
14
15 dev-libs/elfutils/Manifest | 2 -
16 dev-libs/elfutils/elfutils-0.170-r1.ebuild | 66 --------------------
17 dev-libs/elfutils/elfutils-0.173-r1.ebuild | 70 ---------------------
18 dev-libs/elfutils/elfutils-0.173-r2.ebuild | 71 ----------------------
19 dev-libs/elfutils/elfutils-0.176.ebuild | 70 ---------------------
20 .../files/elfutils-0.173-partial-core.patch | 34 -----------
21 6 files changed, 313 deletions(-)
22
23 diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest
24 index 29c6e6f4865..b8b07d4c898 100644
25 --- a/dev-libs/elfutils/Manifest
26 +++ b/dev-libs/elfutils/Manifest
27 @@ -1,3 +1 @@
28 -DIST elfutils-0.170.tar.bz2 8358001 BLAKE2B 03ea3ba7d3feaac43065312c475f4a3cd9083a6c56c9982fa00c0ed02b28440f6a37bbeca4be18db13749647ea1c8a6f00dae7efcb1c70235110e60ad7d56d06 SHA512 aca0b5e271138eaf86e36505ffb101181207b151e833e6cd7c18986ac50678542a5ecd2250f8dd6923ca497142f197c8b08fd225e4130b16b6203c24013d6d28
29 -DIST elfutils-0.173.tar.bz2 8684782 BLAKE2B c5905bb864059bdfb2699a0681a0ec576b6b8da444b0641e8184f58735084588910930bcca14583db6be75b24a0e374413911ded5ba2ca893798404fbe7374eb SHA512 7f38e4ce2098b685f15030bf01f0a66a74aa32fbfcead0304c1d0e0a929b348a72f99e685cd4605465f4337393382112f64b8847e6c2f7cc1a57a4fd03d03eb3
30 DIST elfutils-0.176.tar.bz2 8646075 BLAKE2B 7f23d59b7f5d74946fea928a7fada7764c1f96a5eefefc4a3a382090eb7cad07c80419218300d853ccbef8f4e2288eb443ff06b3e64bf4511d9fa7aa84f5b794 SHA512 7f032913be363a43229ded85d495dcf7542b3c85974aaaba0d984228dc9ac1721da3dc388d3fa02325a80940161db7e9ad2c9e4521a424ad8a7d050c0902915b
31
32 diff --git a/dev-libs/elfutils/elfutils-0.170-r1.ebuild b/dev-libs/elfutils/elfutils-0.170-r1.ebuild
33 deleted file mode 100644
34 index 43f88abea48..00000000000
35 --- a/dev-libs/elfutils/elfutils-0.170-r1.ebuild
36 +++ /dev/null
37 @@ -1,66 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -inherit flag-o-matic multilib-minimal
44 -
45 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
46 -HOMEPAGE="http://elfutils.org/"
47 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
48 -
49 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
50 -SLOT="0"
51 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
52 -IUSE="bzip2 lzma nls static-libs test +threads +utils"
53 -
54 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
55 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
56 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
57 - !dev-libs/libelf"
58 -DEPEND="${RDEPEND}
59 - nls? ( sys-devel/gettext )
60 - >=sys-devel/flex-2.5.4a
61 - sys-devel/m4"
62 -
63 -PATCHES=("${FILESDIR}"/${PN}-0.118-PaX-support.patch)
64 -
65 -src_prepare() {
66 - default
67 -
68 - if ! use static-libs; then
69 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
70 - fi
71 - sed -i 's:-Werror::' */Makefile.in || die
72 -}
73 -
74 -src_configure() {
75 - use test && append-flags -g #407135
76 - multilib-minimal_src_configure
77 -}
78 -
79 -multilib_src_configure() {
80 - ECONF_SOURCE="${S}" econf \
81 - $(use_enable nls) \
82 - $(use_enable threads thread-safety) \
83 - --program-prefix="eu-" \
84 - --with-zlib \
85 - $(use_with bzip2 bzlib) \
86 - $(use_with lzma)
87 -}
88 -
89 -multilib_src_test() {
90 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
91 - LC_ALL="C" \
92 - emake check
93 -}
94 -
95 -multilib_src_install_all() {
96 - einstalldocs
97 - dodoc NOTES
98 - # These build quick, and are needed for most tests, so don't
99 - # disable their building when the USE flag is disabled.
100 - if ! use utils; then
101 - rm -rf "${ED}"/usr/bin || die
102 - fi
103 -}
104
105 diff --git a/dev-libs/elfutils/elfutils-0.173-r1.ebuild b/dev-libs/elfutils/elfutils-0.173-r1.ebuild
106 deleted file mode 100644
107 index d102c9265db..00000000000
108 --- a/dev-libs/elfutils/elfutils-0.173-r1.ebuild
109 +++ /dev/null
110 @@ -1,70 +0,0 @@
111 -# Copyright 1999-2019 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=6
115 -
116 -inherit flag-o-matic multilib-minimal
117 -
118 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
119 -HOMEPAGE="http://elfutils.org/"
120 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
121 -
122 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
123 -SLOT="0"
124 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
125 -IUSE="bzip2 lzma nls static-libs test +threads +utils"
126 -
127 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
128 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
129 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
130 - !dev-libs/libelf"
131 -DEPEND="${RDEPEND}
132 - nls? ( sys-devel/gettext )
133 - >=sys-devel/flex-2.5.4a
134 - sys-devel/m4"
135 -
136 -PATCHES=(
137 - "${FILESDIR}"/${PN}-0.118-PaX-support.patch
138 - "${FILESDIR}"/${PN}-0.173-partial-core.patch
139 - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
140 -)
141 -
142 -src_prepare() {
143 - default
144 -
145 - if ! use static-libs; then
146 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
147 - fi
148 - sed -i 's:-Werror::' */Makefile.in || die
149 -}
150 -
151 -src_configure() {
152 - use test && append-flags -g #407135
153 - multilib-minimal_src_configure
154 -}
155 -
156 -multilib_src_configure() {
157 - ECONF_SOURCE="${S}" econf \
158 - $(use_enable nls) \
159 - $(use_enable threads thread-safety) \
160 - --program-prefix="eu-" \
161 - --with-zlib \
162 - $(use_with bzip2 bzlib) \
163 - $(use_with lzma)
164 -}
165 -
166 -multilib_src_test() {
167 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
168 - LC_ALL="C" \
169 - emake check VERBOSE=1
170 -}
171 -
172 -multilib_src_install_all() {
173 - einstalldocs
174 - dodoc NOTES
175 - # These build quick, and are needed for most tests, so don't
176 - # disable their building when the USE flag is disabled.
177 - if ! use utils; then
178 - rm -rf "${ED}"/usr/bin || die
179 - fi
180 -}
181
182 diff --git a/dev-libs/elfutils/elfutils-0.173-r2.ebuild b/dev-libs/elfutils/elfutils-0.173-r2.ebuild
183 deleted file mode 100644
184 index 668001589b8..00000000000
185 --- a/dev-libs/elfutils/elfutils-0.173-r2.ebuild
186 +++ /dev/null
187 @@ -1,71 +0,0 @@
188 -# Copyright 1999-2019 Gentoo Authors
189 -# Distributed under the terms of the GNU General Public License v2
190 -
191 -EAPI=6
192 -
193 -inherit flag-o-matic multilib-minimal
194 -
195 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
196 -HOMEPAGE="http://elfutils.org/"
197 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
198 -
199 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
200 -SLOT="0"
201 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
202 -IUSE="bzip2 lzma nls static-libs test +threads +utils"
203 -
204 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
205 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
206 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
207 - !dev-libs/libelf"
208 -DEPEND="${RDEPEND}
209 - nls? ( sys-devel/gettext )
210 - >=sys-devel/flex-2.5.4a
211 - sys-devel/m4"
212 -
213 -PATCHES=(
214 - "${FILESDIR}"/${PN}-0.118-PaX-support.patch
215 - "${FILESDIR}"/${PN}-0.173-partial-core.patch
216 - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
217 - "${FILESDIR}"/${PN}-0.173-reorder.patch
218 -)
219 -
220 -src_prepare() {
221 - default
222 -
223 - if ! use static-libs; then
224 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
225 - fi
226 - sed -i 's:-Werror::' */Makefile.in || die
227 -}
228 -
229 -src_configure() {
230 - use test && append-flags -g #407135
231 - multilib-minimal_src_configure
232 -}
233 -
234 -multilib_src_configure() {
235 - ECONF_SOURCE="${S}" econf \
236 - $(use_enable nls) \
237 - $(use_enable threads thread-safety) \
238 - --program-prefix="eu-" \
239 - --with-zlib \
240 - $(use_with bzip2 bzlib) \
241 - $(use_with lzma)
242 -}
243 -
244 -multilib_src_test() {
245 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
246 - LC_ALL="C" \
247 - emake check VERBOSE=1
248 -}
249 -
250 -multilib_src_install_all() {
251 - einstalldocs
252 - dodoc NOTES
253 - # These build quick, and are needed for most tests, so don't
254 - # disable their building when the USE flag is disabled.
255 - if ! use utils; then
256 - rm -rf "${ED}"/usr/bin || die
257 - fi
258 -}
259
260 diff --git a/dev-libs/elfutils/elfutils-0.176.ebuild b/dev-libs/elfutils/elfutils-0.176.ebuild
261 deleted file mode 100644
262 index e8dd597d47f..00000000000
263 --- a/dev-libs/elfutils/elfutils-0.176.ebuild
264 +++ /dev/null
265 @@ -1,70 +0,0 @@
266 -# Copyright 1999-2019 Gentoo Authors
267 -# Distributed under the terms of the GNU General Public License v2
268 -
269 -EAPI=7
270 -
271 -inherit flag-o-matic multilib-minimal
272 -
273 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
274 -HOMEPAGE="http://elfutils.org/"
275 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
276 -
277 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
278 -SLOT="0"
279 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
280 -IUSE="bzip2 lzma nls static-libs test +threads +utils"
281 -
282 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
283 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
284 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
285 - !dev-libs/libelf"
286 -DEPEND="${RDEPEND}
287 - nls? ( sys-devel/gettext )
288 - >=sys-devel/flex-2.5.4a
289 - sys-devel/m4"
290 -
291 -PATCHES=(
292 - "${FILESDIR}"/${PN}-0.118-PaX-support.patch
293 - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
294 -)
295 -
296 -src_prepare() {
297 - default
298 -
299 - if ! use static-libs; then
300 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
301 - fi
302 - # https://sourceware.org/PR23914
303 - sed -i 's:-Werror::' */Makefile.in || die
304 -}
305 -
306 -src_configure() {
307 - use test && append-flags -g #407135
308 - multilib-minimal_src_configure
309 -}
310 -
311 -multilib_src_configure() {
312 - ECONF_SOURCE="${S}" econf \
313 - $(use_enable nls) \
314 - $(use_enable threads thread-safety) \
315 - --program-prefix="eu-" \
316 - --with-zlib \
317 - $(use_with bzip2 bzlib) \
318 - $(use_with lzma)
319 -}
320 -
321 -multilib_src_test() {
322 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
323 - LC_ALL="C" \
324 - emake check VERBOSE=1
325 -}
326 -
327 -multilib_src_install_all() {
328 - einstalldocs
329 - dodoc NOTES
330 - # These build quick, and are needed for most tests, so don't
331 - # disable their building when the USE flag is disabled.
332 - if ! use utils; then
333 - rm -rf "${ED}"/usr/bin || die
334 - fi
335 -}
336
337 diff --git a/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch b/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch
338 deleted file mode 100644
339 index 41ef14d6683..00000000000
340 --- a/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch
341 +++ /dev/null
342 @@ -1,34 +0,0 @@
343 -https://sourceware.org/PR24103
344 -https://bugs.gentoo.org/676794
345 -
346 -From da5c5336a1eaf519de246f7d9f0f5585e1d4ac59 Mon Sep 17 00:00:00 2001
347 -From: Mark Wielaard <mark@×××××.org>
348 -Date: Sun, 20 Jan 2019 23:05:56 +0100
349 -Subject: [PATCH] libdwfl: Sanity check partial core file dyn data read.
350 -
351 -When reading the dyn data from the core file check if we got everything,
352 -or just part of the data.
353 -
354 -https://sourceware.org/bugzilla/show_bug.cgi?id=24103
355 -
356 -Signed-off-by: Mark Wielaard <mark@×××××.org>
357 ----
358 - libdwfl/dwfl_segment_report_module.c | 6 ++++++
359 -
360 ---- a/libdwfl/dwfl_segment_report_module.c
361 -+++ b/libdwfl/dwfl_segment_report_module.c
362 -@@ -783,6 +783,12 @@ dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name,
363 - if (dyn_filesz != 0 && dyn_filesz % dyn_entsize == 0
364 - && ! read_portion (&dyn_data, &dyn_data_size, dyn_vaddr, dyn_filesz))
365 - {
366 -+ /* dyn_data_size will be zero if we got everything from the initial
367 -+ buffer, otherwise it will be the size of the new buffer that
368 -+ could be read. */
369 -+ if (dyn_data_size != 0)
370 -+ dyn_filesz = dyn_data_size;
371 -+
372 - void *dyns = malloc (dyn_filesz);
373 - Elf32_Dyn (*d32)[dyn_filesz / sizeof (Elf32_Dyn)] = dyns;
374 - Elf64_Dyn (*d64)[dyn_filesz / sizeof (Elf64_Dyn)] = dyns;
375 ---
376 -2.20.1