[Webkit-unassigned] [Bug 275735] New: REGRESSION(280217 at main) CMake build failure after bump to cmake 3.20
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 21 06:59:12 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275735
Bug ID: 275735
Summary: REGRESSION(280217 at main) CMake build failure after bump
to cmake 3.20
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CMake
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
280217 at main added support for C++23 and bumped the minimum required CMake version to 3.20. This might have introduced some side effect, breaking the CMake in some conditions. For example:
cd /app/webkit && /usr/bin/cmake -E env CC=/usr/bin/cc ... /app/webkit/Source/JavaScriptCore/API/glib/JSCWrapperMap.cpp
/usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lWPEWebKit-2.0: No such file or directory
collect2: error: ld returned 1 exit status
At first, I thought it could be related to this change from 3.20:
https://cmake.org/cmake/help/latest/release/3.20.html#other-changes
> Ninja generators now transform the DEPFILE generated by an add_custom_command(). See policy CMP0116 for details.
But CMP0116 is already set to NEW in the root CMakeLists.txt (and changing to OLD does not change error).
--
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/20240621/4370d7d8/attachment.htm>
More information about the webkit-unassigned
mailing list