You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking: patchelf failures caused by 0.19.2 #577387
changed the title [-]Tracking: revert patchelf hacks that work around problems in 0.19.2[/-][+]Tracking: patchelf failures caused by 0.19.2[/+]on Oct 22, 2026
I'm not sure if its helpful to mention or just noise but I found (some) executables from the gcc-arm-embedded package stopped working because of this exact issue.
With nixpkgs 31f3e225826b, patchelf 0.19.2 corrupted the official prebuilt Node 24.22.1 binary during autoPatchelfHook processing. Applying the source changes from upstream commit 59acc3d98b4961cfddf02090d9426ac735603218 fixed it on both x86_64-linux and aarch64-linux. The Node archives and checksums were unchanged.
#579143 reports similar symptoms with Cursor’s bundled Node.
#579810 (for packages attempting to connect via JACK) might also be caused by this, reverting the affected packages to unstable prior to the patchelf upgrade fixes the affected packages.
Not skilled enough myself though to prove prove if the issue is due to patchelf or if it's a problem in JACK/ALSA/Pipewire so putting that disclaimer ahead.
#579810 (for packages attempting to connect via JACK) might also be caused by this, reverting the affected packages to unstable prior to the patchelf upgrade fixes the affected packages.
Not skilled enough myself though to prove prove if the issue is due to patchelf or if it's a problem in JACK/ALSA/Pipewire so putting that disclaimer ahead.
Was able to prove that the issue is patchelf-related by reverting only patchelf to 15.2 on the affected apps.
when will patchelf finally be fixed in upstream and updated in nixpkgs? seems like a very-very slow reaction time for a dependency that's like at the core of nixpkgs and affects many-many packages.
especially considering new release is kinda close already
when will patchelf finally be fixed in upstream and updated in nixpkgs? seems like a very-very slow reaction time for a dependency that's like at the core of nixpkgs and affects many-many packages.
In the meantime I reverted patchelf back to 0.15.2 in the current staging-next cycle (as cross-linked above by GitHub). Stable 26.11 is to be released in 2-3 weeks for now, which is pretty close for such a core package like patchelf is here. Let's update the default to 0.19.3 right after the branch-off (in a couple weeks).
In the meantime I reverted patchelf back to 0.15.2 in the current staging-next cycle (as cross-linked above by GitHub). Stable 26.11 is to be released in 2-3 weeks for now, which is pretty close for such a core package like patchelf is here. Let's update the default to 0.19.3 right after the branch-off (in a couple weeks).
Should we start creating PRs targeting staging-next to revert the commits above?
In the meantime I reverted patchelf back to 0.15.2 in the current staging-next cycle (as cross-linked above by GitHub). Stable 26.11 is to be released in 2-3 weeks for now, which is pretty close for such a core package like patchelf is here. Let's update the default to 0.19.3 right after the branch-off (in a couple weeks).
Activity
[-]Tracking: revert patchelf hacks that work around problems in 0.19.2[/-][+]Tracking: patchelf failures caused by 0.19.2[/+]Tygo-van-den-Hurk commentedon Oct 23, 2026
I'm not sure if its helpful to mention or just noise but I found (some) executables from the
gcc-arm-embeddedpackage stopped working because of this exact issue.full list of them
limwa commentedon Oct 26, 2026
#577949 should be reverted as well
TyceHerrman commentedon Oct 27, 2026
NixOS/patchelf#672 is merged
also, another Node reproduction to add:
With nixpkgs
31f3e225826b, patchelf 0.19.2 corrupted the official prebuilt Node 24.22.1 binary duringautoPatchelfHookprocessing. Applying the source changes from upstream commit59acc3d98b4961cfddf02090d9426ac735603218fixed it on bothx86_64-linuxandaarch64-linux. The Node archives and checksums were unchanged.#579143 reports similar symptoms with Cursor’s bundled Node.
MaxWipfli commentedon Oct 27, 2026
#576779 is also (partially) caused by this, and the accompanying PR #578975 will contain a fix that can be reverted for the new
patchelfversion.corngood commentedon Oct 27, 2026
If the PR had a separate commit with the revert-able part that we could link here, that would be cool.
silikeite commentedon Oct 28, 2026
#579810 (for packages attempting to connect via JACK) might also be caused by this, reverting the affected packages to unstable prior to the patchelf upgrade fixes the affected packages.
Not skilled enough myself though to prove prove if the issue is due to patchelf or if it's a problem in JACK/ALSA/Pipewire so putting that disclaimer ahead.
reaper: hotfix downgrade patchelf -> 0.15.2
silikeite commentedon Oct 29, 2026
Was able to prove that the issue is patchelf-related by reverting only patchelf to 15.2 on the affected apps.
Revert "patchelf: 0.15.2 -> 0.19.2"
DADA30000 commentedon Oct 30, 2026
when will patchelf finally be fixed in upstream and updated in nixpkgs? seems like a very-very slow reaction time for a dependency that's like at the core of nixpkgs and affects many-many packages.
especially considering new release is kinda close already
corngood commentedon Oct 30, 2026
There's some discussion of the patchelf release here: NixOS/patchelf#672 (comment)
I'm sure it'll quickly go into staging after that. The fact that it's at the core of nixpkgs is why it need to go through staging.
domenkozar commentedon Oct 31, 2026
I've released 0.19.3 that addresses most of these issues:
/var/log/nvtopps; controls fail identicallyreadelfafter every operation--helppasses after all eight RPATH lengths, 50–6400 bytes; 0.19.2 crashed in sevendata offset extends past file end; retain package workaround to skip/remove this objectvcunat commentedon Oct 31, 2026
It's a complicated situation.
In the meantime I reverted patchelf back to 0.15.2 in the current staging-next cycle (as cross-linked above by GitHub). Stable 26.11 is to be released in 2-3 weeks for now, which is pretty close for such a core package like patchelf is here. Let's update the default to 0.19.3 right after the branch-off (in a couple weeks).
limwa commentedon Oct 31, 2026
Should we start creating PRs targeting staging-next to revert the commits above?
vcunat commentedon Oct 31, 2026
I had thought about it but I'd wait a bit until we have binaries. And then it should be fairly easy.
domenkozar commentedon Oct 31, 2026
Sounds good to me!
laptop: NixOS/patchelf#672 &