[Webkit-unassigned] [Bug 254475] New: build system does not gracefully fallback to libelogind

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 25 19:49:39 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254475

            Bug ID: 254475
           Summary: build system does not gracefully fallback to
                    libelogind
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: maxim.cournoyer at gmail.com
                CC: bugs-noreply at webkitgtk.org

Hello,

When using elogind instead of systemd, the build fails because FindJournald.cmake looks for pkg_check_modules(PC_SYSTEMD QUIET libsystemd) but the pkg-config file of elogind is called libelogind.pc.

There should be a fallback implemented like so:

pkg_check_modules(PC_SYSTEMD QUIET libsystemd libelogind)
if (NOT PC_SYSTEMD_FOUND)
    pkg_check_modules(PC_SYSTEMD QUIET libelogind)
endif()

I'll send a patch if I remember the process :-).

Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230326/7568eb7b/attachment.htm>


More information about the webkit-unassigned mailing list