Hi,

On Mon, 16 Sep 2024 21:44:50 +0100 Julian Gilbey <j...@debian.org> wrote:
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.

(3) patch the code to find emcc in /usr/bin/

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.
Upstream dropped the executable flag, so maybe it's not meant to be called directly. /usr/bin/emcc calls it as an argument to $python.

Paul

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to