diff options
author | Sam James <sam@gentoo.org> | 2023-06-23 05:28:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-23 05:33:00 +0100 |
commit | cb8b981252e741096e9bf492471ba6fc6430b852 (patch) | |
tree | 84dbf94a02339f987ebf8bf60c2cd4604bc59b44 /profiles | |
parent | dev-ruby/tty-file: update EAPI 7 -> 8 (diff) | |
download | gentoo-cb8b981252e741096e9bf492471ba6fc6430b852.tar.gz gentoo-cb8b981252e741096e9bf492471ba6fc6430b852.tar.bz2 gentoo-cb8b981252e741096e9bf492471ba6fc6430b852.zip |
app-shells/bash: require Bison as yacc implementation
Upstream only test with Bison and require GNUisms like YYEOF and
YYERRCODE. The former at least may be in POSIX soon:
https://www.austingroupbugs.net/view.php?id=1269.
configure warns on use of non-Bison but doesn't abort. The result
may misbehave at runtime.
Noticed with recently added bash-5.2_p15-shell-parser-reset-issue.patch
(which is blameless in itself).
A simple test with a broken Bash is:
```
$ /var/tmp/portage/app-shells/bash-5.2_p15-r4/image/bin/bash -n /lib/gentoo/functions.sh
/lib/gentoo/functions.sh: line 104: syntax error near unexpected token `}'
/lib/gentoo/functions.sh: line 104: `}'
```
Reference: 3ee2d707a299f352b6970af459b0c25c356cbb25
Reference: dde3a81f420e745fe884b6535796129192f02561
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/package.mask | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/package.mask b/profiles/package.mask index ff0c1b9d6769..6f40aef60e9a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -34,7 +34,7 @@ #--- END OF EXAMPLES --- # Sam James <sam@gentoo.org> (2023-06-23) -# Causes bash to segfault in some cases. +# Segfaults with non-bison yacc. =app-shells/bash-5.2_p15-r4 # Matt Turner <mattst88@gentoo.org> (2023-06-22) |