Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,120
» Latest member: benstoke
» Forum threads: 16,364
» Forum posts: 117,538

Full Statistics

Latest Threads
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
5 hours ago
» Replies: 3
» Views: 273
Real women, real desire, ...
Forum: General
Last Post: Spaker
Today, 01:04 AM
» Replies: 0
» Views: 38
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,529
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,092
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 104
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 143
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,102
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 346
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 193
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,645

 
  Building webkit2gtk
Posted by: gleachkr - 02-01-2020, 03:04 PM - Forum: Linux on Pinebook Pro - Replies (9)

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, which as far as I can see is the same as the archlinuxarm PKGBUILD, at least on aarch64. The build fails, with the stderr in the attached log. I wonder if anyone as figured this out, or has any insight?

Code:
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().


  External DVD/CD
Posted by: MIchael - 02-01-2020, 02:46 PM - Forum: General Discussion on Pinebook Pro - Replies (22)

Let me preface to saying I neither "need nor want" to be able to use a DVD or CD on the PBP, I'm just curious.

I tried hooking up an external DVD drive and nothing I did could get it to play. Tried many players and added the codecs it said it needed. Nothing will play a DVD

It will play whatever digital video I click on including 1080p .mkv.

I'm curious if anyone else has tried and what the outcome was.


Sad Help broke my pcie connector on the mother board.
Posted by: roncromberge - 02-01-2020, 01:14 PM - Forum: General Discussion on Pinebook Pro - Replies (16)

Hello,

I broke the hinge of the pcie nvme connector on the motherboard!

Now i'm seaching for a replacement part.

On the wiki the connector is referenced as U7001 and in the schematics as U7001 / BL102-G35-1FR

Is there someone on the forum who can tell me the (digi-key) partnumber is? Any partnumber of a suplier is ok. 


Sorry for my crappy english not my native language


Grtz, Ron


  No SIM
Posted by: petrus - 02-01-2020, 10:45 AM - Forum: General Discussion on PinePhone - Replies (11)

