[Webkit-unassigned] [Bug 254495] New: missing journald include in WTF (elogind build)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 26 19:24:10 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=254495
Bug ID: 254495
Summary: missing journald include in WTF (elogind build)
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CMake
Assignee: webkit-unassigned at lists.webkit.org
Reporter: maxim.cournoyer at gmail.com
Hi,
Building webkitgtk with elogind, I observe the following error:
/tmp/guix-build-webkitgtk-2.40.0.drv-0/build/WTF/Headers/wtf/Assertions.h:56:10: fatal error: systemd/sd-journal.h: No such file or directory
56 | #include <systemd/sd-journal.h>
| ^~~~~~~~~~~~~~~~~~~~~~
which appears to be caused by the lack of JOURNALD_INCLUDE_DIR for WTF_INTERFACE_INCLUDE_DIRECTORIES. Perhaps fixable with something like:
modified Source/WTF/wtf/CMakeLists.txt
@@ -609,7 +609,8 @@ if (COMPILER_IS_GCC_OR_CLANG)
endif ()
set(WTF_INTERFACE_LIBRARIES WTF)
-set(WTF_INTERFACE_INCLUDE_DIRECTORIES ${WTF_FRAMEWORK_HEADERS_DIR})
+set(WTF_INTERFACE_INCLUDE_DIRECTORIES ${WTF_FRAMEWORK_HEADERS_DIR}
+ ${JOURNALD_INCLUDE_DIR})
set(WTF_INTERFACE_DEPENDENCIES WTF_CopyHeaders)
WEBKIT_FRAMEWORK_DECLARE(WTF)
--
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/20230327/556450cf/attachment.htm>
More information about the webkit-unassigned
mailing list