[PATCH] Move polkit to mozjs38

Miloslav Trmac mitr at redhat.com
Tue Apr 4 19:02:37 UTC 2017


2017-03-29 21:49 GMT+02:00 Jeremy Linton <jeremy.linton at arm.com>:

> Update polkit to use a more recent version of the mozjs library.
>

Thanks. I’m afraid I haven’t had time to review in detail yet, for now just
noting that polkit with this patch is immediately in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1438086 .

On Fedora 24 x86_64, I similarly see immediate failures:

$ make check
>> …/polkit/test-driver: řádek 107:  5827 Trace/breakpoint trap   (core
> dumped) "$@" > $log_file 2>&1
> FAIL: polkitbackendjsauthoritytest
>
or

> $ sudo build/src/polkitbackend/polkitd
> Successfully changed to user polkitd
> 20:58:16.881: <no filename>:0: can't open init.js: No such file or
> directory
>
> ** (lt-polkitd:5996): CRITICAL **: Error initializing JavaScript
> environment
> **
> ERROR:…/polkit/src/polkitbackend/polkitbackendjsauthority.cpp:530:void
> polkit_backend_js_authority_constructed(GObject*): code should not be
> reached
> Aborted
>

    Mirek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/polkit-devel/attachments/20170404/7a28e193/attachment.html>


More information about the polkit-devel mailing list