This packages requires a lot of RAM per core. Let's reduce that to
minimum. This is required for Unmatched.
Disable JIT too:
```
[..]
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h: In member function ‘void JSC::MacroAssemblerRISCV64::testFinalize(ResultCondition, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID)’:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:4438:16: warning: enumeration value ‘Carry’ not handled in switch [-Wswitch]
4438 | switch (cond) {
| ^
In file included from /builddir/build/BUILD/webkitgtk-2.43.4/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-9.cpp:6:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp: In member function ‘void JSC::B3::{anonymous}::Validater::run()’:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp:457:43: error: ‘toB3Type’ was not declared in this scope
457 | VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
[..]
```
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Also, add License tag to webkit2gtk-4.1-doc
Also, there are only two builds now instead of three, now that
webkit2gtk-4.0 has been removed.
Also, there is a new dependency on libbacktrace, but Fedora does not
package this library so we have to disable it.
Initial migration to SPDX. But the code contains two licenses that are not on the SPDX list yet.
The comment contains references to issues where it is tracked.
GLES needs to be available at runtime or we'll crash, #2240428.
It's not needed at runtime because it's only used via libepoxy. And
desktop GL is no longer used at all.
Fixes#2240428
Avoids:
/usr/lib64/libglib-2.0.so /usr/lib64/libz.so /usr/lib64/libsystemd.so && :
/usr/bin/ld: /tmp/cczGkWSW.ltrans0.ltrans.o: in function `ipint_table_size_validate':
<artificial>:(.text+0x49f0f): undefined reference to `ipint_extern_table_size'
/usr/bin/ld: /tmp/cczGkWSW.ltrans0.ltrans.o: in function `ipint_table_fill_validate':
<artificial>:(.text+0x4a019): undefined reference to `ipint_extern_table_fill'
which I am not able to reproduce locally, even when using -flto=auto.
WebKitGTK JIT crashes on aarch64 hardware with new ARMv8.5 BTI
extension, most commonly seen on M2 Macs running Fedora Asahi. This
breaks large parts of GNOME using WebKitGTK, notably GNOME Online
Accounts; GNOME Help; and other similar things.
This removes Asahi specific changes as this could occur on any aarch64
hardware with this feature and makes WebKitGTK pretty much unuseable
without this change.
We also reduced generated debuginfo for aarch64 here as the memory
requirements are pretty huge for -g, making aarch64 rpms unbuildable in
copr without this change.
Reference: https://bugs.webkit.org/show_bug.cgi?id=245697
Related: rhbz#213000
On ppc64le the dwz process gets killed, and on s390x the builders lock
up when running dwz. Disable the dwz optimizations on these arches
until we can get a patch into /usr/bin/find-debuginfo to control dwz
parallelism.
https://sourceware.org/pipermail/debugedit/2023-January/000173.html
webkitgtk builds in koji are now done on 'heavybuilder' aarch64
builders, which have enough RAM to do dwz optimization. Increase the
aarch64 limit to be the same as on x86_64.
This reverts commit cc3da95bc5.
Why? Because this won't build successfully, because I didn't test it
locally since there were only a couple days since .4, but there's a
soname bump because we removed some APIs.
And we're doing a mass rebuild right now, and it's not ideal for that to
pick up a known-bad commit.