Closed igiona closed 1 year ago
Additional information:
On a new machine, on which I never built the code from WSL, I'm getting the same error also without the above mentioned patch applied.
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : System.NotSupportedException: Failed to install emscripten [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.ValidateEmscripten() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 1279 [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.RunPackager() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 780 [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.Execute() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 262 [My.Wasm/My.Wasm.csproj]
Build FAILED.
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : System.NotSupportedException: Failed to install emscripten [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.ValidateEmscripten() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 1279 [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.RunPackager() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 780 [My.Wasm/My.Wasm.csproj]
$HOME/.nuget/packages/uno.wasm.bootstrap/8.0.0-dev.122/build/Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_v7dc900fc9c79e69d42d0fa4ec95841e1c93379ae.Execute() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 262 [My.Wasm/My.Wasm.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:07:23.30
Latest updates have fixes for the windows non-wsl build. Can you validate if you still need to build using WSL?
Thanks @jeromelaban , I tried from VS on my laptop and it worked!
On the freshly installed desktop I'm still having the issue:
$HOME\.nuget\packages\uno.wasm.bootstrap\8.0.0-dev.152\build\Uno.Wasm.Bootstrap.targets(207,3): error : System.Exception: Failed to run emscripten. More details are a
vailable in diagnostics logging mode or using the MSBuild /bl switch, see https://aka.platform.uno/msbuild-troubleshoot. [My.Wasm\My.Wasm.csproj]
$HOME\.nuget\packages\uno.wasm.bootstrap\8.0.0-dev.152\build\Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_vfbdb5fa3bdab291edd06d9421219
424ddc7093fe.RunPackager() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 740 [My.Wasm\My.Wasm.csproj]
$HOME\.nuget\packages\uno.wasm.bootstrap\8.0.0-dev.152\build\Uno.Wasm.Bootstrap.targets(207,3): error : at Uno.Wasm.Bootstrap.ShellTask_vfbdb5fa3bdab291edd06d9421219
424ddc7093fe.Execute() in /_/src/Uno.Wasm.Bootstrap/ShellTask.cs:line 263 [My.Wasm\My.Wasm.csproj]
Bin log provided.
Not sure if it's relevant, but on windows: on the freshly installed machine I've python 3.11.3 installed on the working laptop is on 3.10.8.
@jeromelaban thank you for the support.
Removing all dotnet-runtime-wasm_* folders from the %temp% folder fixed this issue!
After updating the Uno libs as per the following patch:
running the following command:
dotnet build /bl -c Release
from a WSL Ubuntu 22.04 installation results in the following error:See also the provided bin logs.