-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regressions due to patchelf: 0.9 -> 0.10 #69213
Comments
The problem is avoided now on master after f8a8fc6, but we still need to fix it, so I'm leaving this open. |
I can confirm that the patchelf upgrade #58715 caused this and also some other issues: 41af38f#commitcomment-35178328 though I still fail to understand why/how. |
For now I downgraded the default patchelf in 4e5b465, so that we can immediately start integrating the rest of staging-next (security fixes, in particular). |
@vcunat thanks for handling the mess. What's the procedure to validate a bump for |
I'm not aware of any such formalities. First we should verify at least some of those known regressions (say, test |
Just found this issue. I'm unable to install |
Hmm, I'm getting a different error git checkout 3f92c2124a5 # current 19.03
env NIXPKGS_ALLOW_UNFREE=1 nix build -f . pkgsi686Linux.vscode
./result/bin/code
# /nix/store/gkbm49f5a096knqphy1iwim024hzvxrx-vscode-1.35.1/lib/vscode/code: error while loading shared libraries: libnode.so: cannot open shared object file: No such file or directory 19.03 always used patchelf 0.9 by default, so I can't see why it would be affected by the very same issue. Note: on 19.09 and later i686 isn't supported anymore due to upstream: #64308 (comment) ... and 19.03 isn't really a supported nixpkgs branch anymore. |
I'd really prefer if Are we able to reproduce the udev error with a NixOS VM test, or is it a Xen-specific thing? |
Urgh, turns out, patchelf is part of stdenv, so |
@vcunat I've merged a bunch of patchelf patches including the possible fix, could you setup staging using |
I had to hack around some issues in 15bfb6b; we'll probably want a patchelf release/tarball before merging this to nixpkgs master. Jobset is running now: https://hydra.nixos.org/eval/1591215?compare=1591203 |
@vcunat nice, let's hope this works out! IMHO, while we do that, we should also rename |
Sure, I didn't want to hassle with such details at this moment. |
sure :-) |
@vcunat I've tried vscode but I get:
|
That's an error for almost anything in nixpkgs, and the commit mentioned above fixes it for me. Still, I was unable to use vscode for testing this, because in the past only i686 version appeared to be broken and that platform isn't supported by current vscode. (With some more work, I can imagine applying the patchelf update to the old nixpkgs and trying that.) EDIT: so I skipped that, thinking that we need to check whole nixpkgs anyway. |
I can launch vscode-with-extensions with your additional commit without problems. |
@vcunat It's looking pretty good (6k builds to go). The only weird failure so far is:
|
Jobset has only 30 failing builds and they all don't seem related. Seems like we can release 0.11? |
To me it looks like @edolstra can release patchelf 0.11, but I'd invite anyone to test extra things that were broken by 0.10 |
0.11 was released and a PR for staging is at #89927 |
Since #89927 was merged, should this be closed? |
Describe the bug
During stage1:
Starting udev
[ 0.589855] systemd-udevd[114]: Assertion 'resolve_name_timing >= 0 && resolve_name_timing < _RESOLVE_NAME_TIMING_MAX' failed at src/udev/udev-rules.c:1282, function udev_rules_new(). Aborting.
After this, the system is unable to mount any disks.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
System boots.
Additional context
This is on a xen VM with the root pivoted. Config: https://gist.github.com/yorickvP/837cc52589b609803b0d28b3c3369e84
cc: @abbradar
The text was updated successfully, but these errors were encountered: