Skip to content

patchelf: 0.15.2 -> 0.19.2 - #569010

Merged
mdaniels5757 merged 1 commit into
NixOS:stagingfrom
domenkozar:patchelf-0.19.1
Oct 7, 2026
Merged

mdaniels5757 merged 1 commit into
NixOS:stagingfrom
domenkozar:patchelf-0.19.1

Conversation

@domenkozar

@domenkozar domenkozar commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Update patchelf from 0.15.2 to 0.19.2. This release fixes executable corruption when patching after stripping, including the GHC bootstrap regression, and avoids unnecessary page allocation when growing sections.

Changelog. Related: #566481.

Built on x86_64-linux with staging's existing toolchain using a temporary overlay: 67 upstream tests passed, 4 skipped, including a pass for strip-gap-rewrite.sh. Version and formatting checks passed. Full bootstrap and downstream rebuilds remain untested.

The source hash was verified against the official source tarball artifact from the publish workflow; the release download is still pending publication.

Assisted by Codex (GPT-6) for the package update, validation, and PR description.

Things done

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. llm-assisted Contributions that include code generation with LLMs labels Oct 1, 2026
https://github.com/NixOS/patchelf/blob/0.19.2/ChangeLog.md

Includes the fix for executable corruption when patching after stripping.

Assisted-by: Codex (GPT-6)
@domenkozar domenkozar changed the title patchelf: 0.15.2 -> 0.19.1 patchelf: 0.15.2 -> 0.19.2 Oct 1, 2026
@domenkozar
domenkozar marked this pull request as ready for review October 1, 2026 13:00
@nixpkgs-ci nixpkgs-ci Bot added 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! labels Oct 1, 2026
@domenkozar domenkozar mentioned this pull request Oct 4, 2026
1 of 13 tasks
@mdaniels5757

Copy link
Copy Markdown
Member

npb · 97fb575 → dcd39b0

Expand this for a reproducible command.
npb --base 97fb57559c8b3c326f6d514fec112e6e7f9abd82 --head dcd39b08ff0d6319b0cdc69dbab3df2d32213cc0 -p stdenv -p pkgsMusl.stdenv -s x86_64-linux -s aarch64-linux
Expand this for a legend of all symbols below.
  • ✅ = successfully built
  • ❌ = failed to build
  • 🚫 = dependency failed to build
  • ❔ = couldn't try to build
  • ⏩ = failed to evaluate
  • ➖ = doesn't exist

x86_64-linux

✅ → ✅ · 6 packages
  • pkgsMusl.stdenv.tests.inputDerivationRequiredSystemFeatures
  • pkgsMusl.stdenv.tests.succeedOnFailure
  • pkgsMusl.stdenv
  • stdenv.tests.inputDerivationRequiredSystemFeatures
  • stdenv.tests.succeedOnFailure
  • stdenv

aarch64-linux

✅ → ✅ · 6 packages
  • pkgsMusl.stdenv.tests.inputDerivationRequiredSystemFeatures
  • pkgsMusl.stdenv.tests.succeedOnFailure
  • pkgsMusl.stdenv
  • stdenv.tests.inputDerivationRequiredSystemFeatures
  • stdenv.tests.succeedOnFailure
  • stdenv

@mdaniels5757

Copy link
Copy Markdown
Member

npb · 97fb575 → dcd39b0

Expand this for a reproducible command.
npb --base 97fb57559c8b3c326f6d514fec112e6e7f9abd82 --head dcd39b08ff0d6319b0cdc69dbab3df2d32213cc0 -p stdenv -s aarch64-darwin
Expand this for a legend of all symbols below.
  • ✅ = successfully built
  • ❌ = failed to build
  • 🚫 = dependency failed to build
  • ❔ = couldn't try to build
  • ⏩ = failed to evaluate
  • ➖ = doesn't exist

aarch64-darwin

✅ → ✅ · 3 packages
  • stdenv.tests.inputDerivationRequiredSystemFeatures
  • stdenv.tests.succeedOnFailure
  • stdenv

@mdaniels5757
mdaniels5757 added this pull request to the merge queue Oct 7, 2026
Merged via the queue into NixOS:staging with commit 82e01ef Oct 7, 2026
33 checks passed
insipx pushed a commit to insipx/nixpkgs that referenced this pull request Oct 8, 2026
@vcunat

vcunat commented Oct 14, 2026

Copy link
Copy Markdown
Member

@domenkozar

Copy link
Copy Markdown
Member Author

samestep added a commit to samestep/phd-thesis that referenced this pull request Oct 31, 2026
patchelf 0.15.2 -> 0.19.2 (NixOS/nixpkgs#569010) corrupts the memory
mappings of non-PIE executables whose interpreter and RPATH it rewrites,
so the prebuilt GHC binaries for Granule and Unison segfault at startup
on x86_64-linux. The bump has been reverted in staging-next
(NixOS/nixpkgs#580394); until that reaches nixpkgs-unstable, stay on
f20cd90, its last revision without the bump.

Swift is now skipped wherever nixpkgs marks its compiler broken, as it
does on aarch64-linux from NixOS/nixpkgs#574172 until Swift 6.4.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QcY9vnPUhzPb33CqT7i8aP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 8.has: package (update) This PR updates a package to a newer version 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 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. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants