commit:     e14cbe784e276bdd62354a0f354bb39b8b3a33bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  7 22:12:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  7 22:12:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14cbe78

dev-lang/python: always skip test_gdb

Running gdb inside an ebuild as non-root, within sandbox, and possibly
within a container is unreliable.

Closes: https://bugs.gentoo.org/941296
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/python/python-0.3.13.4.ebuild        | 19 +++----------------
 dev-lang/python/python-0.3.13.5.ebuild        | 19 +++----------------
 dev-lang/python/python-0.3.13.5_p1.ebuild     | 19 +++----------------
 dev-lang/python/python-0.3.13.6.ebuild        | 19 +++----------------
 dev-lang/python/python-0.3.13.9999.ebuild     | 19 +++----------------
 dev-lang/python/python-0.3.14.0_beta4.ebuild  | 19 +++----------------
 dev-lang/python/python-0.3.14.0_rc1.ebuild    | 19 +++----------------
 dev-lang/python/python-0.3.14.0_rc1_p1.ebuild | 19 +++----------------
 dev-lang/python/python-0.3.14.9999.ebuild     | 19 +++----------------
 dev-lang/python/python-0.3.15.9999.ebuild     | 19 +++----------------
 dev-lang/python/python-3.10.18-r1.ebuild      |  2 ++
 dev-lang/python/python-3.10.18_p2.ebuild      |  2 ++
 dev-lang/python/python-3.10.9999.ebuild       |  2 ++
 dev-lang/python/python-3.11.13-r1.ebuild      | 10 +++-------
 dev-lang/python/python-3.11.13_p1.ebuild      | 10 +++-------
 dev-lang/python/python-3.11.9999.ebuild       |  8 +++-----
 dev-lang/python/python-3.12.11.ebuild         | 14 +++-----------
 dev-lang/python/python-3.12.11_p1.ebuild      | 14 +++-----------
 dev-lang/python/python-3.12.9999.ebuild       | 14 +++-----------
 dev-lang/python/python-3.13.5.ebuild          | 19 +++----------------
 dev-lang/python/python-3.13.5_p1.ebuild       | 19 +++----------------
 dev-lang/python/python-3.13.6.ebuild          | 19 +++----------------
 dev-lang/python/python-3.13.9999.ebuild       | 19 +++----------------
 dev-lang/python/python-3.14.0_beta4.ebuild    | 19 +++----------------
 dev-lang/python/python-3.14.0_rc1.ebuild      | 19 +++----------------
 dev-lang/python/python-3.14.0_rc1_p1.ebuild   | 19 +++----------------
 dev-lang/python/python-3.14.9999.ebuild       | 19 +++----------------
 dev-lang/python/python-3.15.9999.ebuild       | 19 +++----------------
 dev-lang/python/python-3.8.20_p7-r1.ebuild    |  2 ++
 dev-lang/python/python-3.9.23-r1.ebuild       |  2 ++
 dev-lang/python/python-3.9.23_p2.ebuild       |  2 ++
 dev-lang/python/python-3.9.9999.ebuild        |  7 ++-----
 32 files changed, 89 insertions(+), 361 deletions(-)

