[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-28 Thread Sam James
commit: 53a36fc12de5144c5c2c8549855c13af9a2d5bf3
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 28 06:17:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 28 14:57:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a36fc1

sys-devel/gdb: drop 13.2-r1

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 313 ---
 1 file changed, 313 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
deleted file mode 100644
index ab6e7cd2f2bd..
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ /dev/null
@@ -1,313 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
-# tips & notes.
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50_p2???|*.*.90_p2???)
-   # Weekly snapshots
-   MY_PV="${PV/_p/.}"
-   SRC_URI="
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
-   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
-   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz
-   "
-   S="${WORKDIR}/${PN}-${MY_PV}"
-
-   # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so 
it's fine
-   if [[ ${PV} == *.[123456789].9?_p2??? ]] ; then
-   REGULAR_RELEASE=1
-   fi
-   ;;
-   *.*.9?)
-   # Prereleases
-   MY_PV="${PV/_p/.}"
-   SRC_URI="
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
-   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz
-   "
-   S="${WORKDIR}/${PN}-${MY_PV}"
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="
-   mirror://gnu/gdb/${P}.tar.xz
-   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
-   "
-
-   REGULAR_RELEASE=1
-esac
-
-PATCH_DEV=""
-PATCH_VER=""
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="
-   ${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
-"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-fi
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/mpfr:=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:=
-   >=sys-libs/readline-7:=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-   zstd? ( app-arch/zstd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-   "${FILESDIR}"/${P}-fix-sparc-debugging.patch
-)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   strip-linguas -u bfd/po opcodes/po
-
-   # Avoid using ancient termcap from host on Prefix systems
-   sed -i -e 's/termcap tinfow/tinfow/g' \
-   gdb/configure{.ac,} || die
-}
-
-gdb_branding() {
-   printf "Gentoo ${PV} "
-
-   if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
-   printf "p${PATCH_VER}"
-   else
-   printf "vanilla"
-   fi
-
-   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-08 Thread Sam James
commit: 36cccb90df6d77e9935a407720c1694101cbf0f0
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  8 09:53:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  8 09:53:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36cccb90

sys-devel/gdb: Stabilize 13.2-r2 sparc, #916833

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 0efed3a4e0d5..c7ac11991570 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-08 Thread Arthur Zamarin
commit: a690b7f1b46c7ee8ba07e85259d5ca26efdcbdcf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 08:48:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 08:48:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a690b7f1

sys-devel/gdb: Stabilize 13.2-r2 hppa, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 456725f1ba47..0efed3a4e0d5 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: 33e4aeeb36eabdfaa43c71e75e8203e02ee204d0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e4aeeb

sys-devel/gdb: Stabilize 13.2-r2 ppc64, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 7d5963e5bb6f..8e9bcb9e0dc3 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: efbde9c6cb4a81a9c17913792cd2db23a49e68cf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbde9c6

sys-devel/gdb: Stabilize 13.2-r2 arm64, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 8e9bcb9e0dc3..01d4ce9ff0a1 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: 01e3db080fba4c9e2ed366e7c565072fe614cc6b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:29 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e3db08

sys-devel/gdb: Stabilize 13.2-r2 ppc, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 01d4ce9ff0a1..456725f1ba47 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: 9b121a65ac71dcc6fb745450701d85e1e26920d7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b121a65

sys-devel/gdb: Stabilize 13.2-r2 amd64, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 9157c229e511..4ab642381c36 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: 2490414b0f42566337a2c171fc7aa4b3e864bad1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2490414b

sys-devel/gdb: Stabilize 13.2-r2 arm, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index ad612f81a82d..9157c229e511 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-07 Thread Arthur Zamarin
commit: a0092898d93e650b20b420a93470f4d8379296e5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 07:09:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 07:09:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0092898

sys-devel/gdb: Stabilize 13.2-r2 x86, #916833

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 4ab642381c36..7d5963e5bb6f 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-12-02 Thread Sam James
commit: dc230f422d7fd4342c5060bb83d6aeceae1cfce1
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  3 06:17:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  3 06:22:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc230f42

sys-devel/gdb: add 14.1

Closes: https://bugs.gentoo.org/898688
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest| 2 +-
 sys-devel/gdb/{gdb-14.0.91.ebuild => gdb-14.1.ebuild} | 4 
 sys-devel/gdb/gdb-.ebuild | 4 
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 0ec5cf3bc981..363506944c7d 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,2 +1,2 @@
 DIST gdb-13.2.tar.xz 23664644 BLAKE2B 
bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f
 SHA512 
8185d3e11ab60dafff5860a5016577bfe7dd7547ef01ebc867bc247603d82b74ff74c4f29492c7d2aee57076f52be33e289f4c6b414a4b870d4b3004909f4c34
-DIST gdb-14.0.91.tar.xz 24105084 BLAKE2B 
8a40e0e71dcc22668fa7fd977650fe84ca53376c33cdfb8795975a37f33e948c0c6e771613484913664e41bfc4898be750c5a6d209b6e005fedb533f701adc8a
 SHA512 
46217d960b681da86ee3e4e659f5d03246d3018aa1333b05cba127b3b7cd4df617e4af62fc383e5ad6777da198ba93f5d733132a4b9fcb5b4cbdf8b9331fc1fc
+DIST gdb-14.1.tar.xz 24108624 BLAKE2B 
52a07b4745f95561f360a597d6ec1d212dafc8e9134dc415cd7bcfb02c26934a60807c8400b545a756c68392e16e104178cdc1464430c53611973881e921a942
 SHA512 
575e198105076fc4a88f68591aa114ab9c1196e84386a3f7b9b58fe5f30cdeed33f6a5f957b68f08c47284ec922bb60c964627e238471419673fd913575ce427

diff --git a/sys-devel/gdb/gdb-14.0.91.ebuild b/sys-devel/gdb/gdb-14.1.ebuild
similarity index 99%
rename from sys-devel/gdb/gdb-14.0.91.ebuild
rename to sys-devel/gdb/gdb-14.1.ebuild
index 025a1ba633e4..7fbe785c21a5 100644
--- a/sys-devel/gdb/gdb-14.0.91.ebuild
+++ b/sys-devel/gdb/gdb-14.1.ebuild
@@ -111,6 +111,10 @@ BDEPEND="
test? ( dev-util/dejagnu )
 "
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   MIN # gnulib FP (bug #898688)
+)
+
 PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
 )

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 025a1ba633e4..7fbe785c21a5 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -111,6 +111,10 @@ BDEPEND="
test? ( dev-util/dejagnu )
 "
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   MIN # gnulib FP (bug #898688)
+)
+
 PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
 )



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-11-22 Thread Sam James
commit: e38e4ec2f9609e05f7b086c053efd3faeca72c4f
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 22 12:09:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 22 12:09:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38e4ec2

sys-devel/gdb: drop 13.2

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 312 --
 1 file changed, 312 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
