commit:     4bae7f81341ff6297b27e5cecf83aff2aa25ce85
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  5 16:57:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  5 16:57:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bae7f81

profiles/arch/hppa: mask dev-lang/python:3.14 and friends

I've copied what we do for m68k. Note I've preemptively done the default
reversal too just to avoid us forgetting about that but hopefully it will
be long fixed by that point.

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

 profiles/arch/hppa/make.defaults | 7 +++++++
 profiles/arch/hppa/package.mask  | 5 +++++
 profiles/arch/hppa/use.mask      | 5 +++++
 3 files changed, 17 insertions(+)

diff --git a/profiles/arch/hppa/make.defaults b/profiles/arch/hppa/make.defaults
index 71d1e3f06882..134523f955fc 100644
--- a/profiles/arch/hppa/make.defaults
+++ b/profiles/arch/hppa/make.defaults
@@ -22,3 +22,10 @@ CHOST_hppa="${CHOST}"
 # Donnie Berkholz <[email protected]> (2006-08-18)
 # Defaults for video drivers
 VIDEO_CARDS="fbdev"
+
+# Sam James <[email protected]> (2025-11-05)
+# Since Python 3.14 is masked on HPPA, we need to re-enable Python 3.13
+# and explicitly disable 3.14. See bug #959416.
+PYTHON_SINGLE_TARGET="python3_13 -python3_14 -python3_14t"
+PYTHON_TARGETS="python3_13 -python3_14 -python3_14t"
+BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_13 
python_single_target_python3_13"

diff --git a/profiles/arch/hppa/package.mask b/profiles/arch/hppa/package.mask
index ecccad2bec87..e19cc31755e6 100644
--- a/profiles/arch/hppa/package.mask
+++ b/profiles/arch/hppa/package.mask
@@ -1,6 +1,11 @@
 # Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-11-05)
+# Fails to build on HPPA (stack size calculation goes wrong), bug #959416.
+dev-lang/python:3.14
+dev-lang/python:3.14t
+
 # Sam James <[email protected]> (2025-03-24)
 # Affected by a data corruption bug on HPPA
 # 
https://lore.kernel.org/linux-parisc/[email protected]/

diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask
index 4fbc0d43c37e..6984c22fc919 100644
--- a/profiles/arch/hppa/use.mask
+++ b/profiles/arch/hppa/use.mask
@@ -7,6 +7,11 @@
 # NOTE: When masking a USE flag due to missing keywords, please file a keyword
 # request bug for the hppa arch.
 
+# Sam James <[email protected]> (2025-11-05)
+# Fails to build on HPPA (stack size calculation goes wrong), bug #959416.
+python_targets_python3_14
+python_targets_python3_14t
+
 # Andreas Sturmlechner <[email protected]> (2025-06-12)
 # x11-drivers/xf86-input-wacom is not keyworded here
 input_devices_wacom

Reply via email to