Skip to content

bash: 5.3p0 -> 5.3p3 - #427862

Merged
philiptaron merged 1 commit into
NixOS:stagingfrom
trofi:bash-update
Aug 5, 2025
Merged

philiptaron merged 1 commit into
NixOS:stagingfrom
trofi:bash-update

Conversation

@trofi

@trofi trofi commented Jul 23, 2025 •

Copy link
Copy Markdown
Contributor

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Jul 23, 2025
@ryand56

ryand56 commented Jul 31, 2025

Copy link
Copy Markdown
Member

Looks like the hash has changed as well: #429953

@trofi

trofi commented Aug 1, 2025

Copy link
Copy Markdown
Contributor Author

Great find! Proposed hash update as:

trofi added a commit to trofi/nixpkgs that referenced this pull request Aug 1, 2025
In NixOS#427862 (comment)
we found out that `bash` did a re-release to regenerate `.gmo` files.
Let's update the hash.

Closes: NixOS#429953

@philiptaron philiptaron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do a build then merge. These are all sane and excellent bug fixes, and no more have appeared in the intervening weeks since this PR was opened.

# Automatically generated by `update-patch-set.sh'; do not edit.

patch: [
(patch "001" "0zr8wgg1gb67vxn7ws971n1znrdinczymc688ndnpy2a6qs88q0z")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://ftp.gnu.org/gnu/bash/bash-5.3-patches/bash53-001

In posix mode, `wait -n' with pid arguments does not restrict the set of
processes it considers to those arguments.


patch: [
(patch "001" "0zr8wgg1gb67vxn7ws971n1znrdinczymc688ndnpy2a6qs88q0z")
(patch "002" "009051z55plsy4jmmjdb3ys7li2jraynz99qg7n6a1qk025591g3")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://ftp.gnu.org/gnu/bash/bash-5.3-patches/bash53-002

There are too many differences in the various implementations of shm_open(2) to rely on it for bash's use.

patch: [
(patch "001" "0zr8wgg1gb67vxn7ws971n1znrdinczymc688ndnpy2a6qs88q0z")
(patch "002" "009051z55plsy4jmmjdb3ys7li2jraynz99qg7n6a1qk025591g3")
(patch "003" "1vb0gnrkmz49rcfpxjcxy0v0k5278wrlkljk9gc20nizvk3xjigj")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://ftp.gnu.org/gnu/bash/bash-5.3-patches/bash53-003

Bash leaves internal quoting in place when expanding array subscripts that appear inside array subscripts in an arithmetic context, causing expansion failures.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Aug 5, 2025
@philiptaron

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 427862 --package tests.stdenv --package bash.tests
Commit: d2ee711249fe9745fe8c7a47528b69e269d744e9


x86_64-linux

✅ 86 packages built:
  • bash.tests.static
  • bash.tests.static.debug (bash.tests.static.debug.debug, bash.tests.static.debug.dev, bash.tests.static.debug.doc, bash.tests.static.debug.info, bash.tests.static.debug.man)
  • bash.tests.static.dev (bash.tests.static.dev.debug, bash.tests.static.dev.dev, bash.tests.static.dev.doc, bash.tests.static.dev.info, bash.tests.static.dev.man)
  • bash.tests.static.doc (bash.tests.static.doc.debug, bash.tests.static.doc.dev, bash.tests.static.doc.doc, bash.tests.static.doc.info, bash.tests.static.doc.man)
  • bash.tests.static.info (bash.tests.static.info.debug, bash.tests.static.info.dev, bash.tests.static.info.doc, bash.tests.static.info.info, bash.tests.static.info.man)
  • bash.tests.static.man (bash.tests.static.man.debug, bash.tests.static.man.dev, bash.tests.static.man.doc, bash.tests.static.man.info, bash.tests.static.man.man)
  • tests.stdenv.ensure-no-execve-in-setup-sh
  • tests.stdenv.hooks.compress-man-pages
  • tests.stdenv.hooks.make-symlinks-relative
  • tests.stdenv.hooks.make-symlinks-relative.man (tests.stdenv.hooks.make-symlinks-relative.man.man)
  • tests.stdenv.hooks.move-docs
  • tests.stdenv.hooks.move-lib64
  • tests.stdenv.hooks.move-sbin
  • tests.stdenv.hooks.no-broken-symlinks.fail-broken-symlinks-absolute
  • tests.stdenv.hooks.no-broken-symlinks.fail-broken-symlinks-relative
  • tests.stdenv.hooks.no-broken-symlinks.fail-dangling-symlink-absolute
  • tests.stdenv.hooks.no-broken-symlinks.fail-dangling-symlink-relative
  • tests.stdenv.hooks.no-broken-symlinks.fail-reflexive-symlink-absolute
  • tests.stdenv.hooks.no-broken-symlinks.fail-reflexive-symlink-relative
  • tests.stdenv.hooks.no-broken-symlinks.pass-all-broken-symlinks-absolute-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-all-broken-symlinks-relative-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-broken-symlinks-absolute-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-broken-symlinks-relative-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-dangling-symlink-absolute-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-dangling-symlink-relative-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-reflexive-symlink-absolute-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-reflexive-symlink-relative-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-unreadable-symlink-absolute-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-unreadable-symlink-relative-allowed
  • tests.stdenv.hooks.no-broken-symlinks.pass-valid-symlink-absolute
  • tests.stdenv.hooks.no-broken-symlinks.pass-valid-symlink-outside-nix-store-absolute
  • tests.stdenv.hooks.no-broken-symlinks.pass-valid-symlink-outside-nix-store-relative
  • tests.stdenv.hooks.no-broken-symlinks.pass-valid-symlink-relative
  • tests.stdenv.hooks.patch-shebangs
  • tests.stdenv.hooks.prune-libtool-files
  • tests.stdenv.hooks.reproducible-builds
  • tests.stdenv.hooks.set-source-date-epoch-to-latest
  • tests.stdenv.outputs-no-out
  • tests.stdenv.structuredAttrsByDefault.hooks.compress-man-pages
  • tests.stdenv.structuredAttrsByDefault.hooks.make-symlinks-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.make-symlinks-relative.man (tests.stdenv.structuredAttrsByDefault.hooks.make-symlinks-relative.man.man)
  • tests.stdenv.structuredAttrsByDefault.hooks.move-docs
  • tests.stdenv.structuredAttrsByDefault.hooks.move-lib64
  • tests.stdenv.structuredAttrsByDefault.hooks.move-sbin
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-broken-symlinks-absolute
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-broken-symlinks-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-dangling-symlink-absolute
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-dangling-symlink-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-reflexive-symlink-absolute
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.fail-reflexive-symlink-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-all-broken-symlinks-absolute-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-all-broken-symlinks-relative-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-broken-symlinks-absolute-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-broken-symlinks-relative-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-dangling-symlink-absolute-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-dangling-symlink-relative-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-reflexive-symlink-absolute-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-reflexive-symlink-relative-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-unreadable-symlink-absolute-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-unreadable-symlink-relative-allowed
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-valid-symlink-absolute
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-valid-symlink-outside-nix-store-absolute
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-valid-symlink-outside-nix-store-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.no-broken-symlinks.pass-valid-symlink-relative
  • tests.stdenv.structuredAttrsByDefault.hooks.patch-shebangs
  • tests.stdenv.structuredAttrsByDefault.hooks.prune-libtool-files
  • tests.stdenv.structuredAttrsByDefault.hooks.reproducible-builds
  • tests.stdenv.structuredAttrsByDefault.hooks.set-source-date-epoch-to-latest
  • tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions
  • tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.info (tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.info.info, tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.info.man)
  • tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.man (tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.man.info, tests.stdenv.structuredAttrsByDefault.test-cc-wrapper-substitutions.man.man)
  • tests.stdenv.structuredAttrsByDefault.test-concat-strings-sep
  • tests.stdenv.structuredAttrsByDefault.test-concat-to
  • tests.stdenv.structuredAttrsByDefault.test-golden-example-structuredAttrs
  • tests.stdenv.structuredAttrsByDefault.test-prepend-append-to-var
  • tests.stdenv.structuredAttrsByDefault.test-structured-env-attrset
  • tests.stdenv.test-cc-wrapper-substitutions
  • tests.stdenv.test-cc-wrapper-substitutions.info (tests.stdenv.test-cc-wrapper-substitutions.info.info, tests.stdenv.test-cc-wrapper-substitutions.info.man)
  • tests.stdenv.test-cc-wrapper-substitutions.man (tests.stdenv.test-cc-wrapper-substitutions.man.info, tests.stdenv.test-cc-wrapper-substitutions.man.man)
  • tests.stdenv.test-concat-strings-sep
  • tests.stdenv.test-concat-to
  • tests.stdenv.test-env-attrset
  • tests.stdenv.test-inputDerivation
  • tests.stdenv.test-inputDerivation-fixed-output
  • tests.stdenv.test-prepend-append-to-var
  • tests.stdenv.test-structured-env-attrset

@philiptaron
philiptaron merged commit 5a220bb into NixOS:staging Aug 5, 2025
@trofi
trofi deleted the bash-update branch August 5, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants