I'm trying to compile webkit-gtk natively on a Raspberry PI 3.
The ebuild stops in the cmake test phase:
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
CMake Error at Source/cmake/OptionsCommon.cmake:39 (WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG):
Unknown CMake command "WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG".
Call Stack (most recent call first):
Cmake checks for the current CPU
and then tries to add another compiler flag:
I've had a look at Source/cmake/WebKitCompilerFlags.cmake and it seems the name should be WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS
Looks like they had this bug ever since adding the compile tested flag adding in https://bugs.webkit.org/show_bug.cgi?id=174490 or something.
Note that this compile flag and another errata one can be useful globally to avoid issues on at least the earlier Cortex A53's like RPi3.
Should get this reported upstream if it isn't yet at bugs.webkit.org, feel free to help with doing that yourself sooner and linking with See also, URL or comment (in that order of preference, depending on what you can edit)
Any news about this bug? Inside this "https://bugs.webkit.org/show_bug.cgi?id=174490" there is a patch that I can't use
I 've managed to find the root of the problem here.
Created attachment 527478 [details, diff]
The bug has been closed via the following commit(s):
Author: Virgil Dupras <email@example.com>
AuthorDate: 2018-07-18 12:59:55 +0000
Commit: Mart Raudsepp <firstname.lastname@example.org>
CommitDate: 2018-07-23 22:23:35 +0000
net-libs/webkit-gtk: bump to 2.20.3
* New dependency on media-libs/woff2 require us to drop keywords
* Drop redundant python dependency under tests
* The ia64 patch is no longer needed: the fatal build error on unknown
CPUs has been removed.
* arm64 compilation is fixed upstream.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/webkit-gtk/Manifest | 1 +
net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild | 283 +++++++++++++++++++++++++++
2 files changed, 284 insertions(+)