[Pkg-javascript-devel] Bug#1086880: wabt: Compile error on loongarch platform

wuruilong wuruilong at loongson.cn
Thu Nov 7 02:36:24 GMT 2024


Source: wabt
Version: 1.0.34+dsfg2+~cs1.0.32-1
Severity: normal
X-Debbugs-Cc: wuruilong at loongson.cn

Dear Maintainer,

wabt compiles incorrectly on loongarch because of a package issue with emscripten that the new version depends on, now submit a temporary patch that can compile over wabt on the loongarch platform. the attached patch is a temporary patch, if there is someone who needs this package, you can use the attachment to compile it.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
--- wabt-1.0.34+dsfg2+~cs1.0.32/debian/rules	2024-02-16 16:13:28.000000000 +0000
+++ wabt/debian/rules	2024-11-05 06:09:56.096438438 +0000
@@ -29,7 +29,6 @@
 	 CPPFLAGS='$(JSCPPFLAGS)' \
 		cmake -G Ninja -S ../../.. \
 			-B . \
-			-DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake \
 			-DCMAKE_BUILD_TYPE=Release \
 			-DBUILD_TESTS=OFF \
 			-DCMAKE_VERBOSE_MAKEFILE=ON
@@ -41,7 +40,6 @@
 	LDFLAGS='$(JSLDFLAGS)' \
 	CPPFLAGS='$(JSCPPFLAGS)' \
 		ninja -v
-	cp $(OUTJS)/libwabt.js node-wabt-js/index.js
 #	mkdir node-wabt-js/bin
 #	set -e ; for tool in $(WABT_TOOLS); do \
 #		echo '#!/usr/bin/env node' > "node-wabt-js/bin/$$tool"; \



More information about the Pkg-javascript-devel mailing list