-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
tracker: patch failing test due to float comparison #141796
Conversation
82d5e59
to
2775396
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also please try to upstream the patch?
Yes, do you want to be added as a |
No need for something so trivial, I doubt it would even be copyrightable. |
622fe0a
to
f9c9ec1
Compare
Upstreamed: https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/469 Using fetchpatch instead of commiting a patch directly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allowed me to update my system and the application that (transitively) depended on it (steam) runs without problems.
Result of 1 package built:
|
It was merged upstream, so should be good enough for us to merge. I'm a bit skeptical because i had the issue also on x86_64, but i will test again when it's merged. |
Could you please also rebase and switch the target branch to master? |
f9c9ec1
to
b0ed9c8
Compare
Switch to target master |
Thanks. |
@@ -44,6 +45,13 @@ stdenv.mkDerivation rec { | |||
src = ./fix-paths.patch; | |||
inherit asciidoc; | |||
}) | |||
] ++ lib.optionals (stdenv.hostPlatform.isi686) [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all the () are optional and should be removed. Second no one ever tests packages on i686 when updating which means the patch will bit rot almost immediately. Why is this not applied unconditional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Steam depends on i686 and applying it unconditionally would cause a mass rebuild.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it will bit-rot, it won't apply on the next upstream tracker release and many nix contributors/maintainers depend on i686 build of tracker trough transitive dependencies like steam.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though, also @jtojnar is one of the two persons on the GNOME maintainers team and has been putting a lot of work into updates. Regardless I will be on the lookout for the next version bump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If steam depends on it, it should be fine.
Motivation for this change
Fixes #141728, #140828 (comment), #139144 (comment), #139144 (comment)
Tested building
tracker
locally successfully.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)