Bug#784176: webkit2gtk FTBFS on hppa architecture (with patch)

John David Anglin dave.anglin at bell.net
Thu May 7 11:20:23 UTC 2015


On 2015-05-07, at 2:33 AM, Alberto Garcia wrote:

> On Sun, May 03, 2015 at 09:33:58PM +0200, Helge Deller wrote:
> 
>> webkit2gtk fails to build on the hppa (parisc) architecture, because
>> the linker runs out of memory (like on some other 32bit arches).
> 
>> Last build log is here:
>> http://buildd.debian-ports.org/status/fetch.php?pkg=webkit2gtk&arch=hppa&ver=2.8.1%2Bdfsg1-1&stamp=1430595977
> 
> That doesn't seem to be the build error:
> 
> In file included from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bytecode/StructureStubInfo.h:35:0,
>                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bytecode/CodeBlock.h:66,
>                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
> /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/jit/RegisterSet.h:66:22: error: 'class JSC::JSValueRegs' has no member named 'tagGPR'
>             set(regs.tagGPR());
>                      ^
> /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/jit/RegisterSet.h:67:18: error: 'class JSC::JSValueRegs' has no member named 'payloadGPR'
>         set(regs.payloadGPR());
>                  ^
> make[3]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o] Error 1

The actual problem is that build was here:

make[3]: Entering directory '/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/CMakeFiles 
[  1%] Building CXX object Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o
cd /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/Source/JavaScriptCore && /usr/bin/c++   -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DENABLE_3D_RENDERING=1 -DENABLE_PLUGIN_PROCESS_GTK2=1 -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DHAVE_GTK_GESTURES=1 -DMOZ_X11=1 -DSTATICALLY_LINKED_WITH_WTF -DUSER_AGENT_GTK_MAJOR_VERSION=601 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DWTF_PLATFORM_X11=1 -DWTF_USE_3D_GRAPHICS=1 -DWTF_USE_GLX=1 -DWTF_USE_GSTREAMER -DWTF_USE_LIBNOTIFY=1 -DWTF_USE_OPENGL=1 -DWTF_USE_REDIRECTED_XCOMPOSITE_WINDOW=1 -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_WEBAUDIO_GSTREAMER -DXP_UNIX -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -DNDEBUG  -std=c++11  -fno-exceptions -fno-strict-aliasing -fno-rtti -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/API -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/ForwardingHeaders -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/assembler -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bindings -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/builtins -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bytecode -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bytecompiler -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/dfg -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/disassembler -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/ftl -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/heap -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/debugger -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/inspector -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/inspector/agents -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/inspector/remote -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/interpreter -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/jit -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/llint -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/llvm -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/parser -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/profiler -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/replay -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/tools -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/yarr -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/WTF -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/DerivedSources -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/DerivedSources/ForwardingHeaders -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/DerivedSources/JavaScriptCore -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/obj-hppa-linux-gnu/DerivedSources/JavaScriptCore/inspector -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source -I/usr/include/hppa-linux-gnu -I/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/disassembler/udis86 -I/usr/include/glib-2.0 -I/usr/lib/hppa-linux-gnu/glib-2.0/include    -o CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o -c /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
In file included from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime/BasicBlockLocation.h:30:0,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime/ControlFlowProfiler.h:30,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime/VM.h:32,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/heap/CopiedSpaceInlines.h:33,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime/ButterflyInlines.h:31,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/runtime/JSArray.h:25,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/bytecode/ArrayProfile.h:30,
                 from /«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/«BUILDDIR»/webkit2gtk-2.8.1+dfsg1/Source/JavaScriptCore/assembler/MacroAssembler.h:64:2: error: #error "The MacroAssembler is not supported on this platform."
 #error "The MacroAssembler is not supported on this platform."

Ignore this error.  It was caused by a test that I did.

The error that Helge's patch addresses is shown in this log:
http://buildd.debian-ports.org/status/fetch.php?pkg=webkit2gtk&arch=hppa&ver=2.8.1%2Bdfsg1-1&stamp=1430485320

Dave
--
John David Anglin	dave.anglin at bell.net



More information about the Pkg-webkit-maintainers mailing list