Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Sun, 01 Jul 2018 04:11:54
Message-Id: 1530418292.43ab7de243f9c14b9af63a97d68eaf8dcaf2d744.tamiko@gentoo
1 commit: 43ab7de243f9c14b9af63a97d68eaf8dcaf2d744
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 1 04:10:04 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 1 04:11:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ab7de2
7
8 sys-libs/libunwind: drop obsolete
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 sys-libs/libunwind/Manifest | 1 -
13 sys-libs/libunwind/libunwind-1.2.ebuild | 101 --------------------------------
14 2 files changed, 102 deletions(-)
15
16 diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
17 index 9e51cb80514..518d2e99343 100644
18 --- a/sys-libs/libunwind/Manifest
19 +++ b/sys-libs/libunwind/Manifest
20 @@ -1,3 +1,2 @@
21 DIST libunwind-1.1.tar.gz 1098603 BLAKE2B c1ef0916c45786dcf820bef164f03e27af29f84d3173dc3a2e9fd54486a18d99713df152d810db4eb3e36df4afa7df1b544e6c9271479e2fcbffe473a17c4372 SHA512 bfe04f2bfac9f9e47c37f0b23ed2f264d8d3d3d6f1392fe9d794ee13cad216b3740979e922e4276fb65c1ccdc836fce48812cb5459ecdd2a89a621036a35d7c1
22 DIST libunwind-1.2.1.tar.gz 780774 BLAKE2B a5be4142e1e4932231023bdec2ab3ecd6b707faf2d32d2b571239252a1d0fb6a273a6a46c4a107db63f74f7b54c0c54cf252b8b79ad53216333ba7bcf63147a1 SHA512 af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b
23 -DIST libunwind-1.2.tar.gz 747369 BLAKE2B e1f0d8361d9518cafc590bffb0056157a81928a1ae7d29a1f6f78f917cd73e922b24a42b03cdd6e2eb6f6dd6e4e51116f6d83d16a5d51046104204df45ab66a6 SHA512 985d0817944e3cafd99aaa5642862d878972e0851f7954289247e808c9319f399ca29342395f0571cb6568a1104a82bd92d585936f2ca888dda37ac796fde0d4
24
25 diff --git a/sys-libs/libunwind/libunwind-1.2.ebuild b/sys-libs/libunwind/libunwind-1.2.ebuild
26 deleted file mode 100644
27 index 8528582e02c..00000000000
28 --- a/sys-libs/libunwind/libunwind-1.2.ebuild
29 +++ /dev/null
30 @@ -1,101 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="5"
35 -
36 -MY_PV=${PV/_/-}
37 -MY_P=${PN}-${MY_PV}
38 -inherit eutils libtool multilib-minimal
39 -
40 -DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
41 -HOMEPAGE="https://savannah.nongnu.org/projects/libunwind"
42 -SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="7"
46 -KEYWORDS="~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
47 -IUSE="debug debug-frame doc libatomic lzma +static-libs"
48 -
49 -RESTRICT="test" #461958 -- re-enable tests with >1.1 again for retesting, this is here for #461394
50 -
51 -# We just use the header from libatomic.
52 -RDEPEND="lzma? ( app-arch/xz-utils )"
53 -DEPEND="${RDEPEND}
54 - libatomic? ( dev-libs/libatomic_ops )"
55 -
56 -QA_DT_NEEDED_x86_fbsd="usr/lib/libunwind.so.7.0.0"
57 -
58 -# Bug 586208
59 -CCACHE_NODIRECT=1
60 -
61 -S="${WORKDIR}/${MY_P}"
62 -
63 -MULTILIB_WRAPPED_HEADERS=(
64 - /usr/include/libunwind.h
65 -
66 - # see libunwind.h for the full list of arch-specific headers
67 - /usr/include/libunwind-aarch64.h
68 - /usr/include/libunwind-arm.h
69 - /usr/include/libunwind-hppa.h
70 - /usr/include/libunwind-ia64.h
71 - /usr/include/libunwind-mips.h
72 - /usr/include/libunwind-ppc32.h
73 - /usr/include/libunwind-ppc64.h
74 - /usr/include/libunwind-sh.h
75 - /usr/include/libunwind-tilegx.h
76 - /usr/include/libunwind-x86.h
77 - /usr/include/libunwind-x86_64.h
78 -)
79 -
80 -src_prepare() {
81 - epatch "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092
82 - epatch "${FILESDIR}"/${PN}-1.2-ia64-undwarf.patch
83 - epatch "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch
84 - epatch -p1 "${FILESDIR}"/${PN}-1.2-ia64-missing.patch
85 - chmod +x src/ia64/mk_cursor_i || die
86 -
87 - # These tests like to fail. bleh.
88 - echo 'int main(){return 0;}' > tests/Gtest-dyn1.c
89 - echo 'int main(){return 0;}' > tests/Ltest-dyn1.c
90 -
91 - # Since we have tests disabled via RESTRICT, disable building in the subdir
92 - # entirely. This worksaround some build errors too. #484846
93 - sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
94 -
95 - elibtoolize
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_test() {
121 - # Explicitly allow parallel build of tests.
122 - # Sandbox causes some tests to freak out.
123 - SANDBOX_ON=0 emake check
124 -}
125 -
126 -multilib_src_install() {
127 - default
128 - # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and without
129 - # shared library, so we keep it in any case
130 - use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o -name 'libunwind*.la' ')' -delete
131 -}