diff --git a/dev-lang/python/python-0.3.13.4.ebuild 
b/dev-lang/python/python-0.3.13.4.ebuild
index 60f00a5a89ee..2e133b563a9e 100644
--- a/dev-lang/python/python-0.3.13.4.ebuild
+++ b/dev-lang/python/python-0.3.13.4.ebuild
@@ -247,6 +247,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -272,16 +275,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -289,11 +282,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -307,7 +295,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.13.5.ebuild 
b/dev-lang/python/python-0.3.13.5.ebuild
index 60f00a5a89ee..2e133b563a9e 100644
--- a/dev-lang/python/python-0.3.13.5.ebuild
+++ b/dev-lang/python/python-0.3.13.5.ebuild
@@ -247,6 +247,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -272,16 +275,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -289,11 +282,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -307,7 +295,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.13.5_p1.ebuild 
b/dev-lang/python/python-0.3.13.5_p1.ebuild
index 60f00a5a89ee..2e133b563a9e 100644
--- a/dev-lang/python/python-0.3.13.5_p1.ebuild
+++ b/dev-lang/python/python-0.3.13.5_p1.ebuild
@@ -247,6 +247,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -272,16 +275,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -289,11 +282,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -307,7 +295,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.13.6.ebuild 
b/dev-lang/python/python-0.3.13.6.ebuild
index 60f00a5a89ee..2e133b563a9e 100644
--- a/dev-lang/python/python-0.3.13.6.ebuild
+++ b/dev-lang/python/python-0.3.13.6.ebuild
@@ -247,6 +247,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -272,16 +275,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -289,11 +282,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -307,7 +295,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.13.9999.ebuild 
b/dev-lang/python/python-0.3.13.9999.ebuild
index 457cf1e6f336..ff19b29faffa 100644
--- a/dev-lang/python/python-0.3.13.9999.ebuild
+++ b/dev-lang/python/python-0.3.13.9999.ebuild
@@ -234,6 +234,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -259,16 +262,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -276,11 +269,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -294,7 +282,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.14.0_beta4.ebuild 
b/dev-lang/python/python-0.3.14.0_beta4.ebuild
index 78162a71421f..a9a1bc733e36 100644
--- a/dev-lang/python/python-0.3.14.0_beta4.ebuild
+++ b/dev-lang/python/python-0.3.14.0_beta4.ebuild
@@ -243,6 +243,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -268,16 +271,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -285,11 +278,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -303,7 +291,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.14.0_rc1.ebuild 
b/dev-lang/python/python-0.3.14.0_rc1.ebuild
index 44f0be785d91..742a14ccd3b9 100644
--- a/dev-lang/python/python-0.3.14.0_rc1.ebuild
+++ b/dev-lang/python/python-0.3.14.0_rc1.ebuild
@@ -243,6 +243,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -268,16 +271,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -285,11 +278,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -303,7 +291,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.14.0_rc1_p1.ebuild 
b/dev-lang/python/python-0.3.14.0_rc1_p1.ebuild
index 44f0be785d91..742a14ccd3b9 100644
--- a/dev-lang/python/python-0.3.14.0_rc1_p1.ebuild
+++ b/dev-lang/python/python-0.3.14.0_rc1_p1.ebuild
@@ -243,6 +243,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -268,16 +271,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -285,11 +278,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -303,7 +291,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.14.9999.ebuild 
b/dev-lang/python/python-0.3.14.9999.ebuild
index f6e367e7e55e..9d9d70958f7a 100644
--- a/dev-lang/python/python-0.3.14.9999.ebuild
+++ b/dev-lang/python/python-0.3.14.9999.ebuild
@@ -234,6 +234,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -259,16 +262,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -276,11 +269,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -294,7 +282,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-0.3.15.9999.ebuild 
b/dev-lang/python/python-0.3.15.9999.ebuild
index 2218949bb012..246ae13dfe7a 100644
--- a/dev-lang/python/python-0.3.15.9999.ebuild
+++ b/dev-lang/python/python-0.3.15.9999.ebuild
@@ -229,6 +229,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -254,16 +257,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -271,11 +264,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -289,7 +277,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.10.18-r1.ebuild 
b/dev-lang/python/python-3.10.18-r1.ebuild
index a8d31067ba62..43f8ee3db8e8 100644
--- a/dev-lang/python/python-3.10.18-r1.ebuild
+++ b/dev-lang/python/python-3.10.18-r1.ebuild
@@ -233,6 +233,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.10.18_p2.ebuild 
b/dev-lang/python/python-3.10.18_p2.ebuild
index 148da4ffc99c..2ffd36444ec9 100644
--- a/dev-lang/python/python-3.10.18_p2.ebuild
+++ b/dev-lang/python/python-3.10.18_p2.ebuild
@@ -233,6 +233,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.10.9999.ebuild 
b/dev-lang/python/python-3.10.9999.ebuild
index f31bba4946b1..13edc56d65e2 100644
--- a/dev-lang/python/python-3.10.9999.ebuild
+++ b/dev-lang/python/python-3.10.9999.ebuild
@@ -222,6 +222,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.11.13-r1.ebuild 
b/dev-lang/python/python-3.11.13-r1.ebuild
index d3210905f8fb..830041bc3853 100644
--- a/dev-lang/python/python-3.11.13-r1.ebuild
+++ b/dev-lang/python/python-3.11.13-r1.ebuild
@@ -228,6 +228,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -251,11 +254,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -266,7 +264,6 @@ src_configure() {
                powerpc64-*) # big endian
                        COMMON_TEST_SKIPS+=(
                                -x test_descr
-                               -x test_gdb
                        )
                        ;;
                riscv*)
