Bug 29339 - webkit2 does not build in Cauldron (assembler issue)
Summary: webkit2 does not build in Cauldron (assembler issue)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 29282
  Show dependency treegraph
 
Reported: 2021-08-07 19:22 CEST by David Walser
Modified: 2021-08-08 14:44 CEST (History)
1 user (show)

See Also:
Source RPM: binutils-2.37-3.mga9.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2021-08-07 19:22:22 CEST
We are stuck on trying to rebuild some things in Cauldron, and stuck on a security update, because webkit2 won't build in Cauldron.  The error message where its build fails is apparently from binutils and is referenced in upstream bugs such as these:
https://sourceware.org/bugzilla/show_bug.cgi?id=25878
https://sourceware.org/bugzilla/show_bug.cgi?id=26778

It's a separate issue, but I also don't think webkit2 should be a build dep of so many things to begin with (it even is for Firefox...).

Anyway, the webkit2 build dies as follows:
[ 18%] Building CXX object Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o
cd /home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/Source/JavaScriptCore && /home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/Scripts/postprocess-asm /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DPOSTPROCESS_ASM=llint/LowLevelInterpreter.cpp -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/ForwardingHeaders -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/API -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/assembler -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/b3 -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/b3/air -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/bindings -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/builtins -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/bytecode -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/bytecompiler -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/dfg -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/disassembler -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/disassembler/ARM64 -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/disassembler/udis86 -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/domjit -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/ftl -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/heap -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/debugger -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/inspector -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/inspector/agents -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/inspector/augmentable -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/inspector/remote -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/interpreter -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/jit -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/llint -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/parser -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/profiler -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/runtime -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/tools -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/wasm -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/wasm/js -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/yarr -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore/inspector -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore/runtime -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore/yarr -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/ForwardingHeaders/JavaScriptCore/glib -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore/javascriptcoregtk/jsc -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/API/glib -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/inspector/remote/glib -I/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/DerivedSources/JavaScriptCore/javascriptcoregtk -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -g1 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -fno-exceptions -fno-rtti -DNDEBUG -fPIC -std=c++17 -MD -MT Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o -MF CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o.d -o CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o -c /home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.s: Assembler messages:
CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.s:10: Error: file table slot 1 is already occupied by a different file (/home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/build/Source/JavaScriptCore//home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp vs /home/iurt/rpmbuild/BUILD/webkitgtk-2.32.3/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp)
Error running cmd: pid 41528 exit 1

from:
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20210807093731.wally.duvel.39644/log/webkit2-2.32.3-2.mga9/build.x86_64.0.20210807093804.log
David Walser 2021-08-07 19:22:42 CEST

Blocks: (none) => 29282
CC: (none) => jani.valimaa

Comment 1 David Walser 2021-08-07 20:22:37 CEST
qtwebengine5 didn't build, but that looks like an issue with icu, that is apparently fixed upstream in 5.15.5, so that needs to be updated, and calibre's rebuild is dependent on that.

As for webkit2 itself, at least these are dependent on it being rebuilt:
firefox geary aom slade tuxguitar vlc erlang
Comment 2 Jani Välimaa 2021-08-08 13:26:32 CEST
I'd say the failure is caused by webkit upstream commit:
https://trac.webkit.org/changeset/259734/webkit

I've now added -DGCC_OFFLINEASM_SOURCE_MAP=OFF to webkit2. Lets see if it fixes the build.
Comment 3 Jani Välimaa 2021-08-08 14:44:17 CEST
Build fixed in webkit2-2.32.3-1.mga9.

http://svnweb.mageia.org/packages?view=revision&revision=1740426

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.