Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Sat, 02 May 2020 17:51:46
Message-Id: 1588441880.12801c76fbd10dfed0b35418491106aaaebf2452.slyfox@gentoo
1 commit: 12801c76fbd10dfed0b35418491106aaaebf2452
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 17:34:27 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 17:51:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12801c76
7
8 sys-libs/libunwind: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-libs/libunwind/Manifest | 1 -
14 sys-libs/libunwind/libunwind-1.3.1.ebuild | 103 ------------------------------
15 2 files changed, 104 deletions(-)
16
17 diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
18 index cbe3b9a89e6..db6eb99143f 100644
19 --- a/sys-libs/libunwind/Manifest
20 +++ b/sys-libs/libunwind/Manifest
21 @@ -1,3 +1,2 @@
22 DIST libunwind-1.2.1.tar.gz 780774 BLAKE2B a5be4142e1e4932231023bdec2ab3ecd6b707faf2d32d2b571239252a1d0fb6a273a6a46c4a107db63f74f7b54c0c54cf252b8b79ad53216333ba7bcf63147a1 SHA512 af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b
23 -DIST libunwind-1.3.1.tar.gz 801262 BLAKE2B 4dfcd5e170ef0f7626aa966672f3302b4d8f231fcda37c72fbddb9ab913e82b45bb613b22c5ead8bbd5b09fa92bc0db1c32a744b11e40fd736c3a1412ad3d842 SHA512 3110d0aed4f5c781ef1ff72c9337e59793c02c42066209a4ac44f50eff1c0b0e02a5ff9f66891e62016de14af065a47975763970b839b700c0ff2e9f415c8def
24 DIST libunwind-1.4.0.tar.gz 872941 BLAKE2B 39628dd46151d2748372c8f1dfa3cd39114770b85e890b048304f8395b2778a22da4cc468eb6fe1e2357a41bed5a6067e12992634859dabe30addd0fd39b4269 SHA512 60bce1e840f071d3a48cfa8e2acff988977956f659c5c04ce83f00751348fbbeddbfc54e8c9bd6ebc9073423ca5ee1816655dc5aa59fefd0a8edc9c3f7f3b913
25
26 diff --git a/sys-libs/libunwind/libunwind-1.3.1.ebuild b/sys-libs/libunwind/libunwind-1.3.1.ebuild
27 deleted file mode 100644
28 index 527b3b9c823..00000000000
29 --- a/sys-libs/libunwind/libunwind-1.3.1.ebuild
30 +++ /dev/null
31 @@ -1,103 +0,0 @@
32 -# Copyright 2005-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -MY_PV=${PV/_/-}
38 -MY_P=${PN}-${MY_PV}
39 -inherit autotools flag-o-matic libtool multilib-minimal
40 -
41 -DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
42 -HOMEPAGE="https://savannah.nongnu.org/projects/libunwind"
43 -SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0/8" # libunwind.so.8
47 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~amd64-linux ~x86-linux"
48 -IUSE="debug debug-frame doc libatomic lzma +static-libs"
49 -
50 -RESTRICT="test" # half of tests are broken (toolchain version dependent)
51 -
52 -# We just use the header from libatomic.
53 -RDEPEND="lzma? ( app-arch/xz-utils[static-libs?,${MULTILIB_USEDEP}] )"
54 -DEPEND="${RDEPEND}
55 - libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
56 -
57 -S="${WORKDIR}/${MY_P}"
58 -
59 -MULTILIB_WRAPPED_HEADERS=(
60 - /usr/include/libunwind.h
61 -
62 - # see libunwind.h for the full list of arch-specific headers
63 - /usr/include/libunwind-aarch64.h
64 - /usr/include/libunwind-arm.h
65 - /usr/include/libunwind-hppa.h
66 - /usr/include/libunwind-ia64.h
67 - /usr/include/libunwind-mips.h
68 - /usr/include/libunwind-ppc32.h
69 - /usr/include/libunwind-ppc64.h
70 - /usr/include/libunwind-sh.h
71 - /usr/include/libunwind-tilegx.h
72 - /usr/include/libunwind-x86.h
73 - /usr/include/libunwind-x86_64.h
74 -)
75 -
76 -PATCHES=(
77 - "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
78 - "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
79 - "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
80 - "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch
81 -)
82 -
83 -src_prepare() {
84 - default
85 - chmod +x src/ia64/mk_cursor_i || die
86 - # Since we have tests disabled via RESTRICT, disable building in the subdir
87 - # entirely. This works around some build errors too. #484846
88 - sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
89 -
90 - elibtoolize
91 - eautoreconf
92 -
93 - # Let's wait for proper fix upstream in https://github.com/libunwind/libunwind/issues/154
94 - # Meanwhile workaround for gcc-10 with -fcommon, bug #706560
95 - append-cflags -fcommon
96 -}
97 -
98 -multilib_src_configure() {
99 - # --enable-cxx-exceptions: always enable it, headers provide the interface
100 - # and on some archs it is disabled by default causing a mismatch between the
101 - # API and the ABI, bug #418253
102 - # conservative-checks: validate memory addresses before use; as of 1.0.1,
103 - # only x86_64 supports this, yet may be useful for debugging, couple it with
104 - # debug useflag.
105 - ECONF_SOURCE="${S}" \
106 - ac_cv_header_atomic_ops_h=$(usex libatomic) \
107 - econf \
108 - --enable-cxx-exceptions \
109 - --enable-coredump \
110 - --enable-ptrace \
111 - --enable-setjmp \
112 - $(use_enable debug-frame) \
113 - $(use_enable doc documentation) \
114 - $(use_enable lzma minidebuginfo) \
115 - $(use_enable static-libs static) \
116 - $(use_enable debug conservative_checks) \
117 - $(use_enable debug)
118 -}
119 -
120 -multilib_src_compile() {
121 - # Bug 586208
122 - CCACHE_NODIRECT=1 default
123 -}
124 -
125 -multilib_src_test() {
126 - # Explicitly allow parallel build of tests.
127 - # Sandbox causes some tests to freak out.
128 - SANDBOX_ON=0 emake check
129 -}
130 -
131 -multilib_src_install() {
132 - default
133 - use static-libs || find "${ED}"/usr -name 'libunwind*.la' -delete
134 -}