Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832006

Summary: net-libs/webkit-gtk-2.34.4: failing to compile (assert 2 ** math.log(memoryBits, 2) == memoryBits)
Product: Gentoo Linux Reporter: Peter <plobster>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugzilla, leio
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Peter 2022-01-24 21:21:25 UTC
net-libs/webkit-gtk-2.34.4 is failing to build. 


[750/5045] cd /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkit-gtk-2.34.4_build/Source/JavaScriptCore && /usr/bin/python3.10 /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/generateWasmOpsHeader.py /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/wasm.json /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkit-gtk-2.34.4_build/JavaScriptCore/DerivedSources/WasmOps.h
FAILED: JavaScriptCore/DerivedSources/WasmOps.h /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkit-gtk-2.34.4_build/JavaScriptCore/DerivedSources/WasmOps.h 
cd /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkit-gtk-2.34.4_build/Source/JavaScriptCore && /usr/bin/python3.10 /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/generateWasmOpsHeader.py /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/wasm.json /var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkit-gtk-2.34.4_build/JavaScriptCore/DerivedSources/WasmOps.h
Traceback (most recent call last):
  File "/var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/generateWasmOpsHeader.py", line 186, in <module>
    memoryLog2AlignmentLoads = memoryLog2AlignmentGenerator(lambda op: (op["category"] == "memory" and len(op["return"]) == 1))
  File "/var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/generateWasmOpsHeader.py", line 175, in memoryLog2AlignmentGenerator
    result.append("    case " + wasm.toCpp(op["name"]) + ": return " + memoryLog2Alignment(op) + ";")
  File "/var/tmp/portage/net-libs/webkit-gtk-2.34.4/work/webkitgtk-2.34.4/Source/JavaScriptCore/wasm/generateWasm.py", line 138, in memoryLog2Alignment
    assert 2 ** math.log(memoryBits, 2) == memoryBits
AssertionError


Seems like it could be an upstream issue...
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-24 21:27:58 UTC
Please attach the full build.log and emerge --info.
Comment 2 Peter 2022-01-24 21:29:10 UTC
Created attachment 763539 [details]
build.log
Comment 3 Peter 2022-01-24 21:38:54 UTC
Created attachment 763541 [details]
emerge --info
Comment 4 Mart Raudsepp gentoo-dev 2024-04-13 15:51:46 UTC
I believe this was fixed via bug 920704

*** This bug has been marked as a duplicate of bug 920704 ***