dotnet/sdk

[NETSDKE2E][ARM64][Regression] Publishing blazorwasm project failed with error MSB3073: The command "embuilder.bat build MINIMAL" exited with code 1.

WenJunJi01 opened this issue · 9 comments

Steps to reproduce:

  1. Install .NET 8 Preview 3 SDK from https://aka.ms/dotnet/8.0.1xx/daily/dotnet-sdk-win-arm64.exe
  2. Install wasm-tools
    dotnet workload install wasm-tools --skip-manifest-update
  3. New blazorWasm: dotnet new blazorwasm
  4. Run dotnet publish

Expected Result:
Publish should be successfully.

Actual Result:
Publishing blazorwasm project failed with error MSB3073: The command "embuilder.bat build MINIMAL" exited with code 1.
image

dotnet info:
.NET SDK:
Version: 8.0.100-preview.3.23170.22
Commit: 37b628c

Runtime Environment:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win10-arm64
Base Path: D:\Program Files\dotnet\sdk\8.0.100-preview.3.23170.22\

.NET workloads installed:
There are no installed workloads to display.

Host:
Version: 8.0.0-preview.3.23170.7
Architecture: arm64
Commit: 059898f8c0

.NET SDKs installed:
8.0.100-preview.3.23170.22 [D:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0-preview.3.23170.11 [D:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0-preview.3.23170.7 [D:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.0-preview.3.23169.1 [D:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x64 [D:\Program Files\dotnet\x64]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]
x86 [D:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@lewing Looks like this issue might be specific to wasm-tools on ARM.

I think the lastest builds shouldn't have this problem but @radekdoulik would know for sure

@lewing @radekdoulik This issue still exists with the latest build(.net8.0.100-preview.3.23177.13) installed on Win ARM64.
image

I think the lastest builds shouldn't have this problem but @radekdoulik would know for sure

this should be fixed by dotnet/runtime#83475. @lewing do we need to backport it to preview3?

Hi @radekdoulik, with the latest .NET 8 Preview 3 SDK (8.0.100-preview.3.23178.7) installed, error MSB3073 still occurs.
Besides, an "Emscripten Deadlocked" warning appears during the publishing. It also occurs on win-x64, and there is a existing bug(#31209) tracking this warning.
image

Not repro with .NET 8 Preview 4 SDK: 8.0.100-preview.4.23205.4(runtime-8.0.0-preview.4.23181.2) installed on Win ARM64.
image

the cache locking problem should be fixed with dotnet/runtime#84356

This issue is also not repro with 8.0.100-preview.4.23207.7 (runtime- 8.0.0-preview.4.23181.2) installed. Close it as fixed.