Skip to content

[wasm] Surface errors from emcc --version, like missing python #61067

Closed

Description

@radical

Based on #60274 .

Missing python, for example, shows up in the logs as:

Environment Variables passed to tool: (TaskId:476)
...
  PATH=/usr/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Node.linux-x64/6.0.0-rc.2.21474.1/Sdk/../tools/bin:/usr/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.linux-x64/6.0.0-rc.2.21474.1/Sdk/../tools/bin:/usr/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.linux-x64/6.0.0-rc.2.21474.1/Sdk/../tools/emscripten:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin (TaskId:476)

emcc --version (TaskId:476)
unable to find python in $PATH (TaskId:476)

.. but for the user:

dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/6.0.0-rc.1.21451.13/Sdk/WasmApp.Native.targets(394,5):
  error MSB3073: The command "emcc --version" exited with code 1. 

Activity

  1. added
    arch-wasm
    on Nov 1, 2021
  2. self-assigned this
    on Nov 1, 2021
  3. ghost added
    untriaged
    on Nov 1, 2021
  4. removed
    untriaged
    on Nov 1, 2021
  5. added a commit that references this issue on Nov 10, 2021
    4952db9
  6. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2021
  7. added a commit that references this issue on Feb 7, 2022
    b0762e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Build-mono

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions