Building webkit2gtk on the pinebook pro

I'm running manjaro off of an SD card, on the PBP, and trying to get webkit2gtk to compile (and eventually to compile it with the GLES2 flag - gl4es works OK, but I'm guessing real support will be better). It works fine if installed directly, rather than built from source.

I'm using the standard PKGBUILD from the ABS (adding aarch64), which as far as I can see is the same as the archlinuxarm PKGBUILD that I think manjaro is using, at least on aarch64. The build fails, with the stderr in the attached log. I wonder if anyone here has figured this out, or has any insight? I can also link this question to the openGLES thread if it seems relevant to you all.

warning: dependency cycle detected:
warning: rubygems will be installed before its ruby dependency
:: Proceed with installation? [Y/n]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  1 18.4M    1  192k    0     0   139k      0  0:02:15  0:00:01  0:02:14  139k
 17 18.4M   17 3392k    0     0  1489k      0  0:00:12  0:00:02  0:00:10 1488k
 45 18.4M   45 8608k    0     0  2625k      0  0:00:07  0:00:03  0:00:04 2625k
 64 18.4M   64 11.9M    0     0  2864k      0  0:00:06  0:00:04  0:00:02 2864k
 90 18.4M   90 16.6M    0     0  3232k      0  0:00:05  0:00:05 --:--:-- 3438k
100 18.4M  100 18.4M    0     0  3359k      0  0:00:05  0:00:05 --:--:-- 4405k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   195  100   195    0     0    198      0 --:--:-- --:--:-- --:--:--   198
    webkitgtk-2.26.3.tar.xz ... Passed
    webkitgtk-2.26.3.tar.xz.asc ... Skipped
    webkitgtk-2.26.3.tar.xz ... Passed
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Platform.h:31,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/ExportMacros.h:32,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSExportMacros.h:32,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/config.h:33,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h: In member function ‘void JSC::ARM64Assembler::nopCortexA53Fix835769()’:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:3721:100: error: ‘class JSC::AssemblerBuffer’ has no member named ‘data’
 3721 |                 if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))
      |                                                                                                    ^~~~
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Compiler.h:341:41: note: in definition of macro ‘UNLIKELY’
  341 | #define UNLIKELY(x) __builtin_expect(!!(x), 0)
      |                                         ^
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1299:9: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
 1299 |         new (NotNull, end()) T(std::forward<U>(value));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
  371 |         void operator=(const LinkRecord& other)
      |              ^~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::appendSlowCase(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1304:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1346:5: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
 1346 |     new (NotNull, end()) T(std::forward<U>(*ptr));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
  371 |         void operator=(const LinkRecord& other)
      |              ^~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                 from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘static void WTF::VectorMover<false, T>::move(T*, T*, T*) [with T = JSC::ARM64Assembler::LinkRecord]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:258:65:   required from ‘static void WTF::VectorTypeOperations<T>::move(T*, T*, T*) [with T = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1189:25:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::reserveCapacity(size_t) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1042:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::expandCapacity(size_t) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1049:9:   required from ‘T* WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::expandCapacity(size_t, T*) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1342:9:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::appendSlowCase(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1304:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:120:13: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
  120 |             new (NotNull, dst) T(WTFMove(*src));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                 from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
  371 |         void operator=(const LinkRecord& other)
      |              ^~~~~~~~
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:120: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:733: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
warning: dependency cycle detected:
warning: rubygems will be removed after its ruby dependency
:: Do you want to remove these packages? [Y/n] 

this appears to be the culprit:

https://bugs.webkit.org/show_bug.cgi?id=197192

I'll try building again tomorrow.

Update on this. I managed to build with the ENABLE_GLES2 flag. This workaround was also required:

https://bugs.webkit.org/show_bug.cgi?id=195251

Unfortunately, this doesn't seem to let webkit pick up on panfrost. Instead, I get the error

** (luakit:150481): WARNING **: 14:07:15.988: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Unable to create a GL context

with or without LD_LIBRARY_PATH=/opt/gl4es, whereas without that flag, I was at least able to get the warning silenced with gl4es in the enviroment.

So summing up: webkit needs these two tweaks to build, and I don't know how to make it at all performant on pinebook pro manjaro. All three versions (vanilla, w/gl4es, and w/ENABLE_GLES2) get a 1.00 on https://browserbench.org/motionmark, although subjectively gl4es feels the most responsive.

For what it's woth, midori on stock debian initially shows better performance on motionmark, but it freezes halfway through and can't actually get a score.

I'd love some help with this if anybody has any ideas for how to get webkit running better.

By tweaking some browser settings, I was able to get comparable performance on manjaro (with gl4es) and stock debian. The GDK warning when built with GLES2 enabled may be related to this:

https://bugs.webkit.org/show_bug.cgi?id=163595

So I'm not sure if there's any reasonable way around it for now.

Forum kindly sponsored by