deleted file mode 100644
index 8ca46ea15fca..
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
-# tips & notes.
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50_p2???|*.*.90_p2???)
-   # Weekly snapshots
-   MY_PV="${PV/_p/.}"
-   SRC_URI="
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
-   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
-   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz
-   "
-   S="${WORKDIR}/${PN}-${MY_PV}"
-
-   # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so 
it's fine
-   if [[ ${PV} == *.[123456789].9?_p2??? ]] ; then
-   REGULAR_RELEASE=1
-   fi
-   ;;
-   *.*.9?)
-   # Prereleases
-   MY_PV="${PV/_p/.}"
-   SRC_URI="
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
-   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz
-   "
-   S="${WORKDIR}/${PN}-${MY_PV}"
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="
-   mirror://gnu/gdb/${P}.tar.xz
-   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
-   "
-
-   REGULAR_RELEASE=1
-esac
-
-PATCH_DEV=""
-PATCH_VER=""
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="
-   ${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
-"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-fi
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/mpfr:=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:=
-   >=sys-libs/readline-7:=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-   zstd? ( app-arch/zstd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   strip-linguas -u bfd/po opcodes/po
-
-   # Avoid using ancient termcap from host on Prefix systems
-   sed -i -e 's/termcap tinfow/tinfow/g' \
-   gdb/configure{.ac,} || die
-}
-
-gdb_branding() {
-   printf "Gentoo ${PV} "
-
-   if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
-   printf "p${PATCH_VER}"
-   else
-   printf "vanilla"
-   fi
-
-   [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
-}
-

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-10-09 Thread Sam James
commit: 9e89f649d54baf55542c6f6b5e7b6cb1c795ad92
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  9 07:51:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  9 07:51:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e89f649

sys-devel/gdb: add 14.0.91 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest| 1 +
 sys-devel/gdb/{gdb-.ebuild => gdb-14.0.91.ebuild} | 2 +-
 sys-devel/gdb/gdb-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 29ddd3aaa11d..0ec5cf3bc981 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1 +1,2 @@
 DIST gdb-13.2.tar.xz 23664644 BLAKE2B 
bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f
 SHA512 
8185d3e11ab60dafff5860a5016577bfe7dd7547ef01ebc867bc247603d82b74ff74c4f29492c7d2aee57076f52be33e289f4c6b414a4b870d4b3004909f4c34
+DIST gdb-14.0.91.tar.xz 24105084 BLAKE2B 
8a40e0e71dcc22668fa7fd977650fe84ca53376c33cdfb8795975a37f33e948c0c6e771613484913664e41bfc4898be750c5a6d209b6e005fedb533f701adc8a
 SHA512 
46217d960b681da86ee3e4e659f5d03246d3018aa1333b05cba127b3b7cd4df617e4af62fc383e5ad6777da198ba93f5d733132a4b9fcb5b4cbdf8b9331fc1fc

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-14.0.91.ebuild
similarity index 99%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-14.0.91.ebuild
index 085df52dacb9..025a1ba633e4 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-14.0.91.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
 # tips & notes.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 
 export CTARGET=${CTARGET:-${CHOST}}

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 085df52dacb9..025a1ba633e4 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
 # tips & notes.
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 
 export CTARGET=${CTARGET:-${CHOST}}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-10-02 Thread Sam James
commit: 11e20405a1a8ffa9d7efe197ded0759846fa4256
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Oct  2 07:49:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  2 10:15:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e20405

sys-devel/gdb: stable 13.2-r1 for hppa, bug #911232

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index 83b9a838d200..ab6e7cd2f2bd 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-09-27 Thread Sam James
commit: 250e119954afe9ad63a4a2bd4afae50b6cc37001
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 27 07:43:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 27 07:44:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=250e1199

sys-devel/gdb: drop filter-lto for 

Fixed upstream.

Bug: https://bugs.gentoo.org/853898
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-.ebuild | 8 
 1 file changed, 8 deletions(-)

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index a408facc7c95..085df52dacb9 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -144,14 +144,6 @@ gdb_branding() {
 src_configure() {
strip-unsupported-flags
 
-   # Originally added for bug #853898.
-   # During 14 development (not yet released as of writing), there's active
-   # work ongoing here:
-   # * https://sourceware.org/PR22395 (general/catchall/tracker)
-   # * https://sourceware.org/PR30751 (btrace)
-   # * https://sourceware.org/PR30757 (opcodes)
-   filter-lto
-
# See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
# Avoid really confusing logs from subconfigure spam, makes logs far
# more legible.



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-08-18 Thread Sam James
commit: b295f9530d1b89178f88e88c1ab0bf20c493bed3
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 18 09:18:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 18 09:19:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b295f953

sys-devel/gdb: update filter-lto comment for 

Active work ongoing in master so we may be able to drop this in time for 14.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index e59893fec5d7..a408facc7c95 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -144,7 +144,12 @@ gdb_branding() {
 src_configure() {
strip-unsupported-flags
 
-   # https://sourceware.org/PR22395, bug #853898
+   # Originally added for bug #853898.
+   # During 14 development (not yet released as of writing), there's active
+   # work ongoing here:
+   # * https://sourceware.org/PR22395 (general/catchall/tracker)
+   # * https://sourceware.org/PR30751 (btrace)
+   # * https://sourceware.org/PR30757 (opcodes)
filter-lto
 
# See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-08-13 Thread Sam James
commit: 0262b1c837e178a7d955d13f463d8ce648ee00ad
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 13 10:35:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 13 23:38:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0262b1c8

sys-devel/gdb: filter-lto

Lots of LTO warnings acknowledged upstream.

Closes: https://bugs.gentoo.org/853898
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 3 +++
 sys-devel/gdb/gdb-.ebuild| 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index d5ff38e3763a..ad612f81a82d 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -145,6 +145,9 @@ gdb_branding() {
 src_configure() {
strip-unsupported-flags
 
+   # https://sourceware.org/PR22395, bug #853898
+   filter-lto
+
# See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
# Avoid really confusing logs from subconfigure spam, makes logs far
# more legible.

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 085df52dacb9..e59893fec5d7 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -144,6 +144,9 @@ gdb_branding() {
 src_configure() {
strip-unsupported-flags
 
+   # https://sourceware.org/PR22395, bug #853898
+   filter-lto
+
# See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
# Avoid really confusing logs from subconfigure spam, makes logs far
# more legible.



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-08-03 Thread Sam James
commit: 58334beaa44bafb12f5061f431b062edd0fab28f
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 01:47:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 01:49:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58334bea

sys-devel/gdb: pass --disable-silent-rules

Do as we do for --disable-dependency-tracking. Will do the same shortly for
Binutils too.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r2.ebuild | 9 +++--
 sys-devel/gdb/gdb-.ebuild| 9 +++--
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.2-r2.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
index 0d8c5729c3d2..d5ff38e3763a 100644
--- a/sys-devel/gdb/gdb-13.2-r2.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -153,8 +153,9 @@ src_configure() {
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not
-   # gnulib's or gdb's configure.
+   # libiberty's or gdb's configure.
--disable-dependency-tracking
+   --disable-silent-rules
 
--with-pkgversion="$(gdb_branding)"
--with-bugurl='https://bugs.gentoo.org/'
@@ -234,10 +235,6 @@ src_configure() {
econf "${myconf[@]}"
 }
 
-src_compile() {
-   emake V=1
-}
-
 src_test() {
# Run the unittests (nabbed invocation from Fedora's spec file) at least
emake -k -C gdb run GDBFLAGS='-batch -ex "maintenance selftest"'
@@ -251,7 +248,7 @@ src_test() {
 }
 
 src_install() {
-   emake V=1 DESTDIR="${D}" install
+   emake DESTDIR="${D}" install
 
find "${ED}"/usr -name libiberty.a -delete || die
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index a9932a210efe..085df52dacb9 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -152,8 +152,9 @@ src_configure() {
local myconf=(
# portage's econf() does not detect presence of --d-d-t
# because it greps only top-level ./configure. But not
-   # gnulib's or gdb's configure.
+   # libiberty's or gdb's configure.
--disable-dependency-tracking
+   --disable-silent-rules
 
--with-pkgversion="$(gdb_branding)"
--with-bugurl='https://bugs.gentoo.org/'
@@ -233,10 +234,6 @@ src_configure() {
econf "${myconf[@]}"
 }
 
-src_compile() {
-   emake V=1
-}
-
 src_test() {
# Run the unittests (nabbed invocation from Fedora's spec file) at least
emake -k -C gdb run GDBFLAGS='-batch -ex "maintenance selftest"'
@@ -250,7 +247,7 @@ src_test() {
 }
 
 src_install() {
-   emake V=1 DESTDIR="${D}" install
+   emake DESTDIR="${D}" install
 
find "${ED}"/usr -name libiberty.a -delete || die
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-08-03 Thread Arthur Zamarin
commit: 436fb0c72ce2d95d93719f2bedf5f36d4ab0376c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug  3 10:28:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug  3 10:28:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436fb0c7

sys-devel/gdb: Stabilize 13.2-r1 ppc, #911232

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index cbebebd83176..83b9a838d200 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-08-02 Thread Sam James
commit: c3e67ad3bd7276cc98bbefc1252b4d51400b64cb
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 15:10:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 15:10:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e67ad3

sys-devel/gdb: Stabilize 13.2-r1 sparc, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index 4c6a18540b4b..cbebebd83176 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-26 Thread Sam James
commit: 438a9cafd1bb7dc69f1fe0937170c257bf850c04
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 23:11:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 23:11:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438a9caf

sys-devel/gdb: Stabilize 13.2-r1 ppc64, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index ba2c30639339..65ba9538db00 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-26 Thread Sam James
commit: d58cde7b318ba91ef652b0c31f9cb6594d2de33e
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 23:11:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 23:11:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58cde7b

sys-devel/gdb: Stabilize 13.2-r1 x86, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index bd5cf37e0f9f..ba2c30639339 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-26 Thread Sam James
commit: 86a464e4a2809de67abbf42ca7ee7e5de419b3c7
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 23:11:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 23:11:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a464e4

sys-devel/gdb: Stabilize 13.2-r1 amd64, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index 65ba9538db00..4c6a18540b4b 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-26 Thread Sam James
commit: c8dc6a8a8471821d2d36b66c80c732151b92d33a
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 07:11:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 07:11:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8dc6a8a

sys-devel/gdb: Stabilize 13.2-r1 arm, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index 09dfedaf1ee1..337323b4e719 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-26 Thread Sam James
commit: f89a675a5c099e7f8e6ef13df37eb8b011e3e49e
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 26 07:11:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 07:11:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89a675a

sys-devel/gdb: Stabilize 13.2-r1 arm64, #911232

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2-r1.ebuild b/sys-devel/gdb/gdb-13.2-r1.ebuild
index 337323b4e719..bd5cf37e0f9f 100644
--- a/sys-devel/gdb/gdb-13.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r1.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-07-19 Thread Arsen Arsenović
commit: e78f8bdb713aabc1a135f6dba9def7da7a373360
Author: Arsen Arsenović  gentoo  org>
AuthorDate: Tue Jul 18 00:30:48 2023 +
Commit: Arsen Arsenović  gentoo  org>
CommitDate: Wed Jul 19 21:44:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78f8bdb

sys-devel/gdb: add debuginfod support

Closes: https://github.com/gentoo/gentoo/pull/31941
Signed-off-by: Arsen Arsenović  gentoo.org>

 sys-devel/gdb/{gdb-.ebuild => gdb-13.2-r2.ebuild} | 10 ++
 sys-devel/gdb/gdb-.ebuild |  9 +
 sys-devel/gdb/metadata.xml|  1 +
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-13.2-r2.ebuild
similarity index 97%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-13.2-r2.ebuild
index f234645144c8..0d8c5729c3d2 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-13.2-r2.ebuild
@@ -72,7 +72,7 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
@@ -86,6 +86,9 @@ RDEPEND="
>=sys-libs/readline-7:=
sys-libs/zlib
elibc_glibc? ( net-libs/libnsl:= )
+   debuginfod? (
+   dev-libs/elfutils[debuginfod(-)]
+   )
lzma? ( app-arch/xz-utils )
python? ( ${PYTHON_DEPS} )
guile? ( >=dev-scheme/guile-2.0 )
@@ -110,6 +113,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
+   "${FILESDIR}"/${P}-fix-sparc-debugging.patch
 )
 
 pkg_setup() {
@@ -158,9 +162,7 @@ src_configure() {
# Disable modules that are in a combined binutils/gdb tree. bug 
#490566
--disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
-   # avoid automagic dependency on (currently prefix) systems
-   # systems with debuginfod library, bug #754753
-   --without-debuginfod
+   $(use_with debuginfod)
 
$(use_enable test unit-tests)
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index f234645144c8..a9932a210efe 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -72,7 +72,7 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+IUSE="cet debuginfod guile lzma multitarget nls +python +server sim 
source-highlight test vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
@@ -86,6 +86,9 @@ RDEPEND="
>=sys-libs/readline-7:=
sys-libs/zlib
elibc_glibc? ( net-libs/libnsl:= )
+   debuginfod? (
+   dev-libs/elfutils[debuginfod(-)]
+   )
lzma? ( app-arch/xz-utils )
python? ( ${PYTHON_DEPS} )
guile? ( >=dev-scheme/guile-2.0 )
@@ -158,9 +161,7 @@ src_configure() {
# Disable modules that are in a combined binutils/gdb tree. bug 
#490566
--disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
-   # avoid automagic dependency on (currently prefix) systems
-   # systems with debuginfod library, bug #754753
-   --without-debuginfod
+   $(use_with debuginfod)
 
$(use_enable test unit-tests)
 

diff --git a/sys-devel/gdb/metadata.xml b/sys-devel/gdb/metadata.xml
index 5baff33ff49e..2e08f18a3470 100644
--- a/sys-devel/gdb/metadata.xml
+++ b/sys-devel/gdb/metadata.xml
@@ -15,6 +15,7 @@
Enable listing highlighting via 
dev-util/source-highlight
Support parsing XML data files needed (at 
least) for cpu features, memory maps, and syscall tracing
Use dev-libs/xxhash to speed up 
internal hashing.
+   Enable debuginfod support via 
dev-libs/elfutils libdebuginfod


cpe:/a:gnu:gdb



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-07-15 Thread Arsen Arsenović
commit: 350d1ae125901fca5a78651bcd44b3cc48e5d80d
Author: Arsen Arsenović  gentoo  org>
AuthorDate: Sat Jul 15 10:29:55 2023 +
Commit: Arsen Arsenović  gentoo  org>
CommitDate: Sat Jul 15 10:32:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=350d1ae1

sys-devel/gdb: Revert "backport fix for auto-load path expansion"

This reverts commit 1bd52fc52dd36b4b83f51530685fc985482ff921.

The bug this patch fixes actually isn't in 13.2.  It was just a mirage.

Closes: https://bugs.gentoo.org/910390
Signed-off-by: Arsen Arsenović  gentoo.org>

 .../gdb-13.2-fix-auto-load-path-expansion.patch| 229 -
 .../gdb/{gdb-13.2-r2.ebuild => gdb-13.2-r1.ebuild} |   1 -
 2 files changed, 230 deletions(-)

diff --git a/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch 
b/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch
deleted file mode 100644
index 4af86f3917be..
--- a/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch
+++ /dev/null
@@ -1,229 +0,0 @@
-https://inbox.sourceware.org/gdb-patches/87351qo3n2@tromey.com/
-https://sourceware.org/cgit/binutils-gdb/commit/?id=02601231fdd91a7bd4837ce2029
-From 23e46b680f6fa6fce45aaf6c004cab6be322fbf1 Mon Sep 17 00:00:00 2001
-From: Tom Tromey 
-Date: Fri, 14 Jul 2023 09:35:03 -0600
-Subject: Revert "Simplify auto_load_expand_dir_vars and remove
- substitute_path_component"
-
-This reverts commit 02601231fdd91a7bd4837ce202906ea2ce661489.
-
-This commit was a refactoring to remove an xrealloc and simplify
-utils.[ch].  However, it has a flaw -- it mishandles a substitution
-like "$datadir/subdir".
-
-I am backing out the patch in the interests of fixing the regression
-before GDB 14.  It can be reinstated (with modifications) later if we
-like.
-
-Regression tested on x86-64 Fedora 36.

- gdb/Makefile.in |  1 +
- gdb/auto-load.c | 33 +--
- gdb/unittests/utils-selftests.c | 60 +
- gdb/utils.c | 45 +++
- gdb/utils.h |  3 +++
- 5 files changed, 121 insertions(+), 21 deletions(-)
- create mode 100644 gdb/unittests/utils-selftests.c
-
-diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index d909786792c..8521e8d11c8 100644
 a/gdb/Makefile.in
-+++ b/gdb/Makefile.in
-@@ -490,6 +490,7 @@ SELFTESTS_SRCS = \
-   unittests/ui-file-selftests.c \
-   unittests/unique_xmalloc_ptr_char.c \
-   unittests/unpack-selftests.c \
-+  unittests/utils-selftests.c \
-   unittests/vec-utils-selftests.c \
-   unittests/xml-utils-selftests.c
- 
-diff --git a/gdb/auto-load.c b/gdb/auto-load.c
-index 9d6fabe6bbc..5267cb4e64d 100644
 a/gdb/auto-load.c
-+++ b/gdb/auto-load.c
-@@ -173,33 +173,24 @@ static std::string auto_load_safe_path = 
AUTO_LOAD_SAFE_PATH;
-counterpart.  */
- static std::vector> auto_load_safe_path_vec;
- 
--/* Expand $datadir and $debugdir in STRING.  */
-+/* Expand $datadir and $debugdir in STRING according to the rules of
-+   substitute_path_component.  */
- 
- static std::vector>
- auto_load_expand_dir_vars (const char *string)
- {
--  std::vector> result
--= dirnames_to_char_ptr_vec (string);
-+  char *s = xstrdup (string);
-+  substitute_path_component (, "$datadir", gdb_datadir.c_str ());
-+  substitute_path_component (, "$debugdir", debug_file_directory.c_str ());
- 
--  for (auto  : result)
--{
--  if (strcmp (elt.get (), "$datadir") == 0)
--  {
--elt = make_unique_xstrdup (gdb_datadir.c_str ());
--if (debug_auto_load)
--  auto_load_debug_printf ("Expanded $datadir to \"%s\".",
--  gdb_datadir.c_str ());
--  }
--  else if (strcmp (elt.get (), "$debugdir") == 0)
--  {
--elt = make_unique_xstrdup (debug_file_directory.c_str ());
--if (debug_auto_load)
--  auto_load_debug_printf ("Expanded $debugdir to \"%s\".",
--  debug_file_directory.c_str ());
--  }
--}
-+  if (debug_auto_load && strcmp (s, string) != 0)
-+auto_load_debug_printf ("Expanded $-variables to \"%s\".", s);
-+
-+  std::vector> dir_vec
-+= dirnames_to_char_ptr_vec (s);
-+  xfree(s);
- 
--  return result;
-+  return dir_vec;
- }
- 
- /* Update auto_load_safe_path_vec from current AUTO_LOAD_SAFE_PATH.  */
-diff --git a/gdb/unittests/utils-selftests.c b/gdb/unittests/utils-selftests.c
-new file mode 100644
-index 000..70609aa4294
 /dev/null
-+++ b/gdb/unittests/utils-selftests.c
-@@ -0,0 +1,60 @@
-+/* Unit tests for the utils.c file.
-+
-+   Copyright (C) 2018-2023 Free Software Foundation, Inc.
-+
-+   This file is part of GDB.
-+
-+   This program is free software; you can redistribute it and/or modify
-+   it under the terms of the GNU General Public License as published by
-+   the Free Software Foundation; either version 3 of the License, or
-+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-07-15 Thread Arsen Arsenović
commit: 1bd52fc52dd36b4b83f51530685fc985482ff921
Author: Arsen Arsenović  gentoo  org>
AuthorDate: Sat Jul 15 10:05:50 2023 +
Commit: Arsen Arsenović  gentoo  org>
CommitDate: Sat Jul 15 10:12:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd52fc5

sys-devel/gdb: backport fix for auto-load path expansion

02601231fdd91a7bd4837ce202906ea2ce661489 (in binutils-gdb.git) added a
refactor that unintentionally broke expansion of auto-load paths of the
form of '$datadir/subdir' and similar (i.e. not the trivial '$datadir'
case).

Backport the reversion.

Signed-off-by: Arsen Arsenović  gentoo.org>

 .../gdb-13.2-fix-auto-load-path-expansion.patch| 229 +
 .../gdb/{gdb-13.2-r1.ebuild => gdb-13.2-r2.ebuild} |   1 +
 2 files changed, 230 insertions(+)

diff --git a/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch 
b/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch
new file mode 100644
index ..4af86f3917be
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-13.2-fix-auto-load-path-expansion.patch
@@ -0,0 +1,229 @@
+https://inbox.sourceware.org/gdb-patches/87351qo3n2@tromey.com/
+https://sourceware.org/cgit/binutils-gdb/commit/?id=02601231fdd91a7bd4837ce2029
+From 23e46b680f6fa6fce45aaf6c004cab6be322fbf1 Mon Sep 17 00:00:00 2001
+From: Tom Tromey 
+Date: Fri, 14 Jul 2023 09:35:03 -0600
+Subject: Revert "Simplify auto_load_expand_dir_vars and remove
+ substitute_path_component"
+
+This reverts commit 02601231fdd91a7bd4837ce202906ea2ce661489.
+
+This commit was a refactoring to remove an xrealloc and simplify
+utils.[ch].  However, it has a flaw -- it mishandles a substitution
+like "$datadir/subdir".
+
+I am backing out the patch in the interests of fixing the regression
+before GDB 14.  It can be reinstated (with modifications) later if we
+like.
+
+Regression tested on x86-64 Fedora 36.
+---
+ gdb/Makefile.in |  1 +
+ gdb/auto-load.c | 33 +--
+ gdb/unittests/utils-selftests.c | 60 +
+ gdb/utils.c | 45 +++
+ gdb/utils.h |  3 +++
+ 5 files changed, 121 insertions(+), 21 deletions(-)
+ create mode 100644 gdb/unittests/utils-selftests.c
+
+diff --git a/gdb/Makefile.in b/gdb/Makefile.in
+index d909786792c..8521e8d11c8 100644
+--- a/gdb/Makefile.in
 b/gdb/Makefile.in
+@@ -490,6 +490,7 @@ SELFTESTS_SRCS = \
+   unittests/ui-file-selftests.c \
+   unittests/unique_xmalloc_ptr_char.c \
+   unittests/unpack-selftests.c \
++  unittests/utils-selftests.c \
+   unittests/vec-utils-selftests.c \
+   unittests/xml-utils-selftests.c
+ 
+diff --git a/gdb/auto-load.c b/gdb/auto-load.c
+index 9d6fabe6bbc..5267cb4e64d 100644
+--- a/gdb/auto-load.c
 b/gdb/auto-load.c
+@@ -173,33 +173,24 @@ static std::string auto_load_safe_path = 
AUTO_LOAD_SAFE_PATH;
+counterpart.  */
+ static std::vector> auto_load_safe_path_vec;
+ 
+-/* Expand $datadir and $debugdir in STRING.  */
++/* Expand $datadir and $debugdir in STRING according to the rules of
++   substitute_path_component.  */
+ 
+ static std::vector>
+ auto_load_expand_dir_vars (const char *string)
+ {
+-  std::vector> result
+-= dirnames_to_char_ptr_vec (string);
++  char *s = xstrdup (string);
++  substitute_path_component (, "$datadir", gdb_datadir.c_str ());
++  substitute_path_component (, "$debugdir", debug_file_directory.c_str ());
+ 
+-  for (auto  : result)
+-{
+-  if (strcmp (elt.get (), "$datadir") == 0)
+-  {
+-elt = make_unique_xstrdup (gdb_datadir.c_str ());
+-if (debug_auto_load)
+-  auto_load_debug_printf ("Expanded $datadir to \"%s\".",
+-  gdb_datadir.c_str ());
+-  }
+-  else if (strcmp (elt.get (), "$debugdir") == 0)
+-  {
+-elt = make_unique_xstrdup (debug_file_directory.c_str ());
+-if (debug_auto_load)
+-  auto_load_debug_printf ("Expanded $debugdir to \"%s\".",
+-  debug_file_directory.c_str ());
+-  }
+-}
++  if (debug_auto_load && strcmp (s, string) != 0)
++auto_load_debug_printf ("Expanded $-variables to \"%s\".", s);
++
++  std::vector> dir_vec
++= dirnames_to_char_ptr_vec (s);
++  xfree(s);
+ 
+-  return result;
++  return dir_vec;
+ }
+ 
+ /* Update auto_load_safe_path_vec from current AUTO_LOAD_SAFE_PATH.  */
+diff --git a/gdb/unittests/utils-selftests.c b/gdb/unittests/utils-selftests.c
+new file mode 100644
+index 000..70609aa4294
+--- /dev/null
 b/gdb/unittests/utils-selftests.c
+@@ -0,0 +1,60 @@
++/* Unit tests for the utils.c file.
++
++   Copyright (C) 2018-2023 Free Software Foundation, Inc.
++
++   This file is part of GDB.
++
++   This program is free software; you can redistribute it and/or modify
++   it under the terms of the GNU General Public License as published by
++   the Free 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-07-06 Thread Sam James
commit: e89cad361658a86b982a13ceec01514d36011ed0
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul  6 17:15:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul  6 17:15:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89cad36

sys-devel/gdb: fix runtime debugging on sparc

Closes: https://bugs.gentoo.org/907906
Signed-off-by: Sam James  gentoo.org>

 .../gdb/files/gdb-13.2-fix-sparc-debugging.patch   | 126 +
 sys-devel/gdb/gdb-13.2-r1.ebuild   | 313 +
 2 files changed, 439 insertions(+)

diff --git a/sys-devel/gdb/files/gdb-13.2-fix-sparc-debugging.patch 
b/sys-devel/gdb/files/gdb-13.2-fix-sparc-debugging.patch
new file mode 100644
index ..3d5201cd94e3
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-13.2-fix-sparc-debugging.patch
@@ -0,0 +1,126 @@
+https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=31a56a22c45d76df4c597439f337e3f75ac3065c
+https://sourceware.org/bugzilla/show_bug.cgi?id=30525
+https://bugs.gentoo.org/907906
+
+From 31a56a22c45d76df4c597439f337e3f75ac3065c Mon Sep 17 00:00:00 2001
+From: Pedro Alves 
+Date: Wed, 7 Jun 2023 10:38:14 +0100
+Subject: [PATCH] Linux: Avoid pread64/pwrite64 for high memory addresses (PR
+ gdb/30525)
+
+Since commit 05c06f318fd9 ("Linux: Access memory even if threads are
+running"), GDB prefers pread64/pwrite64 to access inferior memory
+instead of ptrace.  That change broke reading shared libraries on
+SPARC64 Linux, as reported by PR gdb/30525 ("gdb cannot read shared
+libraries on SPARC64").
+
+On SPARC64 Linux, surprisingly (to me), userspace shared libraries are
+mapped at high 64-bit addresses:
+
+   (gdb) info sharedlibrary
+   Cannot access memory at address 0xfff80001002011e0
+   Cannot access memory at address 0xfff80001002011d8
+   Cannot access memory at address 0xfff80001002011d8
+   FromTo  Syms Read   Shared Object Library
+   0xfff8000110a0  0xfff8000100021f80  Yes (*) /lib64/ld-linux.so.2
+   (*): Shared library is missing debugging information.
+
+Those addresses are 64-bit addresses with the high bits set.  When
+interpreted as signed, they're negative.
+
+The Linux kernel rejects pread64/pwrite64 if the offset argument of
+type off_t (a signed type) is negative, which happens if the memory
+address we're accessing has its high bit set.  See
+linux/fs/read_write.c sys_pread64 and sys_pwrite64 in Linux.
+
+Thankfully, lseek does not fail in that situation.  So the fix is to
+use the 'lseek + read|write' path if the offset would be negative.
+
+Fix this in both native GDB and GDBserver.
+
+Tested on a SPARC64 GNU/Linux and x86-64 GNU/Linux.
+
+Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30525
+Change-Id: I79c724f918037ea67b7396fadb521bc9d1b10dc5
+--- a/gdb/linux-nat.c
 b/gdb/linux-nat.c
+@@ -3909,18 +3909,26 @@ linux_proc_xfer_memory_partial_fd (int fd, int pid,
+ 
+   gdb_assert (fd != -1);
+ 
+-  /* Use pread64/pwrite64 if available, since they save a syscall and can
+- handle 64-bit offsets even on 32-bit platforms (for instance, SPARC
+- debugging a SPARC64 application).  */
++  /* Use pread64/pwrite64 if available, since they save a syscall and
++ can handle 64-bit offsets even on 32-bit platforms (for instance,
++ SPARC debugging a SPARC64 application).  But only use them if the
++ offset isn't so high that when cast to off_t it'd be negative, as
++ seen on SPARC64.  pread64/pwrite64 outright reject such offsets.
++ lseek does not.  */
+ #ifdef HAVE_PREAD64
+-  ret = (readbuf ? pread64 (fd, readbuf, len, offset)
+-   : pwrite64 (fd, writebuf, len, offset));
+-#else
+-  ret = lseek (fd, offset, SEEK_SET);
+-  if (ret != -1)
+-ret = (readbuf ? read (fd, readbuf, len)
+- : write (fd, writebuf, len));
++  if ((off_t) offset >= 0)
++ret = (readbuf != nullptr
++ ? pread64 (fd, readbuf, len, offset)
++ : pwrite64 (fd, writebuf, len, offset));
++  else
+ #endif
++{
++  ret = lseek (fd, offset, SEEK_SET);
++  if (ret != -1)
++  ret = (readbuf != nullptr
++ ? read (fd, readbuf, len)
++ : write (fd, writebuf, len));
++}
+ 
+   if (ret == -1)
+ {
+--- a/gdbserver/linux-low.cc
 b/gdbserver/linux-low.cc
+@@ -5377,21 +5377,26 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char 
*readbuf,
+ {
+   int bytes;
+ 
+-  /* If pread64 is available, use it.  It's faster if the kernel
+-   supports it (only one syscall), and it's 64-bit safe even on
+-   32-bit platforms (for instance, SPARC debugging a SPARC64
+-   application).  */
++  /* Use pread64/pwrite64 if available, since they save a syscall
++   and can handle 64-bit offsets even on 32-bit platforms (for
++   instance, SPARC debugging a SPARC64 application).  But only
++   use them if the offset isn't so high that when cast to off_t
++   it'd be negative, as seen on SPARC64.  

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-06-16 Thread Sam James
commit: 54425cff4fb1a4cce8e66a9767d44e9df9c15799
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 17 01:31:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 01:38:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54425cff

sys-devel/gdb: drop versions

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   5 -
 .../gdb/files/gdb-12.1-configure-clang16.patch | 112 
 .../gdb/files/gdb-12.1-core-file-detach.patch  | 155 --
 .../gdb/files/gdb-12.1-readline-8.2-build.patch|  29 --
 ...b-13.1-Wenum-constexpr-conversion-clang16.patch | 128 -
 sys-devel/gdb/files/gdb-13.1-musl-lfs.patch|  23 --
 sys-devel/gdb/gdb-12.1-r4.ebuild   | 293 ---
 sys-devel/gdb/gdb-13.1-r1.ebuild   | 304 
 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 313 
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild | 314 -
 10 files changed, 1676 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 6e40c2f8a82b..29ddd3aaa11d 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,6 +1 @@
-DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
-DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
-DIST gdb-13.1.tar.xz 23665472 BLAKE2B 
ab3a77ef35d21597dd1299787eebc422c3ca9764d0866223752c3036c0f9e198bf25ab4730bf6e7025bc2db148c66e98b191e15abc2d69c3088aed146728beef
 SHA512 
e65054ffbc0357eeed4b17e1edc5ef45aa73c9ddf3b1210651e3d859576e27c1d27b266800fe26328eda58857455ccd8632f4000cfc5f63f90854096290187ca
 DIST gdb-13.2.tar.xz 23664644 BLAKE2B 
bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f
 SHA512 
8185d3e11ab60dafff5860a5016577bfe7dd7547ef01ebc867bc247603d82b74ff74c4f29492c7d2aee57076f52be33e289f4c6b414a4b870d4b3004909f4c34
-DIST gdb-weekly-13.1.90.20230325.tar.xz 24816144 BLAKE2B 
2273ca1e6b3b563721c1497b30ae9c1c1d6fa88d1a50745a528163d54b45cc0582d3a053f279339dcc5d86b17dabe16c2be63488ac72ed7636af5988919c4b5e
 SHA512 
19a1f1e0d4fc6f7a87c421e487990e3bc6c5ad5fae933be0e4f0ba8eec06b6bc3b0fc814d55e6059dfc2b7414ef0e7191967503dd0eda9021ccabc6d55030f49
-DIST gdb-weekly-13.1.90.20230429.tar.xz 24806568 BLAKE2B 
537faf7f354ac8adae879899d1a871a303d6ef8faa5ffa66970b2ab95d82750829de5f1cc9b7fb0aab12bb9f10219b3d255a52127e50dd28fef25b47ce2d9364
 SHA512 
1f0bad14a0862a5c119971025add895b8814421c95ab9095159382805ee8592f1695e84aad2bf5f711c807400eae50a9a6fa6ff45f329c885003f0209c44e493

diff --git a/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch 
b/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch
deleted file mode 100644
index 3b2c15de4895..
--- a/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0075c53724f78c78aa1692cc8e3bf1433eeb0b9f
-https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=885b6660c17fb91980b5682514ef54668e544b02
-https://bugzilla.redhat.com/show_bug.cgi?id=2143992
-
-From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
-From: Keith Seitz 
-Date: Tue, 29 Nov 2022 13:43:34 -0800
-Subject: gdb-rhbz2143992-libiberty-fix-c89isms-in-configure.patch
-
-;; libiberty: Fix C89-isms in configure tests
-;; (Florian Weimer, RHBZ 2143992)
-
-libiberty/
-
-* acinclude.m4 (ac_cv_func_strncmp_works): Add missing
-int return type and parameter list to the definition of main.
-Include  and  for prototypes.
-(ac_cv_c_stack_direction): Add missing
-int return type and parameter list to the definitions of
-main, find_stack_direction.  Include  for exit
-prototype.
-* configure: Regenerate.
-
 a/libiberty/acinclude.m4
-+++ b/libiberty/acinclude.m4
-@@ -24,6 +24,8 @@ AC_CACHE_CHECK([for working strncmp], 
ac_cv_func_strncmp_works,
- [AC_TRY_RUN([
- /* Test by Jim Wilson and Kaveh Ghazi.
-Check whether strncmp reads past the end of its string parameters. */
-+#include 
-+#include 
- #include 
- 
- #ifdef HAVE_FCNTL_H
-@@ -51,7 +53,8 @@ AC_CACHE_CHECK([for working strncmp], 
ac_cv_func_strncmp_works,
- 
- #define MAP_LEN 0x1
- 
--main ()
-+int
-+main (void)
- {
- #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE)
-   char *p;
-@@ -157,7 +160,10 @@ if test $ac_cv_os_cray = yes; then
- 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-08 Thread Arthur Zamarin
commit: ff4437e9566d1c69a7f955b499f3d3dfd98f3ef5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jun  8 12:24:57 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jun  8 12:24:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4437e9

sys-devel/gdb: Stabilize 13.2 hppa, #908024

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 5311c8716470..8ca46ea15fca 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: 718915d2feee3c5dedd15c023a5cb4b1f9e383e6
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 20:03:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 20:03:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718915d2

sys-devel/gdb: Stabilize 13.2 sparc, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 0b45aafe84a3..5311c8716470 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: de5694a650fef14e342bcecccf8babf425de776f
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 17:30:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 17:30:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5694a6

sys-devel/gdb: Stabilize 13.2 arm64, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 7b0feef9778c..0b45aafe84a3 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: fada2848017bf8c84b9845da81e880bc96b1903d
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 17:30:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 17:30:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fada2848

sys-devel/gdb: Stabilize 13.2 ppc64, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 3b9a029538f4..7b0feef9778c 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: 410b5fba6315bb8a4907ce8c2f90927fa7254b0d
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 17:30:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 17:30:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=410b5fba

sys-devel/gdb: Stabilize 13.2 ppc, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index fe9f069ba8a2..3b9a029538f4 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: 3a7938b5a0d4b9494539cd14003d8aac76ee2509
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 16:43:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 16:43:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7938b5

sys-devel/gdb: Stabilize 13.2 amd64, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 28583f16ee83..fe9f069ba8a2 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: 3cbd044fd414cbb5db5482286afa65798f4181ef
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 16:39:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 16:39:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbd044f

sys-devel/gdb: Stabilize 13.2 x86, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index e7cf4f38e5a2..28583f16ee83 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-06-07 Thread Sam James
commit: c28ebbb2c3d95539b7c276a2b8f8ac9541bb5658
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  7 16:34:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  7 16:34:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28ebbb2

sys-devel/gdb: Stabilize 13.2 arm, #908024

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index f234645144c8..e7cf4f38e5a2 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-05-29 Thread Sam James
commit: d5c023667410d5407c7b82dfc77a6f515d3db9cd
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 16:58:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 29 18:19:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c02366

sys-devel/gdb: drop dead prefix targets

The removal was already done, so this is just cleanup afterwards.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild   | 6 --
 sys-devel/gdb/gdb-13.1-r1.ebuild   | 6 --
 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 6 --
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild | 6 --
 sys-devel/gdb/gdb-13.2.ebuild  | 6 --
 sys-devel/gdb/gdb-.ebuild  | 6 --
 6 files changed, 36 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 00bab1d11ae4..4126e99a43d7 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -202,12 +202,6 @@ src_configure() {
$(use_with guile)
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with pkg-config: bug #716558
export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)"
 

diff --git a/sys-devel/gdb/gdb-13.1-r1.ebuild b/sys-devel/gdb/gdb-13.1-r1.ebuild
index 5d2e3cbecf88..a19b1dd0 100644
--- a/sys-devel/gdb/gdb-13.1-r1.ebuild
+++ b/sys-devel/gdb/gdb-13.1-r1.ebuild
@@ -213,12 +213,6 @@ src_configure() {

--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with pkg-config: bug #716558
export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)"
 

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 209c85d42c19..7f50bf391455 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -222,12 +222,6 @@ src_configure() {

--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with pkg-config: bug #716558
export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)"
 

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
index 992c05fd18f0..1593ff281134 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
@@ -223,12 +223,6 @@ src_configure() {

--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with pkg-config: bug #716558
export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)"
 

diff --git a/sys-devel/gdb/gdb-13.2.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
index 68b41dc7fc25..f234645144c8 100644
--- a/sys-devel/gdb/gdb-13.2.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -221,12 +221,6 @@ src_configure() {

--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with pkg-config: bug #716558
export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)"
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 68b41dc7fc25..f234645144c8 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -221,12 +221,6 @@ src_configure() {

--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
-   if use sparc-solaris || use x86-solaris ; then
-   # Disable largefile support
-   # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
-   myconf+=( --disable-largefile )
-   fi
-
# source-highlight is detected with 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-05-27 Thread Sam James
commit: fe6f4bcde34f81d0650349a7e7a7de283cc96c9b
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 11:32:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 11:33:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6f4bcd

sys-devel/gdb: add 13.2

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest | 1 +
 sys-devel/gdb/{gdb-.ebuild => gdb-13.2.ebuild} | 2 +-
 sys-devel/gdb/gdb-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index b4c626642c2b..6e40c2f8a82b 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,5 +1,6 @@
 DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-13.1.tar.xz 23665472 BLAKE2B 
ab3a77ef35d21597dd1299787eebc422c3ca9764d0866223752c3036c0f9e198bf25ab4730bf6e7025bc2db148c66e98b191e15abc2d69c3088aed146728beef
 SHA512 
e65054ffbc0357eeed4b17e1edc5ef45aa73c9ddf3b1210651e3d859576e27c1d27b266800fe26328eda58857455ccd8632f4000cfc5f63f90854096290187ca
+DIST gdb-13.2.tar.xz 23664644 BLAKE2B 
bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f
 SHA512 
8185d3e11ab60dafff5860a5016577bfe7dd7547ef01ebc867bc247603d82b74ff74c4f29492c7d2aee57076f52be33e289f4c6b414a4b870d4b3004909f4c34
 DIST gdb-weekly-13.1.90.20230325.tar.xz 24816144 BLAKE2B 
2273ca1e6b3b563721c1497b30ae9c1c1d6fa88d1a50745a528163d54b45cc0582d3a053f279339dcc5d86b17dabe16c2be63488ac72ed7636af5988919c4b5e
 SHA512 
19a1f1e0d4fc6f7a87c421e487990e3bc6c5ad5fae933be0e4f0ba8eec06b6bc3b0fc814d55e6059dfc2b7414ef0e7191967503dd0eda9021ccabc6d55030f49
 DIST gdb-weekly-13.1.90.20230429.tar.xz 24806568 BLAKE2B 
537faf7f354ac8adae879899d1a871a303d6ef8faa5ffa66970b2ab95d82750829de5f1cc9b7fb0aab12bb9f10219b3d255a52127e50dd28fef25b47ce2d9364
 SHA512 
1f0bad14a0862a5c119971025add895b8814421c95ab9095159382805ee8592f1695e84aad2bf5f711c807400eae50a9a6fa6ff45f329c885003f0209c44e493

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-13.2.ebuild
similarity index 99%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-13.2.ebuild
index 0042482407aa..68b41dc7fc25 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-13.2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
 # tips & notes.
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 
 export CTARGET=${CTARGET:-${CHOST}}

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 0042482407aa..68b41dc7fc25 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
 # tips & notes.
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 
 export CTARGET=${CTARGET:-${CHOST}}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-05-16 Thread Sam James
commit: c9a9956944acab031669f00023398c45cef187e9
Author: Sam James  gentoo  org>
AuthorDate: Tue May 16 06:25:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 16 06:27:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a99569

sys-devel/gdb: fix build w/ musl-1.2.4

Closes: https://bugs.gentoo.org/905922
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/files/gdb-13.1-musl-lfs.patch | 23 +++
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild  |  1 +
 2 files changed, 24 insertions(+)

diff --git a/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch 
b/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch
new file mode 100644
index ..d7778e305903
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/905922
+https://sourceware.org/bugzilla/show_bug.cgi?id=30450
+https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=2e977d9901393ea1bacbe1896af0929e968bc811
+
+From 2e977d9901393ea1bacbe1896af0929e968bc811 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Wed, 22 Feb 2023 16:28:22 -0800
+Subject: [PATCH] gdbserver/linux-low.cc: Fix a typo in ternary operator
+
+Signed-off-by: Khem Raj 
+--- a/gdbserver/linux-low.cc
 b/gdbserver/linux-low.cc
+@@ -5390,7 +5390,7 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char 
*readbuf,
+   if (lseek (fd, memaddr, SEEK_SET) != -1)
+   bytes = (readbuf != nullptr
+? read (fd, readbuf, len)
+-   ? write (fd, writebuf, len));
++   : write (fd, writebuf, len));
+ #endif
+ 
+   if (bytes < 0)
+-- 
+2.31.1

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
index d75794a2864b..e6030f478386 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
@@ -111,6 +111,7 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
"${FILESDIR}"/${PN}-13.1-Wenum-constexpr-conversion-clang16.patch
+   "${FILESDIR}"/${PN}-13.1-musl-lfs.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-05-11 Thread Sam James
commit: 0e05250477765e7634467cbcc3ade7c1a56fa6e8
Author: Sam James  gentoo  org>
AuthorDate: Fri May 12 04:12:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 12 04:12:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e052504

sys-devel/gdb: drop 12.1-r3

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 293 ---
 1 file changed, 293 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
deleted file mode 100644
index 8eb1d3628dc8..
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ /dev/null
@@ -1,293 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50.2???)
-   # weekly snapshots
-   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
-   ;;
-esac
-
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# Also, ia64 kernel crashes when gdb testsuite is running.
-RESTRICT="
-   ia64? ( test )
-   !test? ( test )
-   test
-"
-
-RDEPEND="
-   dev-libs/mpfr:0=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:0=
-   >=sys-libs/readline-7:0=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-   "${FILESDIR}"/${P}-readline-8.2-build.patch
-   "${FILESDIR}"/${P}-core-file-detach.patch
-   "${FILESDIR}"/${P}-configure-clang16.patch
-)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   strip-linguas -u bfd/po opcodes/po
-
-   # Avoid using ancient termcap from host on Prefix systems
-   sed -i -e 's/termcap tinfow/tinfow/g' \
-   gdb/configure{.ac,} || die
-}
-
-gdb_branding() {
-   printf "Gentoo ${PV} "
-
-   if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
-   printf "p${PATCH_VER}"
-   else
-   printf "vanilla"
-   fi
-
-   [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
-}
-
-src_configure() {
-   strip-unsupported-flags
-
-   # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
-   # Avoid really confusing logs from subconfigure spam, makes logs far
-   # more legible.
-   MAKEOPTS="--output-sync=line ${MAKEOPTS}"
-
-   local myconf=(
-   # portage's econf() does not detect presence of --d-d-t
-   # because it greps only top-level ./configure. But not
-   # gnulib's or gdb's configure.
-   --disable-dependency-tracking
-
-   --with-pkgversion="$(gdb_branding)"
-   --with-bugurl='https://bugs.gentoo.org/'
-   --disable-werror
-   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-05-03 Thread Sam James
commit: e32772476e61578dd91229d77b82f56822857d92
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 18:54:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 18:55:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3277247

sys-devel/gdb: mirror snapshots to dev.gentoo.org

Mirror the snapshots we have in tree to dev.gentoo.org, as chutzpah
noticed they've disappeared (ugh).

See e432ec14cfdc41ed9fbd116b19c7ad707f3ef59d for why we have them in the first
place, too.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 ++
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild | 2 ++
 sys-devel/gdb/gdb-.ebuild  | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 0eb553e96e19..b646e6c92ea4 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -32,6 +32,7 @@ case ${PV} in
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
 
@@ -45,6 +46,7 @@ case ${PV} in
MY_PV="${PV/_p/.}"
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
;;

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
index 9380f74f1c2c..d75794a2864b 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
@@ -32,6 +32,7 @@ case ${PV} in
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
 
@@ -45,6 +46,7 @@ case ${PV} in
MY_PV="${PV/_p/.}"
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
;;

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index c88c3a08b21c..704c75812b23 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -32,6 +32,7 @@ case ${PV} in
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
 
@@ -45,6 +46,7 @@ case ${PV} in
MY_PV="${PV/_p/.}"
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
;;



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Arthur Zamarin
commit: 03afd312952dde99dfc2cb0755e402e4339c3142
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May  1 05:06:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May  1 05:06:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03afd312

sys-devel/gdb: Stabilize 13.1.90_p20230325 hppa, #905357

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 07d4ba341651..0eb553e96e19 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: 84af8114b76d0b665f1edea237414a2049f9c090
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 01:53:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 01:53:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84af8114

sys-devel/gdb: Stabilize 13.1.90_p20230325 ppc64, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index b0e5c5e0c87f..07d4ba341651 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: 1e0dc44db5d0f9cfc483bf44223156b5859fed2f
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 07:25:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 07:25:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0dc44d

sys-devel/gdb: Stabilize 13.1.90_p20230325 ppc, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 87aa16a8008a..b0e5c5e0c87f 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: a4fedef2d266199ff9e69c61bda16623d6216b5b
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 07:03:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 07:03:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4fedef2

sys-devel/gdb: Stabilize 13.1.90_p20230325 amd64, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index e6a5d1e1cec0..87aa16a8008a 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: e06eb4ec2290fa9674a0ae6526b774f3a86e914e
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 07:03:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 07:03:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06eb4ec

sys-devel/gdb: Stabilize 13.1.90_p20230325 arm, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 06eefbdd35f0..113d7e4475dd 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: 8a66c98e376c599bd4f1b2e58e0010335280a46d
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 07:03:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 07:03:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a66c98e

sys-devel/gdb: Stabilize 13.1.90_p20230325 sparc, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index b725384e5a52..06eefbdd35f0 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: 2e32bf9a0bae9777b32c4f8a964fc5969b859e36
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 07:03:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 07:03:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e32bf9a

sys-devel/gdb: Stabilize 13.1.90_p20230325 x86, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 113d7e4475dd..e6a5d1e1cec0 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-30 Thread Sam James
commit: fff70c5c4389319b24f31fe25a33b6e00e9f1d47
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 06:49:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 06:49:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fff70c5c

sys-devel/gdb: Stabilize 13.1.90_p20230325 arm64, #905357

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.90_p20230325.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index 9380f74f1c2c..b725384e5a52 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -72,7 +72,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 if [[ -n ${REGULAR_RELEASE} ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-29 Thread Arthur Zamarin
commit: dc7539162391efb099e5b7b4108c71fc38e8736d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 12:56:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 12:56:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc753916

sys-devel/gdb: Stabilize 12.1-r4 hppa, #905268

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 7d0b031dc488..89c8c8ae289e 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-29 Thread Arthur Zamarin
commit: 43b56d9286c1a0db160b28188609608001540e03
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 07:47:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 07:47:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b56d92

sys-devel/gdb: Stabilize 12.1-r4 ppc, #905268

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 66899b87c324..7d0b031dc488 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-29 Thread Sam James
commit: 31b219e76c0b0245694e63b6dd006c0b83b0408b
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 06:05:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 06:05:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b219e7

sys-devel/gdb: Stabilize 12.1-r4 amd64, #905268

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 67aa3e8ba0f7..ff2f7371c1c0 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-29 Thread Sam James
commit: 926d9b0980baa370624f4e3aa9ac036009c3d89b
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 06:05:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 06:05:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926d9b09

sys-devel/gdb: Stabilize 12.1-r4 x86, #905268

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index ff2f7371c1c0..66899b87c324 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-28 Thread Arthur Zamarin
commit: 511a39b2f7cc3de905dfd57823a1722307bc1e72
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 05:58:19 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 05:58:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=511a39b2

sys-devel/gdb: Stabilize 12.1-r4 sparc, #905268

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 3d0feefe62d1..8e8f5d9140ec 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-28 Thread Arthur Zamarin
commit: 0720cbb0edd2390a43ea7911d2c58775d72fed3e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 05:58:18 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 05:58:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0720cbb0

sys-devel/gdb: Stabilize 12.1-r4 arm64, #905268

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 53dbdaa10f85..3d0feefe62d1 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-28 Thread Arthur Zamarin
commit: b2bba66ab8363b25de6839afc969a1c979bf8939
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 05:58:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 05:58:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bba66a

sys-devel/gdb: Stabilize 12.1-r4 arm, #905268

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 8e8f5d9140ec..67aa3e8ba0f7 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-28 Thread Sam James
commit: 63f0a215bab02d73a03bf7e26be7338a36ecf9d4
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 05:46:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 05:46:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f0a215

sys-devel/gdb: Stabilize 12.1-r4 ppc64, #905268

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
index 6bb7083f4b01..53dbdaa10f85 100644
--- a/sys-devel/gdb/gdb-12.1-r4.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -49,7 +49,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-04-28 Thread Sam James
commit: e432ec14cfdc41ed9fbd116b19c7ad707f3ef59d
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 04:37:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 04:37:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e432ec14

sys-devel/gdb: add 13.1.90_p20230429

Similar to 6dd7f162ff2b52067b012435c6a146394c42679f, this is just a snapshot
of the stable branch and has a few bug fixes. Easier than cherry-picking.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   1 +
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild | 317 +
 2 files changed, 318 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 419b62871780..b4c626642c2b 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -2,3 +2,4 @@ DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec56
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-13.1.tar.xz 23665472 BLAKE2B 
ab3a77ef35d21597dd1299787eebc422c3ca9764d0866223752c3036c0f9e198bf25ab4730bf6e7025bc2db148c66e98b191e15abc2d69c3088aed146728beef
 SHA512 
e65054ffbc0357eeed4b17e1edc5ef45aa73c9ddf3b1210651e3d859576e27c1d27b266800fe26328eda58857455ccd8632f4000cfc5f63f90854096290187ca
 DIST gdb-weekly-13.1.90.20230325.tar.xz 24816144 BLAKE2B 
2273ca1e6b3b563721c1497b30ae9c1c1d6fa88d1a50745a528163d54b45cc0582d3a053f279339dcc5d86b17dabe16c2be63488ac72ed7636af5988919c4b5e
 SHA512 
19a1f1e0d4fc6f7a87c421e487990e3bc6c5ad5fae933be0e4f0ba8eec06b6bc3b0fc814d55e6059dfc2b7414ef0e7191967503dd0eda9021ccabc6d55030f49
+DIST gdb-weekly-13.1.90.20230429.tar.xz 24806568 BLAKE2B 
537faf7f354ac8adae879899d1a871a303d6ef8faa5ffa66970b2ab95d82750829de5f1cc9b7fb0aab12bb9f10219b3d255a52127e50dd28fef25b47ce2d9364
 SHA512 
1f0bad14a0862a5c119971025add895b8814421c95ab9095159382805ee8592f1695e84aad2bf5f711c807400eae50a9a6fa6ff45f329c885003f0209c44e493

diff --git a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
new file mode 100644
index ..9380f74f1c2c
--- /dev/null
+++ b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
@@ -0,0 +1,317 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
+# tips & notes.
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50_p2???|*.*.90_p2???)
+   # Weekly snapshots
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+
+   # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so 
it's fine
+   if [[ ${PV} == *.[123456789].9?_p2??? ]] ; then
+   REGULAR_RELEASE=1
+   fi
+   ;;
+   *.*.9?)
+   # Prereleases
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="
+   mirror://gnu/gdb/${P}.tar.xz
+   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
+   "
+
+   REGULAR_RELEASE=1
+esac
+
+PATCH_DEV=""
+PATCH_VER=""
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="
+   ${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
+"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+if [[ -n ${REGULAR_RELEASE} ]] ; then
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-03-24 Thread Sam James
commit: 6dd7f162ff2b52067b012435c6a146394c42679f
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 25 03:57:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 25 04:03:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd7f162

sys-devel/gdb: add 13.1.90_p20230325

Needed for some patches on the stable gdb-13.1 branch, mainly for Rust crash.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |  1 +
 .../{gdb-.ebuild => gdb-13.1.90_p20230325.ebuild}  | 18 +-
 sys-devel/gdb/gdb-.ebuild  | 17 -
 3 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 08dd98394c09..419b62871780 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,4 @@
 DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-13.1.tar.xz 23665472 BLAKE2B 
ab3a77ef35d21597dd1299787eebc422c3ca9764d0866223752c3036c0f9e198bf25ab4730bf6e7025bc2db148c66e98b191e15abc2d69c3088aed146728beef
 SHA512 
e65054ffbc0357eeed4b17e1edc5ef45aa73c9ddf3b1210651e3d859576e27c1d27b266800fe26328eda58857455ccd8632f4000cfc5f63f90854096290187ca
+DIST gdb-weekly-13.1.90.20230325.tar.xz 24816144 BLAKE2B 
2273ca1e6b3b563721c1497b30ae9c1c1d6fa88d1a50745a528163d54b45cc0582d3a053f279339dcc5d86b17dabe16c2be63488ac72ed7636af5988919c4b5e
 SHA512 
19a1f1e0d4fc6f7a87c421e487990e3bc6c5ad5fae933be0e4f0ba8eec06b6bc3b0fc814d55e6059dfc2b7414ef0e7191967503dd0eda9021ccabc6d55030f49

diff --git a/sys-devel/gdb/gdb-.ebuild 
b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
similarity index 93%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
index bc86849c6276..9380f74f1c2c 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230325.ebuild
@@ -34,6 +34,11 @@ case ${PV} in

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
+
+   # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so 
it's fine
+   if [[ ${PV} == *.[123456789].9?_p2??? ]] ; then
+   REGULAR_RELEASE=1
+   fi
;;
*.*.9?)
# Prereleases
@@ -50,8 +55,7 @@ case ${PV} in
https://sourceware.org/pub/gdb/releases/${P}.tar.xz
"
 
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-   ;;
+   REGULAR_RELEASE=1
 esac
 
 PATCH_DEV=""
@@ -67,14 +71,17 @@ SRC_URI="
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+if [[ -n ${REGULAR_RELEASE} ]] ; then
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   dev-libs/mpfr:0=
+   dev-libs/mpfr:=
dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:0=
-   >=sys-libs/readline-7:0=
+   >=sys-libs/ncurses-5.2-r2:=
+   >=sys-libs/readline-7:=
sys-libs/zlib
elibc_glibc? ( net-libs/libnsl:= )
lzma? ( app-arch/xz-utils )
@@ -101,6 +108,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
+   "${FILESDIR}"/${PN}-13.1-Wenum-constexpr-conversion-clang16.patch
 )
 
 pkg_setup() {

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index bc86849c6276..c88c3a08b21c 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -34,6 +34,11 @@ case ${PV} in

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
+
+   # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so 
it's fine
+   if [[ ${PV} == *.[123456789].9?_p2??? ]] ; then
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/files/, sys-devel/gdb/

2023-03-19 Thread Sam James
commit: 572e86ac9b0838f4e227460fb482166bce46f961
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 19 21:51:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 19 21:51:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572e86ac

sys-devel/gdb: fix build w/ clang 16 (-Wenum-constexpr-conversion)

Closes: https://bugs.gentoo.org/894174
Signed-off-by: Sam James  gentoo.org>

 ...b-13.1-Wenum-constexpr-conversion-clang16.patch | 128 +
 sys-devel/gdb/gdb-13.1-r1.ebuild   |   1 +
 2 files changed, 129 insertions(+)

diff --git 
a/sys-devel/gdb/files/gdb-13.1-Wenum-constexpr-conversion-clang16.patch 
b/sys-devel/gdb/files/gdb-13.1-Wenum-constexpr-conversion-clang16.patch
new file mode 100644
index ..adc09f83ea68
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-13.1-Wenum-constexpr-conversion-clang16.patch
@@ -0,0 +1,128 @@
+https://bugs.gentoo.org/894174
+https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ae61525fcf456ab395d55c45492a106d1275873a
+
+From ae61525fcf456ab395d55c45492a106d1275873a Mon Sep 17 00:00:00 2001
+From: Simon Marchi 
+Date: Thu, 23 Feb 2023 12:35:40 -0500
+Subject: [PATCH] gdbsupport: ignore -Wenum-constexpr-conversion in
+ enum-flags.h
+
+When building with clang 16, we get:
+
+  CXXgdb.o
+In file included from /home/smarchi/src/binutils-gdb/gdb/gdb.c:19:
+In file included from /home/smarchi/src/binutils-gdb/gdb/defs.h:65:
+/home/smarchi/src/binutils-gdb/gdb/../gdbsupport/enum-flags.h:95:52: 
error: integer value -1 is outside the valid range of values [0, 15] for this 
enumeration type [-Wenum-constexpr-conversion]
+integer_for_size(T (-1) < T (0))>::type
+   ^
+
+The error message does not make it clear in the context of which enum
+flag this fails (i.e. what is T in this context), but it doesn't really
+matter, we have similar warning/errors for many of them, if we let the
+build go through.
+
+clang is right that the value -1 is invalid for the enum type we cast -1
+to.  However, we do need this expression in order to select an integer
+type with the appropriate signedness.  That is, with the same signedness
+as the underlying type of the enum.
+
+I first wondered if that was really needed, if we couldn't use
+std::underlying_type for that.  It turns out that the comment just above
+says:
+
+/* Note that std::underlying_type is not what we want here,
+   since that returns unsigned int even when the enum decays to signed
+   int.  */
+
+I was surprised, because std::is_signed>
+returns the right thing.  So I tried replacing all this with
+std::underlying_type, see if that would work.  Doing so causes some
+build failures in unittests/enum-flags-selftests.c:
+
+  CXXunittests/enum-flags-selftests.o
+/home/smarchi/src/binutils-gdb/gdb/unittests/enum-flags-selftests.c:254:1: 
error: static assertion failed due to requirement 
'gdb::is_same, selftests::enum_flags_tests::RE, 
enum_flags, selftests::enum_flags_tests::RE2, 
enum_flags, selftests::enum_fla
+gs_tests::URE, int>, 
selftests::enum_flags_tests::check_valid_expr254::archetype,
 selftests::enum_flags_tests::RE, enum_flags, 
selfte
+sts::enum_flags_tests::RE2, enum_flags, 
selftests::enum_flags_tests::URE, unsigned int>>::value == true':
+CHECK_VALID (true,  int,  true ? EF () : EF2 ())
+^~~~
+/home/smarchi/src/binutils-gdb/gdb/unittests/enum-flags-selftests.c:91:3: 
note: expanded from macro 'CHECK_VALID'
+  CHECK_VALID_EXPR_6 (EF, RE, EF2, RE2, UEF, URE, VALID, EXPR_TYPE, EXPR)
+  ^~~
+/home/smarchi/src/binutils-gdb/gdb/../gdbsupport/valid-expr.h:105:3: note: 
expanded from macro 'CHECK_VALID_EXPR_6'
+  CHECK_VALID_EXPR_INT (ESC_PARENS (typename T1, typename T2,   \
+  ^~~
+/home/smarchi/src/binutils-gdb/gdb/../gdbsupport/valid-expr.h:66:3: note: 
expanded from macro 'CHECK_VALID_EXPR_INT'
+  static_assert (gdb::is_detected_exact,\
+  ^  
+
+This is a bit hard to decode, but basically enumerations have the
+following funny property that they decay into a signed int, even if
+their implicit underlying type is unsigned.  This code:
+
+enum A {};
+enum B {};
+
+int main() {
+  std::cout << std::is_signed::type>::value
+<< std::endl;
+  std::cout << std::is_signed::type>::value
+<< std::endl;
+  auto result = true ? A() : B();
+  std::cout << std::is_signed::value << std::endl;
+}
+
+produces:
+
+0
+0
+1
+
+So, the "CHECK_VALID" above checks that this property works for enum flags the
+same way as it would if you were using their underlying enum 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-03-03 Thread Sam James
commit: 7766b01c2f7ac6856cd21f8261b631bb88060bda
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Feb 26 23:42:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  4 02:29:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7766b01c

sys-devel/gdb: Fix cross-compiling (properly) and prefix sysroot

https://github.com/gentoo/gentoo/pull/25896 tried to address cross-compiling in
the wrong way by setting the runtime sysroot and the libdir. The build uses the
latter to find dependent libraries by default, a common technique in GNU
software.

This behaviour can be avoided by passing the "without-prefix" configure option
for each library, allowing the runtime sysroot and the libdir to be set as they
should be. Contrary to what you might expect, the sysroot should actually not be
set at all except when building cross-*/gdb, otherwise the paths get double
prefixed at runtime.

gdb's configure script also has a --with-build-sysroot option that should be set
to assist with cross-compiling. This does not influence runtime behaviour.

The includedir for cross-*/gdb has been changed to prevent it from installing
under /usr/${CTARGET}, where installed headers would collide with those from a
cross-compiled sys-devel/gdb build. /usr/include/${CTARGET}/gdb is consistent
with the files we install under /usr/share, as well as the scheme we use for
multilib headers, e.g. /usr/include/i686-pc-linux-gnu.

Closes: https://bugs.gentoo.org/896008
Signed-off-by: James Le Cuirot  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29819
Signed-off-by: Sam James  gentoo.org>

 .../gdb/{gdb-13.1.ebuild => gdb-13.1-r1.ebuild}| 23 +++---
 sys-devel/gdb/gdb-.ebuild  | 23 +++---
 2 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.1.ebuild b/sys-devel/gdb/gdb-13.1-r1.ebuild
similarity index 93%
rename from sys-devel/gdb/gdb-13.1.ebuild
rename to sys-devel/gdb/gdb-13.1-r1.ebuild
index d356d5e3ecab..bc86849c6276 100644
--- a/sys-devel/gdb/gdb-13.1.ebuild
+++ b/sys-devel/gdb/gdb-13.1-r1.ebuild
@@ -160,21 +160,13 @@ src_configure() {
# But the check does not quite work on i686: bug #760926.
$(use_enable cet)
 
-   # We need to set both configure options, --with-sysroot and 
--libdir,
-   # to fix cross build issues that happen when configuring gmp.
-   # We explicitly need --libdir. Having only --with-sysroot 
without
-   # --libdir would not fix the build issues.
-   # For some reason, it is not enough to set only --with-sysroot,
-   # also not enough to pass --with-gmp-xxx options.
-   --with-sysroot="${ESYSROOT}"
-   --libdir="${ESYSROOT}/usr/$(get_libdir)"
+   # Helps when cross-compiling. Not to be confused with 
--with-sysroot.
+   --with-build-sysroot="${ESYSROOT}"
)
 
-   local sysroot="${EPREFIX}/usr/${CTARGET}"
-
is_cross && myconf+=(
-   --with-sysroot="${sysroot}"
-   --includedir="${sysroot}/usr/include"
+   --with-sysroot="\${prefix}/${CTARGET}"
+   --includedir="\${prefix}/include/${CTARGET}"
--with-gdb-datadir="\${datadir}/gdb/${CTARGET}"
)
 
@@ -211,6 +203,13 @@ src_configure() {
$(use_with xxhash)
$(use_with guile)
$(use_with zstd)
+
+   # Find libraries using the toolchain sysroot rather than the 
configured
+   # prefix. Needed when cross-compiling.
+   #
+   # Check which libraries to apply this to with:
+   # "${S}"/gdb/configure --help | grep without-lib | sort
+   
--without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix
)
 
if use sparc-solaris || use x86-solaris ; then

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index d356d5e3ecab..bc86849c6276 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -160,21 +160,13 @@ src_configure() {
# But the check does not quite work on i686: bug #760926.
$(use_enable cet)
 
-   # We need to set both configure options, --with-sysroot and 
--libdir,
-   # to fix cross build issues that happen when configuring gmp.
-   # We explicitly need --libdir. Having only --with-sysroot 
without
-   # --libdir would not fix the build issues.
-   # For some reason, it is not enough to set only --with-sysroot,
-   # also not enough to pass --with-gmp-xxx options.
-   --with-sysroot="${ESYSROOT}"
-   --libdir="${ESYSROOT}/usr/$(get_libdir)"
+   # Helps when cross-compiling. Not to be confused with 
--with-sysroot.
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-23 Thread Sam James
commit: 5e67e6ff93d16b1d76db94ddca1728b24542a50b
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 23 18:58:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 23 20:29:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e67e6ff

sys-devel/gdb: explicitly disable gprofng build too

Not relevant when building gdb. It's in binutils.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.1.ebuild | 2 +-
 sys-devel/gdb/gdb-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.1.ebuild b/sys-devel/gdb/gdb-13.1.ebuild
index 4a30a9445468..d356d5e3ecab 100644
--- a/sys-devel/gdb/gdb-13.1.ebuild
+++ b/sys-devel/gdb/gdb-13.1.ebuild
@@ -147,7 +147,7 @@ src_configure() {
--with-bugurl='https://bugs.gentoo.org/'
--disable-werror
# Disable modules that are in a combined binutils/gdb tree. bug 
#490566
-   --disable-{binutils,etc,gas,gold,gprof,ld}
+   --disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
# avoid automagic dependency on (currently prefix) systems
# systems with debuginfod library, bug #754753

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 4a30a9445468..d356d5e3ecab 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -147,7 +147,7 @@ src_configure() {
--with-bugurl='https://bugs.gentoo.org/'
--disable-werror
# Disable modules that are in a combined binutils/gdb tree. bug 
#490566
-   --disable-{binutils,etc,gas,gold,gprof,ld}
+   --disable-{binutils,etc,gas,gold,gprof,gprofng,ld}
 
# avoid automagic dependency on (currently prefix) systems
# systems with debuginfod library, bug #754753



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-19 Thread Sam James
commit: ec8b0468680e9a7b48bae66916862a7a59e27de3
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 19 16:37:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 19 16:37:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8b0468

sys-devel/gdb: add 13.1, drop 13.0.91

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest| 2 +-
 sys-devel/gdb/{gdb-13.0.91.ebuild => gdb-13.1.ebuild} | 7 +--
 sys-devel/gdb/gdb-.ebuild | 7 +--
 3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index ed44c67b7484..08dd98394c09 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,3 @@
 DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
-DIST gdb-13.0.91.tar.xz 23647304 BLAKE2B 
a9d03ae7e22711d39e05c2125615f923a317c3df657a781e9194072e6a179e1d9140a42708ccd68e9e37e4ed4d341eda598878de2e3058a7be1c393ef8f622bd
 SHA512 
34453510b3e6c2a01f54a5d7bb4eae0e37a9959014b507bc055f4bddb66a0107c4034918cb6fd79226a08ac4fef5440b050d9d7a384e5b723ebb393ad4748551
+DIST gdb-13.1.tar.xz 23665472 BLAKE2B 
ab3a77ef35d21597dd1299787eebc422c3ca9764d0866223752c3036c0f9e198bf25ab4730bf6e7025bc2db148c66e98b191e15abc2d69c3088aed146728beef
 SHA512 
e65054ffbc0357eeed4b17e1edc5ef45aa73c9ddf3b1210651e3d859576e27c1d27b266800fe26328eda58857455ccd8632f4000cfc5f63f90854096290187ca

diff --git a/sys-devel/gdb/gdb-13.0.91.ebuild b/sys-devel/gdb/gdb-13.1.ebuild
similarity index 96%
rename from sys-devel/gdb/gdb-13.0.91.ebuild
rename to sys-devel/gdb/gdb-13.1.ebuild
index 9e1fdd605935..4a30a9445468 100644
--- a/sys-devel/gdb/gdb-13.0.91.ebuild
+++ b/sys-devel/gdb/gdb-13.1.ebuild
@@ -50,7 +50,7 @@ case ${PV} in
https://sourceware.org/pub/gdb/releases/${P}.tar.xz
"
 
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
;;
 esac
 
@@ -67,11 +67,6 @@ SRC_URI="
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-# TODO: Drop once 13 is released
-if [[ ${PV} !=  ]] ; then
-   # for testing on loong only
-   KEYWORDS="~loong"
-fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 9e1fdd605935..4a30a9445468 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -50,7 +50,7 @@ case ${PV} in
https://sourceware.org/pub/gdb/releases/${P}.tar.xz
"
 
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
;;
 esac
 
@@ -67,11 +67,6 @@ SRC_URI="
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-# TODO: Drop once 13 is released
-if [[ ${PV} !=  ]] ; then
-   # for testing on loong only
-   KEYWORDS="~loong"
-fi
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-02 Thread Sam James
commit: f989ebcc1fbc5e00f334bd5d199eea23ec85f07f
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  2 20:56:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  2 20:56:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f989ebcc

sys-devel/gdb: drop 13.0.90_p20230110, 13.0.90_p20230126

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   2 -
 sys-devel/gdb/gdb-13.0.90_p20230110.ebuild | 301 
 sys-devel/gdb/gdb-13.0.90_p20230126.ebuild | 307 -
 3 files changed, 610 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 130a376ded50..ed44c67b7484 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,5 +1,3 @@
 DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-13.0.91.tar.xz 23647304 BLAKE2B 
a9d03ae7e22711d39e05c2125615f923a317c3df657a781e9194072e6a179e1d9140a42708ccd68e9e37e4ed4d341eda598878de2e3058a7be1c393ef8f622bd
 SHA512 
34453510b3e6c2a01f54a5d7bb4eae0e37a9959014b507bc055f4bddb66a0107c4034918cb6fd79226a08ac4fef5440b050d9d7a384e5b723ebb393ad4748551
-DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f
-DIST gdb-weekly-13.0.90.20230126.tar.xz 24808672 BLAKE2B 
5331e3f60d2dde7fb139e1e9e2507cbcc7e72d7b6f2afd8f284997955f21f4138fd05e2ee1eeb07c3d3ab1b5ab35046774ab9580013822231a56849f8cc2168c
 SHA512 
53d2623b23edfa8c25bdc26cb87577060cbd2a030eb47df84f5c025339e1a344d28c970e7d196fbb91f5f9dfba0647cf370acf4d17f6492aa2f4e14763623321

diff --git a/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
deleted file mode 100644
index 5a1837450675..
--- a/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
+++ /dev/null
@@ -1,301 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50_p2???| *.*.90_p2???)
-   # Weekly snapshots
-   MY_PV="${PV/_p/.}"
-   SRC_URI="
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
-   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
-   "
-   S="${WORKDIR}/${PN}-${MY_PV}"
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="
-   mirror://gnu/gdb/${P}.tar.xz
-   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
-   "
-   ;;
-esac
-
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   # for testing on loong only
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-   KEYWORDS="~loong"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# Also, ia64 kernel crashes when gdb testsuite is 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-02 Thread Sam James
commit: 0654c982875e2f83c4b9805823c9bf1a65c13245
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  2 20:56:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  2 20:56:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0654c982

sys-devel/gdb: drop 12.1-r2

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 294 ---
 1 file changed, 294 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
deleted file mode 100644
index 3fd6e33a28d9..
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ /dev/null
@@ -1,294 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50.2???)
-   # weekly snapshots
-   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
-   ;;
-esac
-
-PATCH_VER=""
-PATCH_DEV=""
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
-"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# Also, ia64 kernel crashes when gdb testsuite is running.
-RESTRICT="
-   ia64? ( test )
-   !test? ( test )
-   test
-"
-
-RDEPEND="
-   dev-libs/mpfr:0=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:0=
-   >=sys-libs/readline-7:0=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-   "${FILESDIR}"/${P}-readline-8.2-build.patch
-   "${FILESDIR}"/${P}-core-file-detach.patch
-)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   strip-linguas -u bfd/po opcodes/po
-
-   # Avoid using ancient termcap from host on Prefix systems
-   sed -i -e 's/termcap tinfow/tinfow/g' \
-   gdb/configure{.ac,} || die
-}
-
-gdb_branding() {
-   printf "Gentoo ${PV} "
-
-   if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
-   printf "p${PATCH_VER}"
-   else
-   printf "vanilla"
-   fi
-
-   [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
-}
-
-src_configure() {
-   strip-unsupported-flags
-
-   # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
-   # Avoid really confusing logs from subconfigure spam, makes logs far
-   # more legible.
-   MAKEOPTS="--output-sync=line ${MAKEOPTS}"
-
-   local myconf=(
-   # portage's econf() does not detect presence of --d-d-t
-   # because it greps only top-level ./configure. But not
-   # gnulib's or gdb's configure.
-   --disable-dependency-tracking
-
-   --with-pkgversion="$(gdb_branding)"
-   --with-bugurl='https://bugs.gentoo.org/'
-   --disable-werror
-   # Disable modules that 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-02 Thread Sam James
commit: 443448132e8913e376fffc503fbd366c4ea23f78
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  2 16:54:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  2 20:55:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44344813

sys-devel/gdb: sync live

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.0.91.ebuild | 11 +--
 sys-devel/gdb/gdb-.ebuild| 20 ++--
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.0.91.ebuild b/sys-devel/gdb/gdb-13.0.91.ebuild
index 7cd89f769a0c..9e1fdd605935 100644
--- a/sys-devel/gdb/gdb-13.0.91.ebuild
+++ b/sys-devel/gdb/gdb-13.0.91.ebuild
@@ -32,7 +32,6 @@ case ${PV} in
SRC_URI="

https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz

https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
-   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
"
S="${WORKDIR}/${PN}-${MY_PV}"
;;
@@ -50,6 +49,8 @@ case ${PV} in
mirror://gnu/gdb/${P}.tar.xz
https://sourceware.org/pub/gdb/releases/${P}.tar.xz
"
+
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
;;
 esac
 
@@ -65,14 +66,12 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-
-if [[ ${PV} != * ]] ; then
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+# TODO: Drop once 13 is released
+if [[ ${PV} !=  ]] ; then
# for testing on loong only
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~loong"
 fi
-
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 9eb29deacc90..9e1fdd605935 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -26,7 +26,7 @@ case ${PV} in
inherit git-r3
SRC_URI=""
;;
-   *.*.50_p2???| *.*.90_p2???)
+   *.*.50_p2???|*.*.90_p2???)
# Weekly snapshots
MY_PV="${PV/_p/.}"
SRC_URI="
@@ -35,12 +35,22 @@ case ${PV} in
"
S="${WORKDIR}/${PN}-${MY_PV}"
;;
+   *.*.9?)
+   # Prereleases
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
*)
# Normal upstream release
SRC_URI="
mirror://gnu/gdb/${P}.tar.xz
https://sourceware.org/pub/gdb/releases/${P}.tar.xz
"
+
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
;;
 esac
 
@@ -56,14 +66,12 @@ SRC_URI="
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
-
-if [[ ${PV} != * ]] ; then
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+# TODO: Drop once 13 is released
+if [[ ${PV} !=  ]] ; then
# for testing on loong only
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~loong"
 fi
-
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-02-02 Thread Sam James
commit: d70607bf94d6c639aa064b32c7d8f8d176e27204
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  2 13:08:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  2 13:08:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70607bf

sys-devel/gdb: add 13.0.91

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest   |   1 +
 sys-devel/gdb/gdb-13.0.91.ebuild | 316 +++
 2 files changed, 317 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 1d9e7d93596c..130a376ded50 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,4 +1,5 @@
 DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
+DIST gdb-13.0.91.tar.xz 23647304 BLAKE2B 
a9d03ae7e22711d39e05c2125615f923a317c3df657a781e9194072e6a179e1d9140a42708ccd68e9e37e4ed4d341eda598878de2e3058a7be1c393ef8f622bd
 SHA512 
34453510b3e6c2a01f54a5d7bb4eae0e37a9959014b507bc055f4bddb66a0107c4034918cb6fd79226a08ac4fef5440b050d9d7a384e5b723ebb393ad4748551
 DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f
 DIST gdb-weekly-13.0.90.20230126.tar.xz 24808672 BLAKE2B 
5331e3f60d2dde7fb139e1e9e2507cbcc7e72d7b6f2afd8f284997955f21f4138fd05e2ee1eeb07c3d3ab1b5ab35046774ab9580013822231a56849f8cc2168c
 SHA512 
53d2623b23edfa8c25bdc26cb87577060cbd2a030eb47df84f5c025339e1a344d28c970e7d196fbb91f5f9dfba0647cf370acf4d17f6492aa2f4e14763623321

diff --git a/sys-devel/gdb/gdb-13.0.91.ebuild b/sys-devel/gdb/gdb-13.0.91.ebuild
new file mode 100644
index ..7cd89f769a0c
--- /dev/null
+++ b/sys-devel/gdb/gdb-13.0.91.ebuild
@@ -0,0 +1,316 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
+# tips & notes.
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50_p2???|*.*.90_p2???)
+   # Weekly snapshots
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *.*.9?)
+   # Prereleases
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="
+   mirror://gnu/gdb/${P}.tar.xz
+   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
+   "
+   ;;
+esac
+
+PATCH_DEV=""
+PATCH_VER=""
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="
+   ${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
+"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+
+if [[ ${PV} != * ]] ; then
+   # for testing on loong only
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~loong"
+fi
+
+IUSE="cet guile 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-28 Thread Arthur Zamarin
commit: ddaab8048c7ea982cea0c3ff4da8cc9783aa7d8a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 28 19:11:19 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 28 19:11:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddaab804

sys-devel/gdb: Stabilize 12.1-r3 hppa, #890381

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 6c2b12a47111..8eb1d3628dc8 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-27 Thread Sam James
commit: bd835a31bb910063f7c93885fe842aa9c80dad3d
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 28 00:07:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 28 00:14:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd835a31

sys-devel/gdb: add link to upstream packaging notes

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.0.90_p20230126.ebuild | 3 +++
 sys-devel/gdb/gdb-.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
index a79f0ab1957d..9eb29deacc90 100644
--- a/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
+++ b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
+# tips & notes.
+
 PYTHON_COMPAT=( python3_{9..11} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index a79f0ab1957d..9eb29deacc90 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging
+# tips & notes.
+
 PYTHON_COMPAT=( python3_{9..11} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-25 Thread Sam James
commit: 34d394a19857f932f8b11102807a412231217d5b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 26 05:53:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 26 06:10:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d394a1

sys-devel/gdb: sync live (notably, run unittests)

Running the unittests is better than nothing.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-13.0.90_p20230126.ebuild | 14 +--
 sys-devel/gdb/gdb-.ebuild  | 37 --
 2 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
index a73bb774a873..a79f0ab1957d 100644
--- a/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
+++ b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
@@ -41,11 +41,15 @@ case ${PV} in
;;
 esac
 
+PATCH_DEV=""
+PATCH_VER=""
 DESCRIPTION="GNU debugger"
 HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+SRC_URI="
+   ${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
+"
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
@@ -278,10 +282,6 @@ src_install() {
dodoc gdbserver/README
fi
 
-   if [[ -n ${PATCH_VER} ]] ; then
-   dodoc "${WORKDIR}"/extra/gdbinit.sample
-   fi
-
# Remove shared info pages
rm -f 
"${ED}"/usr/share/info/{annotate,bfd,configure,ctf-spec,standards}.info*
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 5a1837450675..a79f0ab1957d 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -41,11 +41,15 @@ case ${PV} in
;;
 esac
 
+PATCH_DEV=""
+PATCH_VER=""
 DESCRIPTION="GNU debugger"
 HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+SRC_URI="
+   ${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
+"
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
@@ -58,16 +62,7 @@ fi
 
 IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# Also, ia64 kernel crashes when gdb testsuite is running.
-RESTRICT="
-   ia64? ( test )
-   !test? ( test )
-   test
-"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
dev-libs/mpfr:0=
@@ -233,6 +228,18 @@ src_compile() {
emake V=1
 }
 
+src_test() {
+   # Run the unittests (nabbed invocation from Fedora's spec file) at least
+   emake -k -C gdb run GDBFLAGS='-batch -ex "maintenance selftest"'
+
+   # Too many failures
+   # In fact, gdb's test suite needs some work to get passing.
+   # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
+   # As of 11.2, on amd64: "# of unexpected failures8600"
+   # Also, ia64 kernel crashes when gdb testsuite is running.
+   #emake -k check
+}
+
 src_install() {
emake V=1 DESTDIR="${D}" install
 
@@ -275,10 +282,6 @@ src_install() {
dodoc gdbserver/README
fi
 
-   if [[ -n ${PATCH_VER} ]] ; then
-   dodoc "${WORKDIR}"/extra/gdbinit.sample
-   fi
-
# Remove shared info pages
rm -f 
"${ED}"/usr/share/info/{annotate,bfd,configure,ctf-spec,standards}.info*
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-25 Thread Sam James
commit: 52ebca35dac9509d8970479ff863125df0402a0b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 26 06:07:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 26 06:10:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ebca35

sys-devel/gdb: backport patches for 12.1 from gdb-12-branch

Also enable unittests (not the full test suite).

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest   |   1 +
 sys-devel/gdb/gdb-12.1-r4.ebuild | 299 +++
 2 files changed, 300 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index d1ac5a8ec477..1d9e7d93596c 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,4 @@
+DIST gdb-12.1-patches-1.tar.xz 12340 BLAKE2B 
071ff492f6cf7b0969d76db6f7414eeec564daf773c3334fb0d3f669e328bb4ae403ba8c709f3e33a56caa92273f762a5597a34dd7e7a1056f473b7ede2d8e59
 SHA512 
dc4a1a8d501dd1adfdcd6dcbd2559f1e2cc6aadeb18eacb2e9152f6858510e7392253db9568fe782da6d160221412e3e13dfd42a47a2a4a1addba2c1804a45b5
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f
 DIST gdb-weekly-13.0.90.20230126.tar.xz 24808672 BLAKE2B 
5331e3f60d2dde7fb139e1e9e2507cbcc7e72d7b6f2afd8f284997955f21f4138fd05e2ee1eeb07c3d3ab1b5ab35046774ab9580013822231a56849f8cc2168c
 SHA512 
53d2623b23edfa8c25bdc26cb87577060cbd2a030eb47df84f5c025339e1a344d28c970e7d196fbb91f5f9dfba0647cf370acf4d17f6492aa2f4e14763623321

diff --git a/sys-devel/gdb/gdb-12.1-r4.ebuild b/sys-devel/gdb/gdb-12.1-r4.ebuild
new file mode 100644
index ..6bb7083f4b01
--- /dev/null
+++ b/sys-devel/gdb/gdb-12.1-r4.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50.2???)
+   # weekly snapshots
+   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
+   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
+   ;;
+esac
+
+PATCH_DEV="sam"
+PATCH_VER="1"
+
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="
+   ${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
+"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+
+if [[ ${PV} != * ]] ; then
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/mpfr:0=
+   dev-libs/gmp:=
+   >=sys-libs/ncurses-5.2-r2:0=
+   >=sys-libs/readline-7:0=
+   sys-libs/zlib
+   elibc_glibc? ( net-libs/libnsl:= )
+   lzma? ( app-arch/xz-utils )
+   python? ( ${PYTHON_DEPS} )
+   guile? ( >=dev-scheme/guile-2.0 )
+   xml? ( dev-libs/expat )
+   source-highlight? (
+   dev-util/source-highlight
+   )
+   xxhash? (
+   dev-libs/xxhash
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   sys-apps/texinfo
+   app-alternatives/yacc
+   nls? ( sys-devel/gettext )
+   source-highlight? ( virtual/pkgconfig )
+   test? ( dev-util/dejagnu )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
+   "${FILESDIR}"/${P}-readline-8.2-build.patch
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-25 Thread Sam James
commit: 9612a886529a6bd70f9f9042192d71906470d676
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 26 05:53:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 26 05:53:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9612a886

sys-devel/gdb: add 13.0.90_p20230126

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   1 +
 sys-devel/gdb/gdb-13.0.90_p20230126.ebuild | 304 +
 2 files changed, 305 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index cf8436f3f2ed..d1ac5a8ec477 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,2 +1,3 @@
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f
+DIST gdb-weekly-13.0.90.20230126.tar.xz 24808672 BLAKE2B 
5331e3f60d2dde7fb139e1e9e2507cbcc7e72d7b6f2afd8f284997955f21f4138fd05e2ee1eeb07c3d3ab1b5ab35046774ab9580013822231a56849f8cc2168c
 SHA512 
53d2623b23edfa8c25bdc26cb87577060cbd2a030eb47df84f5c025339e1a344d28c970e7d196fbb91f5f9dfba0647cf370acf4d17f6492aa2f4e14763623321

diff --git a/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
new file mode 100644
index ..a73bb774a873
--- /dev/null
+++ b/sys-devel/gdb/gdb-13.0.90_p20230126.ebuild
@@ -0,0 +1,304 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50_p2???| *.*.90_p2???)
+   # Weekly snapshots
+   MY_PV="${PV/_p/.}"
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   "
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="
+   mirror://gnu/gdb/${P}.tar.xz
+   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
+   "
+   ;;
+esac
+
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+
+if [[ ${PV} != * ]] ; then
+   # for testing on loong only
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~loong"
+fi
+
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/mpfr:0=
+   dev-libs/gmp:=
+   >=sys-libs/ncurses-5.2-r2:0=
+   >=sys-libs/readline-7:0=
+   sys-libs/zlib
+   elibc_glibc? ( net-libs/libnsl:= )
+   lzma? ( app-arch/xz-utils )
+   python? ( ${PYTHON_DEPS} )
+   guile? ( >=dev-scheme/guile-2.0 )
+   xml? ( dev-libs/expat )
+   source-highlight? (
+   dev-util/source-highlight
+   )
+   xxhash? (
+   dev-libs/xxhash
+   )
+   zstd? ( app-arch/zstd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   sys-apps/texinfo
+   app-alternatives/yacc
+   nls? ( sys-devel/gettext )
+   source-highlight? ( virtual/pkgconfig )
+   test? ( dev-util/dejagnu )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
+)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-15 Thread Sam James
commit: 201b04402d189b14683b75e21698f1a29e1017e8
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 16 00:49:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 16 00:49:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201b0440

sys-devel/gdb: drop 13.0.50_p20221217

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   1 -
 sys-devel/gdb/gdb-13.0.50_p20221217.ebuild | 296 -
 2 files changed, 297 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 2db6be12e0b0..cf8436f3f2ed 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,2 @@
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
-DIST gdb-weekly-13.0.50.20221217.tar.xz 24801944 BLAKE2B 
87c395665bfd5901bdac35d5abc5e2aa206805e7bbe484db7306f4e2b786db0114d442323fb224ae8920c5f13d0c9408dea8f0d0ccb98bacab96db7997df3ede
 SHA512 
734139d50cdd98fa33b2ae473137bc389d5231119ceec99fa4c9004af277a065727a2f5dfa07aa7881f78138a90a7451cbfb87514a7cfd50415b90e369f124b9
 DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
deleted file mode 100644
index c3ffdf923040..
--- a/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50_p2???)
-   # weekly snapshots
-   MY_PV="${PV/_p/.}"
-   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
-   S="${WORKDIR}/${PN}-${MY_PV}"
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
-   ;;
-esac
-
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   # for testing on loong only
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-   KEYWORDS="~loong"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# Also, ia64 kernel crashes when gdb testsuite is running.
-RESTRICT="
-   ia64? ( test )
-   !test? ( test )
-   test
-"
-
-RDEPEND="
-   dev-libs/mpfr:0=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:0=
-   >=sys-libs/readline-7:0=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-   zstd? ( app-arch/zstd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-)
-
-pkg_setup() {
-  

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-14 Thread Sam James
commit: af0faa3ac14cd25334d147871463943b3f62ce69
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 15 01:14:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 15 01:41:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af0faa3a

sys-devel/gdb: cleanup confusing test comment

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild   | 5 +
 sys-devel/gdb/gdb-12.1-r3.ebuild   | 5 +
 sys-devel/gdb/gdb-13.0.50_p20221217.ebuild | 5 +
 sys-devel/gdb/gdb-13.0.90_p20230110.ebuild | 5 +
 sys-devel/gdb/gdb-.ebuild  | 5 +
 5 files changed, 5 insertions(+), 20 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index 7de0753acf92..3fd6e33a28d9 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -56,10 +56,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # In fact, gdb's test suite needs some work to get passing.
 # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
 # As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
+# Also, ia64 kernel crashes when gdb testsuite is running.
 RESTRICT="
ia64? ( test )
!test? ( test )

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index fd320b3f8dbc..6c2b12a47111 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -53,10 +53,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # In fact, gdb's test suite needs some work to get passing.
 # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
 # As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
+# Also, ia64 kernel crashes when gdb testsuite is running.
 RESTRICT="
ia64? ( test )
!test? ( test )

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
index 3e4ddd4a18b2..c3ffdf923040 100644
--- a/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
+++ b/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
@@ -57,10 +57,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # In fact, gdb's test suite needs some work to get passing.
 # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
 # As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
+# Also, ia64 kernel crashes when gdb testsuite is running.
 RESTRICT="
ia64? ( test )
!test? ( test )

diff --git a/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
index 7787228d675e..5a1837450675 100644
--- a/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
+++ b/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
@@ -62,10 +62,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # In fact, gdb's test suite needs some work to get passing.
 # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
 # As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
+# Also, ia64 kernel crashes when gdb testsuite is running.
 RESTRICT="
ia64? ( test )
!test? ( test )

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 7787228d675e..5a1837450675 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -62,10 +62,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # In fact, gdb's test suite needs some work to get passing.
 # See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
 # As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
+# Also, ia64 kernel crashes when gdb testsuite is running.
 RESTRICT="
ia64? ( test )
!test? ( test )



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-13 Thread Sam James
commit: 2fe240b41005c2ffae9578e448b24d4436008af6
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 13 09:23:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 13 09:23:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe240b4

sys-devel/gdb: backport USE=sim to 12.1-r3

It leads to a decent improvement in build time.

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 8665f715d490..9cb86c2bb7b8 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -47,7 +47,7 @@ if [[ ${PV} != * ]] ; then
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # In fact, gdb's test suite needs some work to get passing.
@@ -199,6 +199,7 @@ src_configure() {
$(use_with xml expat)
$(use_with lzma)
$(use_enable nls)
+   $(use_enable sim)
$(use_enable source-highlight)
$(use multitarget && echo --enable-targets=all)
$(use_with python python "${EPYTHON}")



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: 59906936100e85e453f4a6057b2c7b855bce58db
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 07:50:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 07:50:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59906936

sys-devel/gdb: Stabilize 12.1-r3 ppc, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 8170d934aa47..8665f715d490 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: eb63cd5cb89c8d7b466c34633d319a59a049d9f8
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 06:04:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 06:04:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb63cd5c

sys-devel/gdb: Stabilize 12.1-r3 sparc, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 3b90cc0a8b0a..8170d934aa47 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: 910e545667f67328d659e7387be922c5a434c78f
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 06:04:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 06:04:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910e5456

sys-devel/gdb: Stabilize 12.1-r3 ppc64, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 18f76d136066..3b90cc0a8b0a 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: 12c5d67f53723a24caf9f20a6e9512399ee09aa8
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 06:04:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 06:04:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c5d67f

sys-devel/gdb: Stabilize 12.1-r3 x86, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 4507c75c1e45..060a9a41da4c 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: 704dbbd4daa9f8c6bb721efd7322f063ae1d3774
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 06:04:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 06:04:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=704dbbd4

sys-devel/gdb: Stabilize 12.1-r3 arm64, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 6e8be1073895..4507c75c1e45 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: b3cef4c92d0825afa86d7bbc29479693b5fa54ea
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 06:04:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 06:04:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3cef4c9

sys-devel/gdb: Stabilize 12.1-r3 arm, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 060a9a41da4c..18f76d136066 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-10 Thread Sam James
commit: 0690819306aabed8c734dc8f4d94c8d903474506
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 05:15:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 05:15:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06908193

sys-devel/gdb: Stabilize 12.1-r3 amd64, #890381

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index d488fd670d9c..6e8be1073895 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -44,7 +44,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/

2023-01-10 Thread Sam James
commit: 6cfcde06c230b482616d1a1f431167711bf1e99b
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 03:24:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 03:24:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfcde06

sys-devel/gdb: drop 11.2

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   1 -
 .../gdb/files/gdb-11.2-glibc-2.35-fsqrt.patch  |  32 ---
 sys-devel/gdb/gdb-11.2.ebuild  | 287 -
 3 files changed, 320 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 5888a1bc8e68..2db6be12e0b0 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,4 +1,3 @@
-DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.50.20221217.tar.xz 24801944 BLAKE2B 
87c395665bfd5901bdac35d5abc5e2aa206805e7bbe484db7306f4e2b786db0114d442323fb224ae8920c5f13d0c9408dea8f0d0ccb98bacab96db7997df3ede
 SHA512 
734139d50cdd98fa33b2ae473137bc389d5231119ceec99fa4c9004af277a065727a2f5dfa07aa7881f78138a90a7451cbfb87514a7cfd50415b90e369f124b9
 DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f

diff --git a/sys-devel/gdb/files/gdb-11.2-glibc-2.35-fsqrt.patch 
b/sys-devel/gdb/files/gdb-11.2-glibc-2.35-fsqrt.patch
deleted file mode 100644
index 5e0121f85029..
--- a/sys-devel/gdb/files/gdb-11.2-glibc-2.35-fsqrt.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=a532eb7277ff64fb073e209d418b0a97f686c0e3
-https://bugs.gentoo.org/833590
-
-From: Sergei Trofimovich 
-Date: Mon, 14 Feb 2022 17:12:41 +
-Subject: [PATCH] microblaze: fix fsqrt collicion to build on glibc-2.35
-
-   * microblaze-opcm.h: Renamed 'fsqrt' to 'microblaze_fsqrt'.
-   * microblaze-opc.h: Follow 'fsqrt' rename.
 a/opcodes/microblaze-opc.h
-+++ b/opcodes/microblaze-opc.h
-@@ -268,7 +268,7 @@ const struct op_code_struct
-   {"fcmp.un", INST_TYPE_RD_R1_R2, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x58000200, OPCODE_MASK_H4, fcmp_un, arithmetic_inst },
-   {"flt",   INST_TYPE_RD_R1, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x58000280, OPCODE_MASK_H4, flt,   arithmetic_inst },
-   {"fint",  INST_TYPE_RD_R1, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x58000300, OPCODE_MASK_H4, fint,  arithmetic_inst },
--  {"fsqrt", INST_TYPE_RD_R1, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x58000380, OPCODE_MASK_H4, fsqrt, arithmetic_inst },
-+  {"fsqrt", INST_TYPE_RD_R1, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x58000380, OPCODE_MASK_H4, microblaze_fsqrt, 
arithmetic_inst },
-   {"tget",   INST_TYPE_RD_RFSL, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x6C001000, OPCODE_MASK_H32, tget,   anyware_inst },
-   {"tcget",  INST_TYPE_RD_RFSL, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x6C003000, OPCODE_MASK_H32, tcget,  anyware_inst },
-   {"tnget",  INST_TYPE_RD_RFSL, INST_NO_OFFSET, NO_DELAY_SLOT, 
IMMVAL_MASK_NON_SPECIAL, 0x6C005000, OPCODE_MASK_H32, tnget,  anyware_inst },
 a/opcodes/microblaze-opcm.h
-+++ b/opcodes/microblaze-opcm.h
-@@ -42,7 +42,8 @@ enum microblaze_instr
-   shr, sw, swr, swx, lbui, lhui, lwi,
-   sbi, shi, swi, msrset, msrclr, tuqula, mbi_fadd, frsub, mbi_fmul, mbi_fdiv,
-   fcmp_lt, fcmp_eq, fcmp_le, fcmp_gt, fcmp_ne, fcmp_ge, fcmp_un, flt,
--  fint, fsqrt,
-+  /* 'fsqrt' is a glibc:math.h symbol.  */
-+  fint, microblaze_fsqrt,
-   tget, tcget, tnget, tncget, tput, tcput, tnput, tncput,
-   eget, ecget, neget, necget, eput, ecput, neput, necput,
-   teget, tecget, tneget, tnecget, teput, tecput, tneput, tnecput,

diff --git a/sys-devel/gdb/gdb-11.2.ebuild b/sys-devel/gdb/gdb-11.2.ebuild
deleted file mode 100644
index 4cf33173d0ba..
--- a/sys-devel/gdb/gdb-11.2.ebuild
+++ /dev/null
@@ -1,287 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9,10} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2023-01-09 Thread Sam James
commit: de5717f1742b7e83478356ccb163268510b51d94
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 06:49:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 06:50:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5717f1

sys-devel/gdb: add 13.0.90_p20230110

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest  |  1 +
 .../{gdb-.ebuild => gdb-13.0.90_p20230110.ebuild}   | 17 +++--
 sys-devel/gdb/gdb-.ebuild   | 17 +++--
 3 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index f2da54fe447d..5888a1bc8e68 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,4 @@
 DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.50.20221217.tar.xz 24801944 BLAKE2B 
87c395665bfd5901bdac35d5abc5e2aa206805e7bbe484db7306f4e2b786db0114d442323fb224ae8920c5f13d0c9408dea8f0d0ccb98bacab96db7997df3ede
 SHA512 
734139d50cdd98fa33b2ae473137bc389d5231119ceec99fa4c9004af277a065727a2f5dfa07aa7881f78138a90a7451cbfb87514a7cfd50415b90e369f124b9
+DIST gdb-weekly-13.0.90.20230110.tar.xz 24802804 BLAKE2B 
d13bc0ce3bfd0197be31610385014df815c72a86f34b44beced0882267e8b5eecdd50545a85d84c5648771bb9a01b7e63680a424ad36e4d23c15470af6270f21
 SHA512 
d0c186c661b4648668213a5210f10d09ccbceb077e9e61a88cb1431e8feae4ad2ce74365024bb5f282f78225e118e808c5df30af9c46c4c368a41d4385f8918f

diff --git a/sys-devel/gdb/gdb-.ebuild 
b/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
similarity index 95%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
index 22ec6a50951e..44cd8a72bbd3 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-13.0.90_p20230110.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,16 +23,21 @@ case ${PV} in
inherit git-r3
SRC_URI=""
;;
-   *.*.50_p2???)
-   # weekly snapshots
+   *.*.50_p2???| *.*.90_p2???)
+   # Weekly snapshots
MY_PV="${PV/_p/.}"
-   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   "
S="${WORKDIR}/${PN}-${MY_PV}"
;;
*)
# Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
+   SRC_URI="
+   mirror://gnu/gdb/${P}.tar.xz
+   https://sourceware.org/pub/gdb/releases/${P}.tar.xz
+   "
;;
 esac
 

diff --git a/sys-devel/gdb/gdb-.ebuild b/sys-devel/gdb/gdb-.ebuild
index 22ec6a50951e..44cd8a72bbd3 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,16 +23,21 @@ case ${PV} in
inherit git-r3
SRC_URI=""
;;
-   *.*.50_p2???)
-   # weekly snapshots
+   *.*.50_p2???| *.*.90_p2???)
+   # Weekly snapshots
MY_PV="${PV/_p/.}"
-   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
+   SRC_URI="
+   
https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz
+   
https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz
+   "
S="${WORKDIR}/${PN}-${MY_PV}"
;;
*)
# Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
+   SRC_URI="
+   mirror://gnu/gdb/${P}.tar.xz
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-26 Thread Sam James
commit: 18c0e229e284936f565ceabf8d1a44f0249c82a3
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 11:39:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 11:59:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c0e229

sys-devel/gdb: drop 13.0.50_p20221206, 13.0.50_p20221213

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   2 -
 sys-devel/gdb/gdb-13.0.50_p20221206.ebuild | 296 
 sys-devel/gdb/gdb-13.0.50_p20221213.ebuild | 299 -
 3 files changed, 597 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index b15d45c3e9db..f2da54fe447d 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,5 +1,3 @@
 DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
-DIST gdb-weekly-13.0.50.20221206.tar.xz 24810920 BLAKE2B 
3345a905f0350ebd6a63a5976f12e23bd4fcfa9c9025c96f3f74f9d1ed9d46f216daabf8a78171fc3bee004c6e1eb5102b7d60ea97a54a39e0002aca1a052539
 SHA512 
b8fc8b834856a1a137b5b680e3dca6200d292480c200e883ea1268aa1c7f75daf8b0336c22bbd37b8936f13636e276de7e27c031c32708d1ea347dcce82a0025
-DIST gdb-weekly-13.0.50.20221213.tar.xz 24796392 BLAKE2B 
e87a04f04f91f174d7bbf69d751b0236a8f6fee75c44abd1fa45d845a7514d3ef0ce063ca53a336693ee95519833c448c67e861516770c19837ba0f4e9546812
 SHA512 
7bc96c9af90efae252e35f5b321f041136d454d4a4b3170a918f816b37a44b302cf6dc297d097ffe7ddc382c810b54de5162ee628c5179b5e4146c2a142eb7ae
 DIST gdb-weekly-13.0.50.20221217.tar.xz 24801944 BLAKE2B 
87c395665bfd5901bdac35d5abc5e2aa206805e7bbe484db7306f4e2b786db0114d442323fb224ae8920c5f13d0c9408dea8f0d0ccb98bacab96db7997df3ede
 SHA512 
734139d50cdd98fa33b2ae473137bc389d5231119ceec99fa4c9004af277a065727a2f5dfa07aa7881f78138a90a7451cbfb87514a7cfd50415b90e369f124b9

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
deleted file mode 100644
index 31bf1d137846..
--- a/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50_p2???)
-   # weekly snapshots
-   MY_PV="${PV/_p/.}"
-   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
-   S="${WORKDIR}/${PN}-${MY_PV}"
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
-   ;;
-esac
-
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   # for testing on loong only
-   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-   KEYWORDS="~loong"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-RESTRICT="
-   ia64? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-16 Thread Sam James
commit: 3d5fee3e5bd040b638a79de4ee903abec9de336c
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 17 04:52:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 17 04:52:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5fee3e

sys-devel/gdb: add 13.0.50_p20221217

Closes: https://bugs.gentoo.org/886189
Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |   1 +
 sys-devel/gdb/gdb-13.0.50_p20221217.ebuild | 299 +
 2 files changed, 300 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 036faef3c1e9..b15d45c3e9db 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -2,3 +2,4 @@ DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c9
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.50.20221206.tar.xz 24810920 BLAKE2B 
3345a905f0350ebd6a63a5976f12e23bd4fcfa9c9025c96f3f74f9d1ed9d46f216daabf8a78171fc3bee004c6e1eb5102b7d60ea97a54a39e0002aca1a052539
 SHA512 
b8fc8b834856a1a137b5b680e3dca6200d292480c200e883ea1268aa1c7f75daf8b0336c22bbd37b8936f13636e276de7e27c031c32708d1ea347dcce82a0025
 DIST gdb-weekly-13.0.50.20221213.tar.xz 24796392 BLAKE2B 
e87a04f04f91f174d7bbf69d751b0236a8f6fee75c44abd1fa45d845a7514d3ef0ce063ca53a336693ee95519833c448c67e861516770c19837ba0f4e9546812
 SHA512 
7bc96c9af90efae252e35f5b321f041136d454d4a4b3170a918f816b37a44b302cf6dc297d097ffe7ddc382c810b54de5162ee628c5179b5e4146c2a142eb7ae
+DIST gdb-weekly-13.0.50.20221217.tar.xz 24801944 BLAKE2B 
87c395665bfd5901bdac35d5abc5e2aa206805e7bbe484db7306f4e2b786db0114d442323fb224ae8920c5f13d0c9408dea8f0d0ccb98bacab96db7997df3ede
 SHA512 
734139d50cdd98fa33b2ae473137bc389d5231119ceec99fa4c9004af277a065727a2f5dfa07aa7881f78138a90a7451cbfb87514a7cfd50415b90e369f124b9

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
new file mode 100644
index ..22ec6a50951e
--- /dev/null
+++ b/sys-devel/gdb/gdb-13.0.50_p20221217.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50_p2???)
+   # weekly snapshots
+   MY_PV="${PV/_p/.}"
+   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
+   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
+   ;;
+esac
+
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+
+if [[ ${PV} != * ]] ; then
+   # for testing on loong only
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~loong"
+fi
+
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# In fact, gdb's test suite needs some work to get passing.
+# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
+# As of 11.2, on amd64: "# of unexpected failures8600"
+# ia64 kernel crashes when gdb testsuite is running
+# in fact, gdb's test suite needs some work to get passing.
+# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
+# As of 11.2, on amd64: "# of unexpected failures8600"
+RESTRICT="
+   ia64? ( test )
+   !test? ( test )
+   test
+"
+
+RDEPEND="
+   dev-libs/mpfr:0=
+   dev-libs/gmp:=
+   >=sys-libs/ncurses-5.2-r2:0=
+   >=sys-libs/readline-7:0=
+   sys-libs/zlib
+   elibc_glibc? ( net-libs/libnsl:= )
+   lzma? ( app-arch/xz-utils )

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-13 Thread Sam James
commit: 6dca2756ec86037bf6dc14f8b4db764ac2ba7185
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 14 00:06:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 14 00:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dca2756

sys-devel/gdb: add 13.0.50_p20221213

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/Manifest |  1 +
 ...db-.ebuild => gdb-13.0.50_p20221213.ebuild} | 28 ++---
 sys-devel/gdb/gdb-.ebuild  | 28 ++---
 sys-devel/gdb/metadata.xml | 35 +++---
 4 files changed, 53 insertions(+), 39 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 7b9b5990c532..036faef3c1e9 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,4 @@
 DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
 DIST gdb-weekly-13.0.50.20221206.tar.xz 24810920 BLAKE2B 
3345a905f0350ebd6a63a5976f12e23bd4fcfa9c9025c96f3f74f9d1ed9d46f216daabf8a78171fc3bee004c6e1eb5102b7d60ea97a54a39e0002aca1a052539
 SHA512 
b8fc8b834856a1a137b5b680e3dca6200d292480c200e883ea1268aa1c7f75daf8b0336c22bbd37b8936f13636e276de7e27c031c32708d1ea347dcce82a0025
+DIST gdb-weekly-13.0.50.20221213.tar.xz 24796392 BLAKE2B 
e87a04f04f91f174d7bbf69d751b0236a8f6fee75c44abd1fa45d845a7514d3ef0ce063ca53a336693ee95519833c448c67e861516770c19837ba0f4e9546812
 SHA512 
7bc96c9af90efae252e35f5b321f041136d454d4a4b3170a918f816b37a44b302cf6dc297d097ffe7ddc382c810b54de5162ee628c5179b5e4146c2a142eb7ae

diff --git a/sys-devel/gdb/gdb-.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221213.ebuild
similarity index 91%
copy from sys-devel/gdb/gdb-.ebuild
copy to sys-devel/gdb/gdb-13.0.50_p20221213.ebuild
index 940f57beb14b..22ec6a50951e 100644
--- a/sys-devel/gdb/gdb-.ebuild
+++ b/sys-devel/gdb/gdb-13.0.50_p20221213.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
 inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
@@ -23,9 +23,11 @@ case ${PV} in
inherit git-r3
SRC_URI=""
;;
-   *.*.50.2???)
+   *.*.50_p2???)
# weekly snapshots
-   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
+   MY_PV="${PV/_p/.}"
+   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
+   S="${WORKDIR}/${PN}-${MY_PV}"
;;
*)
# Normal upstream release
@@ -34,23 +36,22 @@ case ${PV} in
;;
 esac
 
-PATCH_VER=""
-PATCH_DEV=""
 DESCRIPTION="GNU debugger"
 HOMEPAGE="https://sourceware.org/gdb/;
 SRC_URI="${SRC_URI}

${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
-"
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
 
 LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   # for testing on loong only
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~loong"
 fi
 
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash zstd"
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # In fact, gdb's test suite needs some work to get passing.
@@ -77,8 +78,12 @@ RDEPEND="
python? ( ${PYTHON_DEPS} )
guile? ( >=dev-scheme/guile-2.0 )
xml? ( dev-libs/expat )
-   source-highlight? ( dev-util/source-highlight )
-   xxhash? ( dev-libs/xxhash )
+   source-highlight? (
+   dev-util/source-highlight
+   )
+   xxhash? (
+   dev-libs/xxhash
+   )
zstd? ( app-arch/zstd:= )
 "
 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-05 Thread WANG Xuerui
commit: 05ad32cc56ad659c37821187e0fa05bccad2e16f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Dec  6 03:31:33 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Dec  6 03:31:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ad32cc

sys-devel/gdb: keyword 13.0.50_p20221206 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-devel/gdb/gdb-13.0.50_p20221206.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
index 32acb6800ff3..31bf1d137846 100644
--- a/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
+++ b/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
@@ -48,8 +48,7 @@ SLOT="0"
 if [[ ${PV} != * ]] ; then
# for testing on loong only
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-   #KEYWORDS="~loong"
-   KEYWORDS=""
+   KEYWORDS="~loong"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-05 Thread WANG Xuerui
commit: b2b22bf172fd354fc0453a1ada3b9493bc31c68f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Dec  6 03:02:49 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Dec  6 03:02:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b22bf1

sys-devel/gdb: add 13.0.50_p20221206, drop 13.0.50_p20221205

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-devel/gdb/Manifest  | 2 +-
 .../gdb/{gdb-13.0.50_p20221205.ebuild => gdb-13.0.50_p20221206.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 202dd299950d..7b9b5990c532 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,3 +1,3 @@
 DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
-DIST gdb-weekly-13.0.50.20221205.tar.xz 24801488 BLAKE2B 
d8e14e1d094733754ebac11a0e3b1f1b5590b74f93766ea98c696c787b69b0d433ffe79aa8e76671b6d446599a6d929ebd3f758e11d057ecd18c9c09782108ad
 SHA512 
434293dcd118634a64da14d143862990e69b26b614e48517c074b64daa84a403cbe987569eed011c0de76595d5f00597cfd1d6b3b2d79009012d70eb7e57cfb6
+DIST gdb-weekly-13.0.50.20221206.tar.xz 24810920 BLAKE2B 
3345a905f0350ebd6a63a5976f12e23bd4fcfa9c9025c96f3f74f9d1ed9d46f216daabf8a78171fc3bee004c6e1eb5102b7d60ea97a54a39e0002aca1a052539
 SHA512 
b8fc8b834856a1a137b5b680e3dca6200d292480c200e883ea1268aa1c7f75daf8b0336c22bbd37b8936f13636e276de7e27c031c32708d1ea347dcce82a0025

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221205.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221206.ebuild
similarity index 100%
rename from sys-devel/gdb/gdb-13.0.50_p20221205.ebuild
rename to sys-devel/gdb/gdb-13.0.50_p20221206.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-05 Thread WANG Xuerui
commit: 94b979a8dd2da5e658c593f2e49b20c261d27712
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Dec  5 09:29:01 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Dec  5 09:29:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b979a8

sys-devel/gdb: add 13.0.50_p20221205

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-devel/gdb/Manifest |   1 +
 sys-devel/gdb/gdb-13.0.50_p20221205.ebuild | 297 +
 2 files changed, 298 insertions(+)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index dbb57cec059f..202dd299950d 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -1,2 +1,3 @@
 DIST gdb-11.2.tar.xz 22039420 BLAKE2B 
66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
 SHA512 
07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127
 DIST gdb-12.1.tar.xz 22470332 BLAKE2B 
7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 SHA512 
425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d
+DIST gdb-weekly-13.0.50.20221205.tar.xz 24801488 BLAKE2B 
d8e14e1d094733754ebac11a0e3b1f1b5590b74f93766ea98c696c787b69b0d433ffe79aa8e76671b6d446599a6d929ebd3f758e11d057ecd18c9c09782108ad
 SHA512 
434293dcd118634a64da14d143862990e69b26b614e48517c074b64daa84a403cbe987569eed011c0de76595d5f00597cfd1d6b3b2d79009012d70eb7e57cfb6

diff --git a/sys-devel/gdb/gdb-13.0.50_p20221205.ebuild 
b/sys-devel/gdb/gdb-13.0.50_p20221205.ebuild
new file mode 100644
index ..32acb6800ff3
--- /dev/null
+++ b/sys-devel/gdb/gdb-13.0.50_p20221205.ebuild
@@ -0,0 +1,297 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50_p2???)
+   # weekly snapshots
+   MY_PV="${PV/_p/.}"
+   
SRC_URI="https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz;
+   S="${WORKDIR}/${PN}-${MY_PV}"
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
+   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
+   ;;
+esac
+
+DESCRIPTION="GNU debugger"
+HOMEPAGE="https://sourceware.org/gdb/;
+SRC_URI="${SRC_URI}
+   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
+   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}"
+
+LICENSE="GPL-3+ LGPL-2.1+"
+SLOT="0"
+
+if [[ ${PV} != * ]] ; then
+   # for testing on loong only
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   #KEYWORDS="~loong"
+   KEYWORDS=""
+fi
+
+IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# In fact, gdb's test suite needs some work to get passing.
+# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
+# As of 11.2, on amd64: "# of unexpected failures8600"
+# ia64 kernel crashes when gdb testsuite is running
+# in fact, gdb's test suite needs some work to get passing.
+# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
+# As of 11.2, on amd64: "# of unexpected failures8600"
+RESTRICT="
+   ia64? ( test )
+   !test? ( test )
+   test
+"
+
+RDEPEND="
+   dev-libs/mpfr:0=
+   dev-libs/gmp:=
+   >=sys-libs/ncurses-5.2-r2:0=
+   >=sys-libs/readline-7:0=
+   sys-libs/zlib
+   elibc_glibc? ( net-libs/libnsl:= )
+   lzma? ( app-arch/xz-utils )
+   python? ( ${PYTHON_DEPS} )
+   guile? ( >=dev-scheme/guile-2.0 )
+   xml? ( dev-libs/expat )
+   source-highlight? (
+   dev-util/source-highlight
+   )
+   xxhash? (
+   dev-libs/xxhash
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-arch/xz-utils
+   sys-apps/texinfo
+   app-alternatives/yacc
+   nls? ( sys-devel/gettext )
+   source-highlight? ( virtual/pkgconfig )

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/files/, sys-devel/gdb/

2022-12-02 Thread Sam James
commit: 6744186d10bceadab7c2a4f5bc5c616d655877f7
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  3 05:01:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  3 06:06:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6744186d

sys-devel/gdb: fix configure w/ clang 16

Doesn't fix the other build problems yet, but given that implicit. func.
decls can affect all compilers...

Bug: https://bugs.gentoo.org/871543
Signed-off-by: Sam James  gentoo.org>

 .../gdb/files/gdb-12.1-configure-clang16.patch | 112 
 sys-devel/gdb/gdb-12.1-r3.ebuild   | 295 +
 2 files changed, 407 insertions(+)

diff --git a/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch 
b/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch
new file mode 100644
index ..3b2c15de4895
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-12.1-configure-clang16.patch
@@ -0,0 +1,112 @@
+https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0075c53724f78c78aa1692cc8e3bf1433eeb0b9f
+https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=885b6660c17fb91980b5682514ef54668e544b02
+https://bugzilla.redhat.com/show_bug.cgi?id=2143992
+
+From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
+From: Keith Seitz 
+Date: Tue, 29 Nov 2022 13:43:34 -0800
+Subject: gdb-rhbz2143992-libiberty-fix-c89isms-in-configure.patch
+
+;; libiberty: Fix C89-isms in configure tests
+;; (Florian Weimer, RHBZ 2143992)
+
+libiberty/
+
+* acinclude.m4 (ac_cv_func_strncmp_works): Add missing
+int return type and parameter list to the definition of main.
+Include  and  for prototypes.
+(ac_cv_c_stack_direction): Add missing
+int return type and parameter list to the definitions of
+main, find_stack_direction.  Include  for exit
+prototype.
+* configure: Regenerate.
+
+--- a/libiberty/acinclude.m4
 b/libiberty/acinclude.m4
+@@ -24,6 +24,8 @@ AC_CACHE_CHECK([for working strncmp], 
ac_cv_func_strncmp_works,
+ [AC_TRY_RUN([
+ /* Test by Jim Wilson and Kaveh Ghazi.
+Check whether strncmp reads past the end of its string parameters. */
++#include 
++#include 
+ #include 
+ 
+ #ifdef HAVE_FCNTL_H
+@@ -51,7 +53,8 @@ AC_CACHE_CHECK([for working strncmp], 
ac_cv_func_strncmp_works,
+ 
+ #define MAP_LEN 0x1
+ 
+-main ()
++int
++main (void)
+ {
+ #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE)
+   char *p;
+@@ -157,7 +160,10 @@ if test $ac_cv_os_cray = yes; then
+ fi
+ 
+ AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
+-[AC_TRY_RUN([find_stack_direction ()
++[AC_TRY_RUN([#include 
++
++int
++find_stack_direction (void)
+ {
+   static char *addr = 0;
+   auto char dummy;
+@@ -169,7 +175,9 @@ AC_CACHE_CHECK(stack direction for C alloca, 
ac_cv_c_stack_direction,
+   else
+ return ( > addr) ? 1 : -1;
+ }
+-main ()
++
++int
++main (void)
+ {
+   exit (find_stack_direction() < 0);
+ }],
+--- a/libiberty/configure
 b/libiberty/configure
+@@ -6918,7 +6918,10 @@ else
+ else
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+-find_stack_direction ()
++#include 
++
++int
++find_stack_direction (void)
+ {
+   static char *addr = 0;
+   auto char dummy;
+@@ -6930,7 +6933,9 @@ find_stack_direction ()
+   else
+ return ( > addr) ? 1 : -1;
+ }
+-main ()
++
++int
++main (void)
+ {
+   exit (find_stack_direction() < 0);
+ }
+@@ -7755,6 +7760,8 @@ else
+ 
+ /* Test by Jim Wilson and Kaveh Ghazi.
+Check whether strncmp reads past the end of its string parameters. */
++#include 
++#include 
+ #include 
+ 
+ #ifdef HAVE_FCNTL_H
+@@ -7782,7 +7789,8 @@ else
+ 
+ #define MAP_LEN 0x1
+ 
+-main ()
++int
++main (void)
+ {
+ #if defined(HAVE_MMAP) || defined(HAVE_MMAP_ANYWHERE)
+   char *p;
+

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
new file mode 100644
index ..d488fd670d9c
--- /dev/null
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -0,0 +1,295 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+case ${PV} in
+   *)
+   # live git tree
+   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
+   inherit git-r3
+   SRC_URI=""
+   ;;
+   *.*.50.2???)
+   # weekly snapshots
+   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
+   ;;
+   *)
+   # Normal upstream release
+   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
+   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-02 Thread Arthur Zamarin
commit: 539f7fd65c30c63271be73f569c7a7b52ddf4957
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 14:03:19 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 14:03:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539f7fd6

sys-devel/gdb: Stabilize 12.1-r2 x86, #883961

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index aace932f1148..de06726b300c 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-02 Thread Arthur Zamarin
commit: c529a797c1197fa3d55b15daa89533fad106f058
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 14:03:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 14:03:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c529a797

sys-devel/gdb: Stabilize 12.1-r2 hppa, #883961

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index de06726b300c..8992645e4700 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Sam James
commit: 68c8ba3c42bb435f391807a056610b9e6bd2940c
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  2 07:51:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  2 07:52:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c8ba3c

sys-devel/gdb: drop 12.1, 12.1-r1

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r1.ebuild | 296 ---
 sys-devel/gdb/gdb-12.1.ebuild| 285 -
 2 files changed, 581 deletions(-)

diff --git a/sys-devel/gdb/gdb-12.1-r1.ebuild b/sys-devel/gdb/gdb-12.1-r1.ebuild
deleted file mode 100644
index f75e337dc424..
--- a/sys-devel/gdb/gdb-12.1-r1.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs
-
-export CTARGET=${CTARGET:-${CHOST}}
-
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-   if [[ ${CATEGORY} == cross-* ]] ; then
-   export CTARGET=${CATEGORY#cross-}
-   fi
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-case ${PV} in
-   *)
-   # live git tree
-   EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git;
-   inherit git-r3
-   SRC_URI=""
-   ;;
-   *.*.50.2???)
-   # weekly snapshots
-   
SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz;
-   ;;
-   *)
-   # Normal upstream release
-   SRC_URI="mirror://gnu/gdb/${P}.tar.xz
-   ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz;
-   ;;
-esac
-
-PATCH_VER=""
-PATCH_DEV=""
-DESCRIPTION="GNU debugger"
-HOMEPAGE="https://sourceware.org/gdb/;
-SRC_URI="${SRC_URI}
-   
${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz}
-   ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}
-"
-
-LICENSE="GPL-3+ LGPL-2.1+"
-SLOT="0"
-
-if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# In fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-# ia64 kernel crashes when gdb testsuite is running
-# in fact, gdb's test suite needs some work to get passing.
-# See e.g. https://sourceware.org/gdb/wiki/TestingGDB.
-# As of 11.2, on amd64: "# of unexpected failures8600"
-RESTRICT="
-   ia64? ( test )
-   !test? ( test )
-   test
-"
-
-RDEPEND="
-   dev-libs/mpfr:0=
-   dev-libs/gmp:=
-   >=sys-libs/ncurses-5.2-r2:0=
-   >=sys-libs/readline-7:0=
-   sys-libs/zlib
-   elibc_glibc? ( net-libs/libnsl:= )
-   lzma? ( app-arch/xz-utils )
-   python? ( ${PYTHON_DEPS} )
-   guile? ( >=dev-scheme/guile-2.0 )
-   xml? ( dev-libs/expat )
-   source-highlight? (
-   dev-util/source-highlight
-   )
-   xxhash? (
-   dev-libs/xxhash
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-arch/xz-utils
-   sys-apps/texinfo
-   virtual/yacc
-   nls? ( sys-devel/gettext )
-   source-highlight? ( virtual/pkgconfig )
-   test? ( dev-util/dejagnu )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
-   "${FILESDIR}"/${P}-readline-8.2-build.patch
-)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   strip-linguas -u bfd/po opcodes/po
-
-   # Avoid using ancient termcap from host on Prefix systems
-   sed -i -e 's/termcap tinfow/tinfow/g' \
-   gdb/configure{.ac,} || die
-}
-
-gdb_branding() {
-   printf "Gentoo ${PV} "
-
-   if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then
-   printf "p${PATCH_VER}"
-   else
-   printf "vanilla"
-   fi
-
-   [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}"
-}
-
-src_configure() {
-   strip-unsupported-flags
-
-   # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
-   # Avoid really confusing logs from subconfigure spam, makes logs far
-   # more legible.
-   MAKEOPTS="--output-sync=line ${MAKEOPTS}"
-
-   local myconf=(
-   # portage's econf() does not detect presence of --d-d-t
-   # because it greps only top-level ./configure. But not
-   # gnulib's or gdb's configure.
-   

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Arthur Zamarin
commit: 41e1a00e736a4a77a863feedf23916f27d937b68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 07:49:55 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 07:49:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e1a00e

sys-devel/gdb: Stabilize 12.1-r2 amd64, #883961

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index e30d1cad3660..aace932f1148 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Arthur Zamarin
commit: 10948e7dfed559817abd66f1b41a616ade8e1af9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 06:22:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 06:22:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10948e7d

sys-devel/gdb: Stabilize 12.1-r2 ppc64, #883961

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index 9c12d7a6e134..a90f450ce32d 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Arthur Zamarin
commit: 19bb968e41924049096fe95f8fb40b4358066e28
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 06:22:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 06:22:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bb968e

sys-devel/gdb: Stabilize 12.1-r2 ppc, #883961

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index a90f450ce32d..e30d1cad3660 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Sam James
commit: 0fe992d715db26ee32fea93ad5b038140ae24339
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  2 05:58:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  2 05:58:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe992d7

sys-devel/gdb: Stabilize 12.1-r2 arm64, #883961

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index 0e660ed065fc..9c12d7a6e134 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/

2022-12-01 Thread Sam James
commit: c22118ebda8ce41dac1fe0d82de65b7ca2aea4eb
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  2 05:53:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  2 05:53:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22118eb

sys-devel/gdb: Stabilize 12.1-r2 arm, #883961

Signed-off-by: Sam James  gentoo.org>

 sys-devel/gdb/gdb-12.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index f8e1bce719cb..0e660ed065fc 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -47,7 +47,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
 SLOT="0"
 
 if [[ ${PV} != * ]] ; then
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"



  1   2   3   4   >