Public bug reported:

The emscripten package (Ubuntu 26.04 LTS testing) seems like it has its
em++'s html-minifier-terser path hard-coded to some random directory.
It is triggered by -sMINIFY_HTML=1.  Turning it to 0, allows
compilation, but obviously it is not optimized.

Here's what I get:

$ html-minifier-terser --version
7.2.0

$ cmake --build bin
[1/3] Linking CXX executable index.html
FAILED: [code=1] index.html 
: && /usr/share/emscripten/em++ -O3 -DNDEBUG -s WASM=1 -sALLOW_MEMORY_GROWTH 
-sASYNCIFY -sOFFSCREENCANVAS_SUPPORT=1 --bind --preload-file 
/home/gga/code/lib/fltk_emscripten/images@. --shell-file 
/home/gga/code/lib/fltk_emscripten/shell_minimal.html -Wl,--strip-all 
CMakeFiles/index.dir/src/index.cpp.o -o index.html 
-L/home/gga/code/lib/fltk_emscripten/bin/_deps/fltk-build/src/../lib 
_deps/fltk-build/lib/libfltk.a  _deps/fltk-build/lib/libfltk_images.a  
_deps/fltk-build/lib/libfltk.a  _deps/fltk-build/lib/libfltk_png.a  
_deps/fltk-build/lib/libfltk_z.a  _deps/fltk-build/lib/libfltk_jpeg.a && :
em++: error: html-minifier-terser was not found! Please report this as a bug 
against emscripten - more info at https://www.debian.org/Bugs/Reporting

To reproduce:

$ git clone https://github.com/MoAlyousef/fltk_emscripten
$ config.sh
$ build.sh

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: node-html-minifier-terser 7.2.0~5.5.3+repack2-1
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 11 13:11:04 2026
Dependencies:
 node-clean-css 5.3.3+~5.6.3-4ubuntu1
 node-commander 14.0.3-7
 node-entities 4.5.0+dfsg-1
 node-relateurl 5.5.3+repack2-1
 node-terser 5.46.1-4
InstallationDate: Installed on 2025-11-17 (328 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
PackageArchitecture: all
SourcePackage: node-html-webpack-plugin
UpgradeStatus: Upgraded to resolute on 2026-05-20 (144 days ago)

** Affects: node-html-webpack-plugin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170501

Title:
  node-html-minifier-teaser is not installed in the proper path for em++

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-html-webpack-plugin/+bug/2170501/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to