Skip to content
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

libgudev: 237 → 238 #241939

Merged
merged 3 commits into from
Jul 11, 2023
Merged

libgudev: 237 → 238 #241939

merged 3 commits into from
Jul 11, 2023

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Jul 6, 2023

Description of changes

cc @flokli for umockdev changes

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@@ -81,12 +84,25 @@ stdenv.mkDerivation rec {
ln -s "$PWD/libumockdev-preload.so.0" "$out/lib/libumockdev-preload.so.0"
'';

passthru = {
# libgudev is needed for an optional test but it itself relies on umockdev for testing.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hooh, interesting bootstrapping problem :-D But LGTM 👍

@flokli
Copy link
Contributor

flokli commented Jul 6, 2023

Didn't check if it builds.

@Alanazane
Copy link

After Arch updated to 238 Steam is failing to launch for some users, this was found to not be a libgudev issue but a Steam one. Figured it might be worth noting here just in case Steam doesn't fix the issue before this is set to land.
However I was unable to reproduce the bug after rebuilding with this branch, so it may not effect users NixOS regardless :)

Steam issue for the bug here: ValveSoftware/steam-for-linux#9805

@jtojnar
Copy link
Contributor Author

jtojnar commented Jul 8, 2023

Reading the upstream issue, it is a clash between system and steam-runtime libgudev. Our steam-run does not appear to contain libgudev so I guess we are fine.

@jtojnar jtojnar merged commit 39e6cff into NixOS:staging Jul 11, 2023
26 checks passed
@jtojnar jtojnar deleted the libgudev branch July 11, 2023 13:29
@trofi
Copy link
Contributor

trofi commented Jul 13, 2023

Bisect says commit eafa5c9 libgudev: 237 → 238 broke upower test:

$ nix build --no-link -f. -L upower
...
upower> Summary of Failures:
upower> 29/58 Tests.test_hidpp_touchpad                                  FAIL            0.49s   exit status 1
upower> 32/58 Tests.test_hidpp_touchpad_race                             FAIL            0.74s   exit status 1

@jtojnar
Copy link
Contributor Author

jtojnar commented Jul 13, 2023

Ugh, we noticed there were some flaky tests in #241586 (comment) but did not bump it because it required libgudev 238. I guess it is safe to bump now, opened #243217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants