[Webkit-unassigned] [Bug 187894] New: [GTK][BUILD] JSContextRef.h: No such file or directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 22 16:54:44 PDT 2018


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

            Bug ID: 187894
           Summary: [GTK][BUILD] JSContextRef.h: No such file or directory
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karogyoker2+webkit at gmail.com
                CC: bugs-noreply at webkitgtk.org

Hi,

Following these steps, I'm able to compile WebKit in a 32 bit VM (VirtualBox):
1. Install Lubuntu 18.04
2. Update it
3. Download this: https://webkitgtk.org/releases/webkitgtk-2.20.3.tar.xz
4. Extract it and go into folder
5. ./Tools/gtk/install-dependencies
6. cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-march=pentium3 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -g0 -Os" -DCMAKE_CXX_FLAGS="-march=pentium3 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -g0 -Os" -DUSE_WOFF2=OFF -DUSE_LD_GOLD=OFF -DENABLE_MINIBROWSER=OFF -DENABLE_JIT=OFF -GNinja
7. ninja
8. sudo ninja install

On an actual Athlon XP machine I got the error message after step #7 (ninja):
Building CXX object Source/....dir/llint/LLIntOffsetsExtractor.cpp.o
FAILED: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o 
/usr/bin/c++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DLIBDIR=\"/usr/local/lib\" -DSTATICALLY_LINKED_WITH_WTF -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -IDerivedSources/ForwardingHeaders -I. -ISource/JavaScriptCore -ISource/JavaScriptCore/API -ISource/JavaScriptCore/assembler -ISource/JavaScriptCore/b3 -ISource/JavaScriptCore/b3/air -ISource/JavaScriptCore/bindings -ISource/JavaScriptCore/builtins -ISource/JavaScriptCore/bytecode -ISource/JavaScriptCore/bytecompiler -ISource/JavaScriptCore/dfg -ISource/JavaScriptCore/disassembler -ISource/JavaScriptCore/disassembler/ARM64 -ISource/JavaScriptCore/disassembler/ARMv7 -ISource/JavaScriptCore/disassembler/udis86 -ISource/JavaScriptCore/domjit -ISource/JavaScriptCore/ftl -ISource/JavaScriptCore/heap -ISource/JavaScriptCore/debugger -ISource/JavaScriptCore/inspector -ISource/JavaScriptCore/inspector/agents -ISource/JavaScriptCore/inspector/augmentable -ISource/JavaScriptCore/inspector/remote -ISource/JavaScriptCore/interpreter -ISource/JavaScriptCore/jit -ISource/JavaScriptCore/llint -ISource/JavaScriptCore/parser -ISource/JavaScriptCore/profiler -ISource/JavaScriptCore/runtime -ISource/JavaScriptCore/tools -ISource/JavaScriptCore/wasm -ISource/JavaScriptCore/wasm/js -ISource/JavaScriptCore/yarr -IDerivedSources/JavaScriptCore -IDerivedSources/JavaScriptCore/inspector -IDerivedSources/JavaScriptCore/runtime -IDerivedSources/JavaScriptCore/yarr -ISource/JavaScriptCore/inspector/remote/glib -isystem /usr/include/glib-2.0 -isystem /usr/lib/i386-linux-gnu/glib-2.0/include -ISource/bmalloc -IDerivedSources -ISource/ThirdParty -fdiagnostics-color=always -Wno-expansion-to-defined -Wno-attributes -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -march=pentium3 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -g0 -Os -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG -fPIE -MD -MT Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -MF Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -c Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
In file included from Source/JavaScriptCore/heap/HeapFinalizerCallback.h:28:0,
                 from Source/JavaScriptCore/heap/Heap.h:33,
                 from Source/JavaScriptCore/heap/DeferGC.h:29,
                 from Source/JavaScriptCore/runtime/ConcurrentJSLock.h:28,
                 from Source/JavaScriptCore/bytecode/ArrayProfile.h:28,
                 from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
Source/JavaScriptCore/API/JSHeapFinalizerPrivate.h:29:10: fatal error: JavaScriptCore/JSContextRef.h: No such file or directory
 #include <JavaScriptCore/JSContextRef.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

I want to emphasize that on the Athlon XP machine I also starting with a fresh system, the same OS and version as for the VM. They are installed from the same image actually.
I have 10 gigs of swap for the physical machine, it wasn't used at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180722/88cb277b/attachment-0001.html>


More information about the webkit-unassigned mailing list