Ticket #18660: HaikuWebKit build failure

File HaikuWebKit build failure, 7.7 KB (added by vidrep, 14 months ago)
Line 
1
2Welcome to the Haiku shell.
3
4~/haikuwebkit/Tools/Scripts> build-webkit --haiku --no-fatal-warnings
5+ cmake --build /boot/home/haikuwebkit/WebKitBuild/Release --config Release --
6[1/1044] Building C object Source/Java...s/testapi.dir/__/API/tests/testapi.c.o
7FAILED: Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o
8/bin/cc -DBUILDING_HAIKU__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_testapi -DDATA_DIR=\"/boot/system/data/WebKit\" -DHAIKU_WEBKIT_VERSION=\"1.9.8\" -DHAVE_CONFIG_H=1 -DPAS_BMALLOC=1 -DUSE_3D_GRAPHICS=0 -D_DEFAULT_SOURCE -D_GLIBCXX_USE_C99_MATH -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/Headers -I/boot/home/haikuwebkit/WebKitBuild/Release -I/boot/home/haikuwebkit/Source/JavaScriptCore -I/boot/home/haikuwebkit/Source/JavaScriptCore/API -I/boot/home/haikuwebkit/Source/JavaScriptCore/assembler -I/boot/home/haikuwebkit/Source/JavaScriptCore/b3 -I/boot/home/haikuwebkit/Source/JavaScriptCore/b3/air -I/boot/home/haikuwebkit/Source/JavaScriptCore/bindings -I/boot/home/haikuwebkit/Source/JavaScriptCore/builtins -I/boot/home/haikuwebkit/Source/JavaScriptCore/bytecode -I/boot/home/haikuwebkit/Source/JavaScriptCore/bytecompiler -I/boot/home/haikuwebkit/Source/JavaScriptCore/dfg -I/boot/home/haikuwebkit/Source/JavaScriptCore/disassembler -I/boot/home/haikuwebkit/Source/JavaScriptCore/disassembler/ARM64 -I/boot/home/haikuwebkit/Source/JavaScriptCore/disassembler/zydis/Zydis -I/boot/home/haikuwebkit/Source/JavaScriptCore/domjit -I/boot/home/haikuwebkit/Source/JavaScriptCore/ftl -I/boot/home/haikuwebkit/Source/JavaScriptCore/heap -I/boot/home/haikuwebkit/Source/JavaScriptCore/debugger -I/boot/home/haikuwebkit/Source/JavaScriptCore/inspector -I/boot/home/haikuwebkit/Source/JavaScriptCore/inspector/agents -I/boot/home/haikuwebkit/Source/JavaScriptCore/inspector/augmentable -I/boot/home/haikuwebkit/Source/JavaScriptCore/inspector/remote -I/boot/home/haikuwebkit/Source/JavaScriptCore/interpreter -I/boot/home/haikuwebkit/Source/JavaScriptCore/jit -I/boot/home/haikuwebkit/Source/JavaScriptCore/llint -I/boot/home/haikuwebkit/Source/JavaScriptCore/parser -I/boot/home/haikuwebkit/Source/JavaScriptCore/profiler -I/boot/home/haikuwebkit/Source/JavaScriptCore/runtime -I/boot/home/haikuwebkit/Source/JavaScriptCore/tools -I/boot/home/haikuwebkit/Source/JavaScriptCore/wasm -I/boot/home/haikuwebkit/Source/JavaScriptCore/wasm/js -I/boot/home/haikuwebkit/Source/JavaScriptCore/yarr -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/DerivedSources -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/DerivedSources/inspector -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/DerivedSources/runtime -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/DerivedSources/yarr -I/boot/home/haikuwebkit/Source/JavaScriptCore/inspector/remote/socket -I/boot/home/haikuwebkit/WebKitBuild/Release/WTF/Headers -I/system/develop/headers/private/system/arch/x86_64 -I/system/develop/headers/private/system -I/boot/home/haikuwebkit/WebKitBuild/Release/JavaScriptCore/PrivateHeaders -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-expansion-to-defined -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fno-strict-aliasing -fno-exceptions -ffunction-sections -fdata-sections -O3 -DNDEBUG -MD -MT Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o -MF Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o.d -o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o -c /boot/home/haikuwebkit/Source/JavaScriptCore/API/tests/testapi.c
9In file included from /boot/home/haikuwebkit/WebKitBuild/Release/WTF/Headers/wtf/Assertions.h:56,
10 from /boot/home/haikuwebkit/Source/JavaScriptCore/API/tests/testapi.c:56:
11/boot/system/develop/headers/os/support/String.h:15:1: error: unknown type name 'class'
12 15 | class BStringList;
13 | ^~~~~
14/boot/system/develop/headers/os/support/String.h:16:1: error: unknown type name 'class'
15 16 | class BStringRef;
16 | ^~~~~
17/boot/system/develop/headers/os/support/String.h:19:1: error: unknown type name 'class'
18 19 | class BString {
19 | ^~~~~
20/boot/system/develop/headers/os/support/String.h:19:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
21 19 | class BString {
22 | ^
23/boot/system/develop/headers/os/support/String.h:433:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '<' token
24 433 | bool operator<(const char* a, const BString& b);
25 | ^
26/boot/system/develop/headers/os/support/String.h:434:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '<=' token
27 434 | bool operator<=(const char* a, const BString& b);
28 | ^~
29/boot/system/develop/headers/os/support/String.h:435:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '==' token
30 435 | bool operator==(const char* a, const BString& b);
31 | ^~
32/boot/system/develop/headers/os/support/String.h:436:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '>' token
33 436 | bool operator>(const char* a, const BString& b);
34 | ^
35/boot/system/develop/headers/os/support/String.h:437:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '>=' token
36 437 | bool operator>=(const char* a, const BString& b);
37 | ^~
38/boot/system/develop/headers/os/support/String.h:438:14: error: expected '=', '', ';', 'asm' or '__attribute__' before '!=' token
39 438 | bool operator!=(const char* a, const BString& b);
40 | ^~
41/boot/system/develop/headers/os/support/String.h:442:26: error: expected ';', '' or ')' before '&' token
42 442 | int Compare(const BString& a, const BString& b);
43 | ^
44/boot/system/develop/headers/os/support/String.h:443:27: error: expected ';', '' or ')' before '&' token
45 443 | int ICompare(const BString& a, const BString& b);
46 | ^
47/boot/system/develop/headers/os/support/String.h:444:19: error: unknown type name 'BString'
48 444 | int Compare(const BString* a, const BString* b);
49 | ^~~~~~~
50/boot/system/develop/headers/os/support/String.h:444:37: error: unknown type name 'BString'
51 444 | int Compare(const BString* a, const BString* b);
52 | ^~~~~~~
53/boot/system/develop/headers/os/support/String.h:445:20: error: unknown type name 'BString'
54 445 | int ICompare(const BString* a, const BString* b);
55 | ^~~~~~~
56/boot/system/develop/headers/os/support/String.h:445:38: error: unknown type name 'BString'
57 445 | int ICompare(const BString* a, const BString* b);
58 | ^~~~~~~
59/boot/system/develop/headers/os/support/String.h:449:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
60 449 | BString::Length() const
61 | ^~
62/boot/system/develop/headers/os/support/String.h:458:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
63 458 | BString::IsEmpty() const
64 | ^~
65/boot/system/develop/headers/os/support/String.h:465:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
66 465 | BString::String() const
67 | ^~
68/boot/system/develop/headers/os/support/String.h:474:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
69 474 | BString::HashValue() const
70 | ^~
71compilation terminated due to -fmax-errors=20.
72[10/1012] Building CXX object Source/WebCore/PAL/pal/CMakeFiles/PAL.dir/text/TextCodecCJK.cpp.o
73ninja: build stopped: subcommand failed.
74~/haikuwebkit/Tools/Scripts>