[Pkg-javascript-devel] Bug#1076388: node-xterm: Unable to build package node-xterm in Debian Trixie i386 due to LinkError in WebAssembly.Instance()
Sergei Semin
syominsergey at gmail.com
Mon Jul 15 16:28:52 BST 2024
Source: node-xterm
Version: 5.3.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: syominsergey at gmail.com
Dear Maintainer,
I have tried to build package node-xterm in Debian Trixie i386 but there was a failure in tests.
I was not able to reproduce this problem in Debian Trixie amd64.
Howto reproduce the problem.
Because I was not able to find Debian Trixie i386 installer, I took Debian Bookworm i386 installer "debian-12.6.0-i386-DVD-1.iso" from this page:
https://cdimage.debian.org/debian-cd/current/i386/iso-dvd/
After installation with minimum set of packages (I unselected all packages groups in installer and latter manually installed openssh client and server) I upgraded system
from this repositories:
deb http://deb.debian.org/debian bookworm contrib main non-free-firmware
deb-src http://deb.debian.org/debian bookworm contrib main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security contrib main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security contrib main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates contrib main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates contrib main non-free-firmware
Then I changed repos in file /etc/apt/sources.list to trixie:
deb http://deb.debian.org/debian trixie contrib main non-free-firmware
deb-src http://deb.debian.org/debian trixie contrib main non-free-firmware
deb http://deb.debian.org/debian-security/ trixie-security contrib main non-free-firmware
deb-src http://deb.debian.org/debian-security/ trixie-security contrib main non-free-firmware
deb http://deb.debian.org/debian trixie-updates contrib main non-free-firmware
deb-src http://deb.debian.org/debian trixie-updates contrib main non-free-firmware
And upgraded system again with "apt dist-upgrade".
After that I installed build deps for node-xterm with "apt build-dep node-xterm" and downloaded sources of node-xterm with "apt source node-xterm".
I got node-xterm sources with version "node-xterm_5.3.0-2".
Then I entered into folder with extracted sources of node-xterm and ran "dpkg-buildpackage -uc -us". And I got many errors in tests look like:
```
LinkError: WebAssembly.Instance(): memory import 0 has no maximum limit, expected at most 4294967295
```
I'll try to send full build log later in next message.
I expected to build package successfully, but unfortunately there was an error.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 6.9.8-686 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Pkg-javascript-devel
mailing list