prepare() doesn't apply cmake4-linked-into-quoting.patch (2.50.6-8)
The patch is listed in source= and in both sha256sums and b2sums, but prepare() only contains the comment — the actual patch call is missing:
prepare() {
cd webkitgtk-$pkgver
# fix unqoted cmake variable _linked_into
}
As a result the build fails at configure time with CMake 4:
CMake Error at Source/cmake/WebKitMacros.cmake:311 (if):
if given arguments:
"(" "NOT" "_linked_into" ")" "OR" "(" "WTF" "STREQUAL" ")" "OR" "(" "NOT" "IN_LIST" "LLIntSettingsExtractor_FRAMEWORKS" ")"
Unknown arguments specified
Call Stack (most recent call first):
Source/cmake/WebKitMacros.cmake:393 (_WEBKIT_TARGET_LINK_FRAMEWORK)
Source/JavaScriptCore/CMakeLists.txt:409 (WEBKIT_EXECUTABLE)
Adding the missing line to prepare() fixes the build:
patch -Np1 -i ../cmake4-linked-into-quoting.patch
Unrelated minor suggestion: the .asc entry uses SKIP in both checksum arrays, so a truncated download of the signature file isn't caught by makepkg and instead shows up later as a confusing "unknown public key" / "signature not found" failure during PGP verification. A real checksum there would make that case fail early with a clear message.
Thanks for maintaining the package!
Pinned Comments
andreas_baumann commented on 2026-06-19 08:39 (UTC) (edited on 2026-06-21 08:24 (UTC) by andreas_baumann)
Note, this version is intentionally sticking to version 2.50.x.
For newer versions use the official webkit2gtk-4.1 package. See https://archlinux.org/packages/extra/x86_64/webkit2gtk-4.1/