#1143763 node-webfont: FTBFS: emcc: error: subprocess 1/4 failed (returned 1)! (cmdline: /usr/share/emscripten/emcc -c -O2 -Wall -fno-unroll-loops -Oz -g -sSTRICT -Werror -ffile-prefix-map=/usr/share/emscripten=/emsdk/emscripten -ffile-prefix-map=../../../../../../../../../usr/share/emscripten=/emsdk/emscripten -fdebug-compilation-dir=/emsdk/emscripten -DMAX_WEBGL_VERSION=1 -DGL_ENABLE_GET_PROC_ADDRESS=1 ../../../../../../../../../usr/share/emscripten/system/lib/gl/gl.c)

Package:
emscripten
Source:
emscripten
Submitter:
Santiago Vila
Date:
2026-08-06 00:27:03 UTC
Severity:
normal
Tags:
#1143763#5
Date:
2026-08-06 00:10:39 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-webfont, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
/!\ brotli/package.json not found
/!\ brotli/package.json not found
Unable to load brotli
Found debian/nodejs/additional_components
Adding component(s): is-eot
Adding component(s): is-ttf
Adding component(s): fast-xml-parser
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf b3b/node_modules/.cache b3b/.nyc_output
	rm -rf fast-xml-parser/node_modules/.cache fast-xml-parser/.nyc_output
	rm -rf is-eot/node_modules/.cache is-eot/.nyc_output
	rm -rf is-svg/node_modules/.cache is-svg/.nyc_output

[... snipped ...]

[ 77%] Linking CXX shared library libwoff2dec.so
[ 77%] Built target woff2dec
[ 88%] Building CXX object CMakeFiles/woff2_decompress.dir/src/woff2_decompress.cc.o
[100%] Linking CXX executable woff2_decompress
[100%] Built target woff2_decompress
make[3]: Leaving directory '/<<PKGBUILDDIR>>/wawoff2-build/woff2-native'
mkdir -p /<<PKGBUILDDIR>>/wawoff2/src/../../wawoff2-build/brotli-wasm
export ASFLAGS="" export ASFLAGS_FOR_BUILD="" export CFLAGS= [too-long-redacted] t -Werror=format-security" && \
    cd /<<PKGBUILDDIR>>/wawoff2/src/../../wawoff2-build/brotli-wasm && \
    emcmake cmake /<<PKGBUILDDIR>>/wawoff2/src/../../brotli -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 && \
    emmake make -j4
emcmake: cmake '/<<PKGBUILDDIR>>/wawoff2/src/../../brotli' -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/node in directory /<<PKGBUILDDIR>>/wawoff2-build/brotli-wasm
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

#1143763#10
Date:
2026-08-06 00:24:19 UTC
From:
To:
Source: node-webfont
Followup-For: Bug #1143763
Control: reassign -1 emscripten 6.0.5+dfsg+~1.41.5-1
Control: affects -1 src:node-webfont
Control: fixed -1 6.0.5+dfsg+~1.41.5-2

This is fixed in emscripten 6.0.5+dfsg+~1.41.5-2.

Hopefully I will succeed with the bts control flags.