Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, profiles/arch/alpha/
Date: Wed, 24 Feb 2016 17:50:01
Message-Id: 1456336183.3ad1a8a478ec2ab0f53ca9cac198dfb7898ffb01.vapier@gentoo
1 commit: 3ad1a8a478ec2ab0f53ca9cac198dfb7898ffb01
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 17:48:39 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 17:49:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad1a8a4
7
8 sys-devel/gdb: restore 7.9.1 for alpha, and move masking to the ebuild
9
10 We have per-ebuild KEYWORDS to track arch issues, so move it out of the
11 arch mask to keep things clear.
12
13 profiles/arch/alpha/package.mask | 6 ------
14 sys-devel/gdb/Manifest | 1 +
15 sys-devel/gdb/gdb-7.10.1.ebuild | 3 ++-
16 sys-devel/gdb/gdb-7.11.ebuild | 3 ++-
17 .../gdb/{gdb-7.10.1.ebuild => gdb-7.9.1.ebuild} | 20 ++++----------------
18 5 files changed, 9 insertions(+), 24 deletions(-)
19
20 diff --git a/profiles/arch/alpha/package.mask b/profiles/arch/alpha/package.mask
21 index 579547f..986cea8 100644
22 --- a/profiles/arch/alpha/package.mask
23 +++ b/profiles/arch/alpha/package.mask
24 @@ -2,12 +2,6 @@
25 # Distributed under the terms of the GNU General Public License v2
26 # $Id$
27
28 -# Tobias Klausmann <klausman@g.o> (03 Oct 2015)
29 -# Hangs/spins-on-cpu with any program on alpha.
30 -# Upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19061
31 -# Gentoo bug: 562128
32 ->=sys-devel/gdb-7.10
33 -
34 # Alexey Shvetsov <alexxy@g.o> (21 May 2012)
35 # Need deps pecl-apc and pecl-uploadprogress bug #416897
36 >=www-apps/drupal-7.14
37
38 diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
39 index 4cbac3e..2cabbb1 100644
40 --- a/sys-devel/gdb/Manifest
41 +++ b/sys-devel/gdb/Manifest
42 @@ -1,2 +1,3 @@
43 DIST gdb-7.10.1.tar.xz 18531436 SHA256 25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5 SHA512 17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010 WHIRLPOOL 02936f59d3f3f8a57966c72402f1da128dd8e10e686097ffdb3a2741cc0c1831ef27f97daa047fa006ff2ae9f79ae0480f6f0dc2d3f5904190a1dade0590c837
44 DIST gdb-7.11.tar.xz 18934392 SHA256 7a434116cb630d77bb40776e8f5d3937bed11dea56bafebb4d2bc5dd389fe5c1 SHA512 eadd2a59a1e48b1484eb2bea85256d6b1912926bc8b690793d02babf2639608bd22a0f2de77d4f60092da3b1dafeaa6d75a7cff3e84bd4e22fc46364b68e5e9f WHIRLPOOL 9ae283b05b278ec2844aa3cf54193d9fd5735508e2eb60c0d741f719f1598b4e374dab6d4ee48d78323b0b8038715969d20435f1b8ce20775f2b3f072759c994
45 +DIST gdb-7.9.1.tar.xz 17867692 SHA256 cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40 SHA512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414 WHIRLPOOL fe7afb392f453fa5aab290da3b74118c4e3bbae6f4e276f2efd7f978e3987e031d92ecd90d35e0531901f1cf68b04a313df050b25bb3b632d1b6e62360acd591
46
47 diff --git a/sys-devel/gdb/gdb-7.10.1.ebuild b/sys-devel/gdb/gdb-7.10.1.ebuild
48 index 3c72cec..068546b 100644
49 --- a/sys-devel/gdb/gdb-7.10.1.ebuild
50 +++ b/sys-devel/gdb/gdb-7.10.1.ebuild
51 @@ -57,7 +57,8 @@ SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.x
52 LICENSE="GPL-2 LGPL-2"
53 SLOT="0"
54 if [[ ${PV} != 9999* ]] ; then
55 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
56 + # alpha #562128
57 + KEYWORDS="-alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
58 fi
59 IUSE="+client expat lzma multitarget nls +python +server test vanilla"
60 REQUIRED_USE="
61
62 diff --git a/sys-devel/gdb/gdb-7.11.ebuild b/sys-devel/gdb/gdb-7.11.ebuild
63 index 50b1699..0b17d45 100644
64 --- a/sys-devel/gdb/gdb-7.11.ebuild
65 +++ b/sys-devel/gdb/gdb-7.11.ebuild
66 @@ -57,7 +57,8 @@ SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.x
67 LICENSE="GPL-2 LGPL-2"
68 SLOT="0"
69 if [[ ${PV} != 9999* ]] ; then
70 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
71 + # alpha #562128
72 + KEYWORDS="-alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
73 fi
74 IUSE="+client expat lzma multitarget nls +python +server test vanilla"
75 REQUIRED_USE="
76
77 diff --git a/sys-devel/gdb/gdb-7.10.1.ebuild b/sys-devel/gdb/gdb-7.9.1.ebuild
78 similarity index 92%
79 copy from sys-devel/gdb/gdb-7.10.1.ebuild
80 copy to sys-devel/gdb/gdb-7.9.1.ebuild
81 index 3c72cec..965d89b 100644
82 --- a/sys-devel/gdb/gdb-7.10.1.ebuild
83 +++ b/sys-devel/gdb/gdb-7.9.1.ebuild
84 @@ -3,7 +3,7 @@
85 # $Id$
86
87 EAPI="5"
88 -PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
89 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
90
91 inherit flag-o-matic eutils python-single-r1
92
93 @@ -59,7 +59,7 @@ SLOT="0"
94 if [[ ${PV} != 9999* ]] ; then
95 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
96 fi
97 -IUSE="+client expat lzma multitarget nls +python +server test vanilla"
98 +IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib"
99 REQUIRED_USE="
100 python? ( ${PYTHON_REQUIRED_USE} )
101 || ( client server )
102 @@ -72,7 +72,7 @@ RDEPEND="server? ( !dev-util/gdbserver )
103 expat? ( dev-libs/expat )
104 lzma? ( app-arch/xz-utils )
105 python? ( ${PYTHON_DEPS} )
106 - sys-libs/zlib
107 + zlib? ( sys-libs/zlib )
108 )"
109 DEPEND="${RDEPEND}
110 app-arch/xz-utils
111 @@ -102,7 +102,6 @@ gdb_branding() {
112 else
113 printf "vanilla"
114 fi
115 - [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
116 }
117
118 src_configure() {
119 @@ -149,16 +148,13 @@ src_configure() {
120 # For gdb itself, it'll use the system version.
121 --disable-readline
122 --with-system-readline
123 - # This only disables building in the zlib subdir.
124 - # For gdb itself, it'll use the system version.
125 - --without-zlib
126 - --with-system-zlib
127 --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug
128 $(use_with expat)
129 $(use_with lzma)
130 $(use_enable nls)
131 $(use multitarget && echo --enable-targets=all)
132 $(use_with python python "${EPYTHON}")
133 + $(use_with zlib)
134 )
135 fi
136
137 @@ -175,14 +171,6 @@ src_install() {
138 use client && find "${ED}"/usr -name libiberty.a -delete
139 cd "${S}"
140
141 - # Delete translations that conflict with binutils-libs. #528088
142 - # Note: Should figure out how to store these in an internal gdb dir.
143 - if use nls ; then
144 - find "${ED}" \
145 - -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \
146 - -delete
147 - fi
148 -
149 # Don't install docs when building a cross-gdb
150 if [[ ${CTARGET} != ${CHOST} ]] ; then
151 rm -r "${ED}"/usr/share/{doc,info,locale}