commit:     f15daadb9ab70d5eef77284156a6d88011b6da2a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 16 16:57:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 16:58:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f15daadb

app-shells/bash: add 5.4_alpha_pre20251016

As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure. The
differences look harmless but need investigation and fixing.

See https://lists.gnu.org/archive/html/bug-bash/2025-10/msg00054.html.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/bash/Manifest                                         | 1 +
 .../bash/{bash-9999.ebuild => bash-5.4_alpha_pre20251016.ebuild} | 9 +++++++--
 app-shells/bash/bash-9999.ebuild                                 | 7 ++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest
index 8f67258bcc29..24e4c7dce707 100644
--- a/app-shells/bash/Manifest
+++ b/app-shells/bash/Manifest
@@ -28,6 +28,7 @@ DIST 
bash-5.4_alpha_pre20250918-cf8a2518c8b94f75b330d398f5daa0ee21417e1b.tar.gz
 DIST 
bash-5.4_alpha_pre20251001-4f536430e45d847d6945133690312a8e94762254.tar.gz 
16561642 BLAKE2B 
8d33d6916e9590d1ce842621318de7c11c6b5994312c07aabff289714723bce4a58f395f38e76ebad83eb65693fcd90c9cc844e79e3c6762ce582ab60a6c2d30
 SHA512 
b83d6ef0972dbab6ad050a5c6a5d2a349640c706efdedd1ed37068f04d7289a93c225bb45cc96fb8f164239cd3786621a7089dc887dba1abd6314ab4679cab26
 DIST 
bash-5.4_alpha_pre20251007-25c6aa5b230167c6471898539c46dd2891d891a5.tar.gz 
16566456 BLAKE2B 
3623eaf45fa81666f2e5c7e8d38f89a24f95f1e697c8e8c7f728ef7a867563bc2880b10efcb8365bcc3e1352eaec153bffa79e49a79d8a09780d6079434c0ae7
 SHA512 
1d98f20baa6af53f08a15606f398d4546b8e16946f0621d8d96fb964adea2f8ace7b474d83e6997ce6473b807d6d30a47dd3492cd3bef7f6be8ba669784e4b67
 DIST 
bash-5.4_alpha_pre20251014-6a48b39bba066d6ce1e14dc86a864119aa1923d0.tar.gz 
16568971 BLAKE2B 
e4f25d2fd567f5a3f4a400798e37c0894c24210e9605f1d2e346ec482b2f1c9e3686824bc011b3dbf137be89f28f44ae7819eaa9443525477d9b342efe41279a
 SHA512 
2181a827f9aa8e18d9b63cab26527d18f34130e316c4d2d65dcad5ace908ae3dfecab16d55c20a752fef7475a9bf5417d29c88e615722015605dfcc45bdde2a3
+DIST 
bash-5.4_alpha_pre20251016-2a645237d3a0de3c758cd0df322973ce9446b94f.tar.gz 
16551416 BLAKE2B 
62c13da9e1f84e31971a0785a1b7a51b928f5808f4ba05561f934f79d8bffd0def75ce51ac5b71c5708f08f7f78ec138e36f7b5fee679c975d7389056ac3d24b
 SHA512 
2693951815d64b677ad0eecfdab66eaa65746a7c37f18e08806275ff383d49181a95be5b20b94cf26dc765e93aa84b3933a862030b5c88eb27b723e9f168460e
 DIST bash205b-001 1132 BLAKE2B 
0c5eef29777d54ef05957ea3d63b1556fb380bd20c238dc28993d822b37bc4e78ff4048ad069f6b8cd25da77ccdeb7aecd86c4349cb9d81e5e94c7001eeae5e6
 SHA512 
5ce4357468821b05e747201f3aa57225ad8f540c9e2c87051720490e039c30b478b9b662a68f14a0800fefe40184e4495e2645665200f9d75e9a115b2ac08071
 DIST bash205b-002 755 BLAKE2B 
6a6ed5679d451f02f8104b345c1722d11718ce3b4043b581c17786d40d8da69a34786fb56d0c363dba277b8e9dd33f12f70c9cc73a9fc39ba4a8319406f0458d
 SHA512 
46947b0229478d5c2cfeff68b8ebc00e4ef0c8b94e336ca12f72b4490ba3622c0240c01c17c1641c3b07adc2c64ec94d6d780365e8990768ec8888f3a9526883
 DIST bash205b-003 2356 BLAKE2B 
b7887d00d92fd298cd07a15e1c73b516dabd22ecd74c97091636dd97a0cd55024ed698e5cc924c4311d994dd326b1ad074bea35e7650cf9cf4e25c60d2713fa7
 SHA512 
74528ca5d165b812d299f1c69b47757bd677c0b22ce4217e155cd641708b02364a93c6709fb57b546b376b36da74429a61493921c7c199563da40ddcf1c1f399

diff --git a/app-shells/bash/bash-9999.ebuild 
b/app-shells/bash/bash-5.4_alpha_pre20251016.ebuild
similarity index 97%
copy from app-shells/bash/bash-9999.ebuild
copy to app-shells/bash/bash-5.4_alpha_pre20251016.ebuild
index 7f5ca499dd43..209ad9734578 100644
--- a/app-shells/bash/bash-9999.ebuild
+++ b/app-shells/bash/bash-5.4_alpha_pre20251016.ebuild
@@ -21,7 +21,7 @@ case ${PV} in
                # Set a negative patchlevel to indicate that it's a pre-release.
                PLEVEL=-1
                if [[ ${PV} =~ _pre[0-9]{8}$ ]]; then
-                       BASH_COMMIT=
+                       BASH_COMMIT="2a645237d3a0de3c758cd0df322973ce9446b94f"
                fi
                ;;
        *_p*)
@@ -78,6 +78,9 @@ if (( PLEVEL >= 0 )); then
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
 fi
 IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline"
+# As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure.
+# The differences look harmless but need investigation and fixing.
+RESTRICT="test"
 
 DEPEND="
        >=sys-libs/ncurses-5.2-r2:=
@@ -272,7 +275,9 @@ src_compile() {
                # Used in test suite.
                unset -v A
 
-               emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check
+               # Testsuite isn't expected to pass for bash right now, but it
+               # also doesn't matter for PGO.
+               nonfatal emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k 
check
 
                if tc-is-clang; then
                        llvm-profdata merge "${T}"/pgo 
--output="${T}"/pgo/default.profdata || die

diff --git a/app-shells/bash/bash-9999.ebuild b/app-shells/bash/bash-9999.ebuild
index 7f5ca499dd43..4f70ef30921d 100644
--- a/app-shells/bash/bash-9999.ebuild
+++ b/app-shells/bash/bash-9999.ebuild
@@ -78,6 +78,9 @@ if (( PLEVEL >= 0 )); then
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
 fi
 IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline"
+# As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure.
+# The differences look harmless but need investigation and fixing.
+RESTRICT="test"
 
 DEPEND="
        >=sys-libs/ncurses-5.2-r2:=
@@ -272,7 +275,9 @@ src_compile() {
                # Used in test suite.
                unset -v A
 
-               emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check
+               # Testsuite isn't expected to pass for bash right now, but it
+               # also doesn't matter for PGO.
+               nonfatal emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k 
check
 
                if tc-is-clang; then
                        llvm-profdata merge "${T}"/pgo 
--output="${T}"/pgo/default.profdata || die

Reply via email to