@@ -283,7 +280,6 @@ src_configure() {
 
                                -x test_ctypes
                                -x test_descr
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.11.13_p1.ebuild 
b/dev-lang/python/python-3.11.13_p1.ebuild
index d95f05cc80c7..33eb872c4ef2 100644
--- a/dev-lang/python/python-3.11.13_p1.ebuild
+++ b/dev-lang/python/python-3.11.13_p1.ebuild
@@ -228,6 +228,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -251,11 +254,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -266,7 +264,6 @@ src_configure() {
                powerpc64-*) # big endian
                        COMMON_TEST_SKIPS+=(
                                -x test_descr
-                               -x test_gdb
                        )
                        ;;
                riscv*)
@@ -283,7 +280,6 @@ src_configure() {
 
                                -x test_ctypes
                                -x test_descr
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.11.9999.ebuild 
b/dev-lang/python/python-3.11.9999.ebuild
index 4dbb7a86ebb7..c174b1c2a948 100644
--- a/dev-lang/python/python-3.11.9999.ebuild
+++ b/dev-lang/python/python-3.11.9999.ebuild
@@ -217,6 +217,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -240,11 +243,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes

diff --git a/dev-lang/python/python-3.12.11.ebuild 
b/dev-lang/python/python-3.12.11.ebuild
index 3009b727ea1f..9986c578aa51 100644
--- a/dev-lang/python/python-3.12.11.ebuild
+++ b/dev-lang/python/python-3.12.11.ebuild
@@ -224,6 +224,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -247,11 +250,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -259,11 +257,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -277,7 +270,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.12.11_p1.ebuild 
b/dev-lang/python/python-3.12.11_p1.ebuild
index d584f941c2a8..0627a62b0433 100644
--- a/dev-lang/python/python-3.12.11_p1.ebuild
+++ b/dev-lang/python/python-3.12.11_p1.ebuild
@@ -224,6 +224,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -247,11 +250,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -259,11 +257,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -277,7 +270,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.12.9999.ebuild 
b/dev-lang/python/python-3.12.9999.ebuild
index 8d0e9c041758..5ac7078919b7 100644
--- a/dev-lang/python/python-3.12.9999.ebuild
+++ b/dev-lang/python/python-3.12.9999.ebuild
@@ -213,6 +213,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
        )
@@ -236,11 +239,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -248,11 +246,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -266,7 +259,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.13.5.ebuild 
b/dev-lang/python/python-3.13.5.ebuild
index 2b6d5a87301e..3daede2bcaa7 100644
--- a/dev-lang/python/python-3.13.5.ebuild
+++ b/dev-lang/python/python-3.13.5.ebuild
@@ -258,6 +258,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -283,16 +286,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -300,11 +293,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -318,7 +306,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.13.5_p1.ebuild 
b/dev-lang/python/python-3.13.5_p1.ebuild
index 38480e11b2b3..b6cd0106feae 100644
--- a/dev-lang/python/python-3.13.5_p1.ebuild
+++ b/dev-lang/python/python-3.13.5_p1.ebuild
@@ -258,6 +258,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -283,16 +286,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -300,11 +293,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -318,7 +306,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.13.6.ebuild 
b/dev-lang/python/python-3.13.6.ebuild
index 3b9bd291dff8..13bdac28ade4 100644
--- a/dev-lang/python/python-3.13.6.ebuild
+++ b/dev-lang/python/python-3.13.6.ebuild
@@ -258,6 +258,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -283,16 +286,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -300,11 +293,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -318,7 +306,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.13.9999.ebuild 
b/dev-lang/python/python-3.13.9999.ebuild
index 42c8c7bd2e65..90faf189a2a3 100644
--- a/dev-lang/python/python-3.13.9999.ebuild
+++ b/dev-lang/python/python-3.13.9999.ebuild
@@ -246,6 +246,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -271,16 +274,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -288,11 +281,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -306,7 +294,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.14.0_beta4.ebuild 
b/dev-lang/python/python-3.14.0_beta4.ebuild
index 6e6cff50ec8c..0e12041ad470 100644
--- a/dev-lang/python/python-3.14.0_beta4.ebuild
+++ b/dev-lang/python/python-3.14.0_beta4.ebuild
@@ -260,6 +260,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -285,16 +288,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -302,11 +295,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -320,7 +308,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.14.0_rc1.ebuild 
b/dev-lang/python/python-3.14.0_rc1.ebuild
index eecfa18b3645..fefea2180447 100644
--- a/dev-lang/python/python-3.14.0_rc1.ebuild
+++ b/dev-lang/python/python-3.14.0_rc1.ebuild
@@ -260,6 +260,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -285,16 +288,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -302,11 +295,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -320,7 +308,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.14.0_rc1_p1.ebuild 
b/dev-lang/python/python-3.14.0_rc1_p1.ebuild
index eecfa18b3645..fefea2180447 100644
--- a/dev-lang/python/python-3.14.0_rc1_p1.ebuild
+++ b/dev-lang/python/python-3.14.0_rc1_p1.ebuild
@@ -260,6 +260,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -285,16 +288,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -302,11 +295,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -320,7 +308,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.14.9999.ebuild 
b/dev-lang/python/python-3.14.9999.ebuild
index 6c97f7670559..6b946baf9083 100644
--- a/dev-lang/python/python-3.14.9999.ebuild
+++ b/dev-lang/python/python-3.14.9999.ebuild
@@ -246,6 +246,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -271,16 +274,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -288,11 +281,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -306,7 +294,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.15.9999.ebuild 
b/dev-lang/python/python-3.15.9999.ebuild
index 06fe4696bbd7..f85907c04d29 100644
--- a/dev-lang/python/python-3.15.9999.ebuild
+++ b/dev-lang/python/python-3.15.9999.ebuild
@@ -241,6 +241,9 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
+               -x test_gdb
                # this is actually test_gdb.test_pretty_print
                -x test_pretty_print
                # https://bugs.gentoo.org/933840