Hi,
Just received my pinephone yesterday. Everything is fine except that my SIM card isn't recognize. On the factory test Modem status is OK, Call status is "Ready for call" but Sim status is mentioning "No sim" while there is a working SIM card plugged in.
I managed to try Ubuntu touch : it also says that there is no SIM card.
Does it has something to do with my location (France) ? Or with the kill switch (I didn't touch anything) ?
Thanks !


  Live Debug of RIOT-OS on PineTime
Posted by: lupyuen - 02-01-2020, 07:52 AM - Forum: Development Discussion on PineTime - Replies (3)

Hi PineTime Fans: Below is a livestream of me debugging the RIOT-OS firmware (for the very first time!) that I downloaded from https://github.com/bosmoment/PineTime-apps

I used VSCode with ST-Link. More details coming soon at https://medium.com/@ly.lee/debug-riot-os...f00c69c120

Here's the video: https://youtu.be/a_VD-p1XwBg



Attached Files
.jpg   riot-pinetime-small.jpg (Size: 456.62 KB / Downloads: 696)

  Running into problems while installing RStudio from sources
Posted by: FingO - 02-01-2020, 07:05 AM - Forum: Linux on Pinebook Pro - No Replies

Hi,

new user here. After I was able to compile R from the source codes and encouraging links in the internet (see http://ramseygurley.blogspot.com/2014/02...n-arm.html). However, when I try to invoke 

sudo ./install-dependencies-debian

I am, first of all, quite puzzled that all R/libraries are again installed from scratch, second I get the following error:

Traceback (most recent call last):
  File "/opt/rstudio-tools/depot_tools/gn.py", line 75, in <module>
    sys.exit(main(sys.argv))
  File "/opt/rstudio-tools/depot_tools/gn.py", line 70, in main
    return subprocess.call([gn_path] + args[1:])
  File "/usr/lib/python2.7/subprocess.py", line 168, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error

I read at the rstudio-forums about a similar issue (https://community.rstudio.com/t/setting-...b/18982/44) but found there no answer.

Does somebody had any success with compiling Rstudio on a pinebook pro and/or know what to make of the above error?


  PBP restarts unexpectedly
Posted by: osmukhin - 02-01-2020, 02:08 AM - Forum: Linux on Pinebook Pro - Replies (9)

I can't seek the problem.
Some time ago it seems to me that this happens while wifi malfunction.
But now I can't say it is so.
Who have such a problem?


  Using DD to Backup and Restore EMMC
Posted by: appdev46 - 01-31-2020, 04:08 PM - Forum: Linux on Pinebook Pro - Replies (6)

I have the Intel 660p NVME (SSDPEKNW512G8X1) installed in my pinebook pro.  I was attempting to backup the EMMC to the NVME drive as an .img and then restore that to the EMMC.  My intent was to find a way to do a backup and a restore for testing purposes. 

I used a process similar to this.  Don't recall exact details...


Backup:  dd if=/dev/mmcblk1 of=/NVME_Folder/emmc_Backup.img

Restore:  dd if=/NVME_Folder/emmc_Backup.img of=/dev/mmcblk1

After the restore I could boot to login screen but I could not log in with my user.  I CAN log in with root.

Any ideas what I missed or could be wrong with this process?


  Installing Wine i386 on Pinebook Pro
Posted by: wrzomar - 01-31-2020, 03:52 PM - Forum: Pinebook Pro Tutorials - No Replies

I've mostly followed the Novaspirit's tutorial from:
https://www.novaspirit.com/2019/04/15/run-x86-arm/

First, I've built and run vmsplit checking code from wine (from https://gist.github.com/liuqi/ccf638adc675a3b00c98):

Code:
#include <sys/mman.h>
#include <stdio.h>
#include <errno.h>

static void check_vmsplit( void *stack )
{
   printf("user space is %x\n", stack);
   if (stack < (void *)0x80000000)
   {
       /* if the stack is below 0x80000000, assume we can safely try a munmap there */
       if (munmap( (void *)0x80000000, 1 ) == -1 && errno == EINVAL)
           fprintf( stderr,
                    "Warning: memory above 0x80000000 doesn't seem to be accessible.\n"
                    "Wine requires a 3G/1G user/kernel memory split to work properly.\n" );
   }
}

int main()
{
   int temp;

   check_vmsplit( &temp );

}
I assume, if above code doesn't print warning, everything is OK and I don't need to rebuild kernel.

Then we need to install prerequisites:
Quote:sudo apt update && sudo apt upgrade

sudo apt install qemu qemu-user qemu-user-static binfmt-support debootstrap binutils
After successful install, run:
Quote:sudo debootstrap --foreign --arch i386 stretch ./chroot-stretch-i386 http://ftp.us.debian.org/debian
Then prepare system to run chroot:
Quote:sudo mount -t sysfs sys ./chroot-stretch-i386/sys/
sudo mount -t proc proc ./chroot-stretch-i386/proc/
sudo mount --bind /dev ./chroot-stretch-i386/dev/
sudo mount --bind /dev/pts ./chroot-stretch-i386/dev/pts/
sudo mount --bind /dev/shm ./chroot-stretch-i386/dev/shm/

With system qemu-i386-static there may be 'illegal instruction' errors, so we'll build qemu from source. I've followed instructions from
http://logan.tw/posts/2018/02/18/build-q...urce-code/

Quote:sudo apt-get build-dep qemu
$ git clone git://git.qemu.org/qemu.git
$ cd qemu
$ git submodule update --init --recursive
$ ./configure --prefix=$(cd ..; pwd)/qemu-user-static --static --disable-system --enable-linux-user --target-list=i386-linux-user --disable-tools
make -j6
make install
cd ../qemu-user-static/bin
mv qemu-i386 qemu-i386-static
sudo mv qemu-i386-static ./chroot-stretch-i386/usr/bin
Without --disable-tools there were linker errors, --target-list=i386-linux-user will build only qemu-i386 binary.

And start second stage:
Quote:sudo chroot ./chroot-stretch-i386/ /debootstrap/debootstrap --second-stage
On my Pinebook Pro it took 28 minutes 30 seconds to finish second stage.

Next, we'll chroot as root user:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l root
If your DNS isn't working inside chroot check /etc/resolv.conf and fix your name server address!
Quote:nano .bashrc

Then we need to add this:
Code:
export LANGUAGE="C"
export LC_ALL="C"
export DISPLAY=:0
to the end of .bashrc file and run:
Quote:source ~/.bashrc
so change will to effect.
Then run:
Quote:apt update
And create user account:
Quote:adduser -uid 1000 <username>
where <username> is your chosen username.
Then install leafpad or xterm to install all needed dependencies.
Quote:apt install leafpad
Then open second terminal window and enter:
Quote:sudo chroot /home/marek/chroot-stretch-i386/ /bin/su -l <username>
to chroot as your newly created user.
Quote:nano .bashrc
Add at the end:
Code:
export LANGUAGE="C"
export LC_ALL="C"
export DISPLAY=:0
and run:
Quote:source ~/.bashrc
and then run leafpad (or xterm):
Quote:leafpad

Now we are ready to install Wine.

Switch focus to your root terminal window or run:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l root

To make things easier first install apt-transport-https package:
Quote:apt install apt-transport-https
It will install all dependencies for SSL certificates to work (and we might need apt-transport-https it in the future).
Download Wine from Playonlinux with:
Quote:wget -c https://www.playonlinux.com/wine/binarie...ux-x86.pol
I've chosen version 3.20, but you can choose a different version (and maybe have better luck with running Windows programs).
Then install bzip2:
Quote:apt install bzip2
and then unpack previously downloaded Wine and "install' it:
Quote:tar -jxf PlayOnLinux-wine-3.20-linux-x86.pol --strip-components=1
mv ./3.20/bin/wine-preloader ./3.20/bin/wine-preloader.renamed
mv ./3.20 /opt/wine-3.20/
cd /opt
ln -s wine-3.20 wine
cd
Symbolic link will help with switching wine versions in the future.
Then open .bashrc:
Quote:nano .bashrc
and add this:
Quote:export PATH=/opt/wine/bin:$PATH
at the end and run:
Quote:source ~/.bashrc
to refresh session then do the same line to the .bashrc file of your new i386 user account.
Run:
Quote:sudo chroot ~/chroot-stretch-i386/ /bin/su -l <username>
Then open .bashrc:
Quote:nano .bashrc
and add this:
Quote:export PATH=/opt/wine/bin:$PATH
at the end and run:
Quote:source ~/.bashrc
to refresh session.
Now you need to check, if Wine is working, run:
Quote:winecfg
The window should appear and it will download gecko and stuff, finally Wine config window should appear.

Novaspirit has prepared winetricks but I haven't tried them, yet.
https://github.com/novaspirit/winetricks

Let's finish the installation.
Outside of chroot we'll create script to mount /sys, /proc and the rest at start.
Quote:sudo mkdir -p /opt/chrootscript/
sudo nano /opt/chrootscript/chrootmount
Paste this:
Code:
#!/bin/sh
mount -t sysfs sys /opt/chroot-stretch-i386/sys/
mount -t proc proc /opt/chroot-stretch-i386/proc/
mount --bind /dev /opt/chroot-stretch-i386/dev/
mount --bind /dev/pts /opt/chroot-stretch-i386/dev/pts/
mount --bind /dev/shm /opt/chroot-stretch-i386/dev/shm/
As you can see I've moved chroot-stretch-i386 to /opt but I've forgot to umount previously mounted sys, proc and the rest, which wasn't probably a good idea  Shy

Next, make above script executable:
Quote:sudo chmod a+x /opt/chrootscript/chrootmount
Then create service file:
Quote:sudo nano /etc/systemd/system/chrootmount.service
paste this:
Code:
[Unit]
Description = mounts chroot on boot

[Service]
Type=one-shot
ExecStart=/opt/chrootscript/chrootmount

[Install]
WantedBy=multi-user.target
Then enable service:
Quote:sudo systemctl enable chrootmount.service
Then we will make scripts to make chrooting easier:
Quote:sudo nano /opt/chrootscript/start_x86_user
And paste:
Code:
#!/bin/sh
/usr/sbin/chroot /opt/chroot-stretch-i386/ /bin/su -l <username>
Make it executable:
Quote:sudo chmod a+x /opt/chrootscript/start_x86_user
Repeat this process for root:
Quote:sudo nano /opt/chrootscript/start_x86_root
Code:
#!/bin/sh
/usr/sbin/chroot /opt/chroot-stretch-i386/ /bin/su -l root
Quote:sudo chmod a+x /opt/chrootscript/start_x86_root

At last create desktop shortcuts:
Quote:nano ~/Desktop/chroot_user.desktop
Code:
[Desktop Entry]
Type=Application
Comment=Start Wine x86 Environment
Name=Wine x86 User
Exec=mate-terminal -e 'sudo /opt/chrootscript/start_x86_user'
Icon=utilities-terminal
Terminal=false
Categories=Utility
StartupNotify=True
Quote:nano ~/Desktop/chroot_root.desktop
Code:
[Desktop Entry]
Type=Application
Comment=Start Wine x86 Environment
Name=Wine x86 Root
Exec=mate-terminal -e 'sudo /opt/chrootscript/start_x86_root'
Icon=gksu-root-terminal
Terminal=false
Categories=Utility
StartupNotify=True
And make them executable:
Quote:chmod a+x ~/Desktop/chroot_user.desktop
chmod a+x ~/Desktop/chroot_root.desktop
Restart Pinebook Pro. After restart check status of our mounting service:
Quote:sudo systemctl status chrootmount.service
If there are no error, you can double click on one of Wine x86 shortcuts to open terminal.

Unfortunately, I was only able to run installers but installed programs (like Notepad++ or Treesheets) crashed but I haven't used Wine for years, so maybe recent Notepad++ or Treesheets are not good starting points. Don't look at me, I didn't touch it, I swear Angel
Maybe different Wine version would do the trick.

Good luck, and good night.

EDIT: One of the problems was broken qemu-i386-static (there was qemu's 'illegal instruction' error at one of last lines of messages when putty crashed), so I've added instructions to build qemu. I've also changed icons of desktop shortcuts.
Now putty works and I was able to install Notepad++ 6.7.4, but it crashed anyway with wine client bad descriptor error.


  New product announcement?
Posted by: gillham - 01-31-2020, 03:29 PM - Forum: News - Replies (3)

Hey it is January 31st (almost February in Brussels) and I thought there was going to be a post about new products? Smile