Package: emscripten
Version: 3.1.66~dfsg-2
Severity: serious

(Severity serious as it prevents emscripten from running using CMake)

Thanks for packaging a new version!

Trying to rebuild node-webfont, I ran into the following error:

    emmake make -j4
configure: cmake /<<PKGBUILDDIR>>/wawoff2/src/../../brotli 
-DCMAKE_BUILD_TYPE=Release 
-DCMAKE_TOOLCHAIN_FILE=/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake
 -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/node
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at 
/usr/share/emscripten/cmake/Modules/Platform/Emscripten.cmake:101 (message):
  Failed to fetch Emscripten version information with command
  "'/usr/share/emscripten/emcc' -v"!

  Process returned with error code no such file or directory.


CMake is trying to run the command: /usr/share/emscripten/emcc -v, but
the script is called /usr/share/emscripten/emcc.py

Possible solutions:

(1) Rename this (and presumably the other Python scripts in the same
directory) without the '.py' suffix.

(2) If the '.py' suffix is needed for other contexts, have a symlink
to them without the '.py' suffix.

I also noticed as I was trying to debug this that two of the scripts
do not have execute permission:

-rw-r--r-- 1 jdg jdg 62149 Sep  8 18:10 /usr/share/emscripten/emcc.py
-rw-r--r-- 1 jdg jdg 78775 Sep  8 18:10 /usr/share/emscripten/emrun.py

so this will also need fixing.

Best wishes,

   Julian

Reply via email to