@@ -266,16 +269,6 @@ src_configure() {
                                -x test_strtod
                        )
                        ;;
-               arm*|aarch64*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
-               hppa*)
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                mips*)
                        COMMON_TEST_SKIPS+=(
                                -x test_ctypes
@@ -283,11 +276,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_gdb
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2
@@ -301,7 +289,6 @@ src_configure() {
                                -x test_multiprocessing_spawn
 
                                -x test_ctypes
-                               -x test_gdb
                                # bug 931908
                                -x test_exceptions
                        )

diff --git a/dev-lang/python/python-3.8.20_p7-r1.ebuild 
b/dev-lang/python/python-3.8.20_p7-r1.ebuild
index 4555932e5c9c..b74ae04ae88c 100644
--- a/dev-lang/python/python-3.8.20_p7-r1.ebuild
+++ b/dev-lang/python/python-3.8.20_p7-r1.ebuild
@@ -158,6 +158,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.9.23-r1.ebuild 
b/dev-lang/python/python-3.9.23-r1.ebuild
index 4c74c7764850..2d7101334fd1 100644
--- a/dev-lang/python/python-3.9.23-r1.ebuild
+++ b/dev-lang/python/python-3.9.23-r1.ebuild
@@ -167,6 +167,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.9.23_p2.ebuild 
b/dev-lang/python/python-3.9.23_p2.ebuild
index c95e9ccf7b15..d1493c0eaf7f 100644
--- a/dev-lang/python/python-3.9.23_p2.ebuild
+++ b/dev-lang/python/python-3.9.23_p2.ebuild
@@ -167,6 +167,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.9.9999.ebuild 
b/dev-lang/python/python-3.9.9999.ebuild
index 1f0cd19c1e68..39973c9fe4d5 100644
--- a/dev-lang/python/python-3.9.9999.ebuild
+++ b/dev-lang/python/python-3.9.9999.ebuild
@@ -156,6 +156,8 @@ src_configure() {
 
        # Set baseline test skip flags.
        COMMON_TEST_SKIPS=(
+               # running gdb inside an ebuild as non-root, within sandbox,
+               # and possibly within a container is unreliable
                -x test_gdb
        )
 
@@ -185,11 +187,6 @@ src_configure() {
                                -x test_statistics
                        )
                        ;;
-               powerpc64-*) # big endian
-                       COMMON_TEST_SKIPS+=(
-                               -x test_descr
-                       )
-                       ;;
                riscv*)
                        COMMON_TEST_SKIPS+=(
                                -x test_urllib2

Reply via email to