-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
polkit: 0.113 -> 0.115 #43127
polkit: 0.113 -> 0.115 #43127
Conversation
The |
Failure on x86_64-linux (full log) Attempted: tests.udisks2 Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: tests.udisks2 Partial log (click to expand)
|
The build is failing because of unpatched shebangs in tests. |
Here is a version which should build with sandboxing. |
@GrahamcOfBorg build polkit |
Failure on aarch64-linux (full log) Attempted: polkit Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: polkit Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: polkit Partial log (click to expand)
|
@symphorien Thanks for the ping and effort re:musl!
I haven't investigated the musl patch situation yet since it appears to have build problems elsewhere that need attention. (And I'm hoping to clean up systemd bits for inclusion soon!) |
Is there anything I should modify ? |
let's try again, maybe the dependencies have been fixed |
0.115 was released by the way. |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: polkit Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: polkit Partial log (click to expand)
|
I'll add 0.115 here shortly |
Success on x86_64-linux (full log) Attempted: polkit Partial log (click to expand)
|
@GrahamcOfBorg build polkit |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: polkit Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: polkit Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: polkit Partial log (click to expand)
|
x86_64-linux failure is in a dependency and unrelated to this PR (builds fine locally on this branch). But we have an issue with darwin: Looks like (I find it rather weird that polkit depends on a javascript engine, see #8989 ) |
The weird part is that they decided to use JS for configuration. |
polkit uses javascript to allow system administrators to override rules, the requirements were bumped in 0.114: https://cgit.freedesktop.org/polkit/commit/?id=81b92d6c36a086fb370b69440b0a05dfbfa23085 Yep, something small like lua or lisp would be nicer though. |
So what do we do - leave darwin at polkit 0.113 ? |
Is polkit even used on darwin? |
Not sure but this causes a 19 darwin rebuilds, mostly mate / lxqt-related stuff |
Yeah, except for falkon, none of the darwin rebuilds look like they would work on darwin anyway (all desktop environment components). |
Agree. So I'd say let's merge this and fix the fallout later if anyone complains. |
Motivation for this change
I am affected by a bug fixed in 0.114 (https://bugs.freedesktop.org/show_bug.cgi?id=96977 )
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)Other considerations
All fedora patches have been merged upstream.
Tests pass and have been enabled on linux.
cc @dtzWill regarding musl support: 551f070 introduced a musl patch (source
https://bugs.freedesktop.org/show_bug.cgi?id=50145 ) but this patch does not apply anymore, and
this other bug https://bugs.freedesktop.org/show_bug.cgi?id=75187 introduced similar changes.
I tried building polkit on musl:
but this fails to build dependencies (
/nix/store/b0q57pcgkn2z185nrk2dx6lyjys18xqy-bsd-compat-netbsd-7.1.2-x86_64-unknown-linux-musl.drv
).So I chose to drop the patch completely. As of now we don't need it since dependencies don't build.