From 4bae7f81341ff6297b27e5cecf83aff2aa25ce85 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 5 Nov 2025 16:57:36 +0000 Subject: [PATCH] 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 --- 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 71d1e3f06882b..134523f955fc9 100644 --- a/profiles/arch/hppa/make.defaults +++ b/profiles/arch/hppa/make.defaults @@ -22,3 +22,10 @@ CHOST_hppa="${CHOST}" # Donnie Berkholz (2006-08-18) # Defaults for video drivers VIDEO_CARDS="fbdev" + +# Sam James (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 ecccad2bec879..e19cc31755e64 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 (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 (2025-03-24) # Affected by a data corruption bug on HPPA # https://lore.kernel.org/linux-parisc/84d7b3e1053b2a8397bcc7fc8eee8106@matoro.tk/ diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask index 4fbc0d43c37e0..6984c22fc9190 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 (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 (2025-06-12) # x11-drivers/xf86-input-wacom is not keyworded here input_devices_wacom