From dc024bb16b1fa14bd114ea2e5ca87d84da5b2dfa Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 7 Dec 2025 09:06:12 +0000 Subject: [PATCH] dev-lang/python: update tail-call-interp requirements Upstream retroactively changed the requirements to also need __attribute__((preserve_none)) rather than just musttail, so it needs unreleased GCC 16, or Clang 19. Mask given we test it mostly with GCC, but people can unmask it locally if they want to use Clang. Closes: https://bugs.gentoo.org/967142 Signed-off-by: Sam James --- dev-lang/python/python-0.3.14.2.ebuild | 4 ++-- dev-lang/python/python-0.3.14.9999.ebuild | 4 ++-- dev-lang/python/python-0.3.15.0_alpha1.ebuild | 4 ++-- dev-lang/python/python-0.3.15.0_alpha2.ebuild | 4 ++-- dev-lang/python/python-0.3.15.9999.ebuild | 4 ++-- dev-lang/python/python-3.14.2.ebuild | 4 ++-- dev-lang/python/python-3.14.9999.ebuild | 4 ++-- dev-lang/python/python-3.15.0_alpha1.ebuild | 4 ++-- dev-lang/python/python-3.15.0_alpha2.ebuild | 4 ++-- dev-lang/python/python-3.15.9999.ebuild | 4 ++-- profiles/base/package.use.mask | 4 ++++ profiles/base/package.use.stable.mask | 4 ---- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dev-lang/python/python-0.3.14.2.ebuild b/dev-lang/python/python-0.3.14.2.ebuild index 231a1c6034f10..49f80accee9fb 100644 --- a/dev-lang/python/python-0.3.14.2.ebuild +++ b/dev-lang/python/python-0.3.14.2.ebuild @@ -88,7 +88,7 @@ BDEPEND=" virtual/pkgconfig tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -136,7 +136,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-0.3.14.9999.ebuild b/dev-lang/python/python-0.3.14.9999.ebuild index bf971437aa26c..1a0b596f6890e 100644 --- a/dev-lang/python/python-0.3.14.9999.ebuild +++ b/dev-lang/python/python-0.3.14.9999.ebuild @@ -79,7 +79,7 @@ BDEPEND=" virtual/pkgconfig tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -129,7 +129,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-0.3.15.0_alpha1.ebuild b/dev-lang/python/python-0.3.15.0_alpha1.ebuild index 8774bf6a9d41c..d4df9a53af787 100644 --- a/dev-lang/python/python-0.3.15.0_alpha1.ebuild +++ b/dev-lang/python/python-0.3.15.0_alpha1.ebuild @@ -87,7 +87,7 @@ BDEPEND=" virtual/pkgconfig tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -136,7 +136,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-0.3.15.0_alpha2.ebuild b/dev-lang/python/python-0.3.15.0_alpha2.ebuild index 8774bf6a9d41c..d4df9a53af787 100644 --- a/dev-lang/python/python-0.3.15.0_alpha2.ebuild +++ b/dev-lang/python/python-0.3.15.0_alpha2.ebuild @@ -87,7 +87,7 @@ BDEPEND=" virtual/pkgconfig tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -136,7 +136,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-0.3.15.9999.ebuild b/dev-lang/python/python-0.3.15.9999.ebuild index f80ecebdeab95..d5b6351154991 100644 --- a/dev-lang/python/python-0.3.15.9999.ebuild +++ b/dev-lang/python/python-0.3.15.9999.ebuild @@ -79,7 +79,7 @@ BDEPEND=" virtual/pkgconfig tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -124,7 +124,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-3.14.2.ebuild b/dev-lang/python/python-3.14.2.ebuild index 23b3651044780..a22feaa75812e 100644 --- a/dev-lang/python/python-3.14.2.ebuild +++ b/dev-lang/python/python-3.14.2.ebuild @@ -96,7 +96,7 @@ BDEPEND=" ) tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -153,7 +153,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-3.14.9999.ebuild b/dev-lang/python/python-3.14.9999.ebuild index 11bbf0f3dded6..43c772c7b08a9 100644 --- a/dev-lang/python/python-3.14.9999.ebuild +++ b/dev-lang/python/python-3.14.9999.ebuild @@ -88,7 +88,7 @@ BDEPEND=" ) tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -141,7 +141,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-3.15.0_alpha1.ebuild b/dev-lang/python/python-3.15.0_alpha1.ebuild index 21cd4d1869fe5..aa17c91c384b7 100644 --- a/dev-lang/python/python-3.15.0_alpha1.ebuild +++ b/dev-lang/python/python-3.15.0_alpha1.ebuild @@ -95,7 +95,7 @@ BDEPEND=" ) tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -147,7 +147,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-3.15.0_alpha2.ebuild b/dev-lang/python/python-3.15.0_alpha2.ebuild index 21cd4d1869fe5..aa17c91c384b7 100644 --- a/dev-lang/python/python-3.15.0_alpha2.ebuild +++ b/dev-lang/python/python-3.15.0_alpha2.ebuild @@ -95,7 +95,7 @@ BDEPEND=" ) tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -147,7 +147,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/dev-lang/python/python-3.15.9999.ebuild b/dev-lang/python/python-3.15.9999.ebuild index 35e0d5a5708ae..f324d6a8d6168 100644 --- a/dev-lang/python/python-3.15.9999.ebuild +++ b/dev-lang/python/python-3.15.9999.ebuild @@ -88,7 +88,7 @@ BDEPEND=" ) tail-call-interp? ( || ( - >=sys-devel/gcc-15:* + >=sys-devel/gcc-16:* >=llvm-core/clang-19:* ) ) @@ -136,7 +136,7 @@ pkg_setup() { linux-info_pkg_setup fi if use tail-call-interp; then - tc-check-min_ver gcc 15 + tc-check-min_ver gcc 16 tc-check-min_ver clang 19 fi fi diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 862183e9c2a19..8c949b2fbab3b 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -6,6 +6,10 @@ # New entries go on top. +# Sam James (2025-12-07) +# Needs not-yet-released GCC 16. +dev-lang/python tail-call-interp + # Sam James (2025-10-29) # Help Portage resolve app-crypt/gnupg[verify-sig] with the app-alternatives/gpg # transition. The any-of dep in verify-sig.eclass helps a bit, but it struggles diff --git a/profiles/base/package.use.stable.mask b/profiles/base/package.use.stable.mask index f8226dfaea202..1c2725376ca5e 100644 --- a/profiles/base/package.use.stable.mask +++ b/profiles/base/package.use.stable.mask @@ -8,10 +8,6 @@ # Need non-yet-stable caffe2 sci-chemistry/gromacs nnpot -# Sam James (2025-10-10) -# Needs not-yet-stable GCC 15. -dev-lang/python tail-call-interp - # Andreas Sturmlechner (2025-05-06) # USE=experimental is not stable by definition media-libs/zxing-cpp experimental