Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
WenJunJi01 opened this issue Mar 21, 2023 · 9 comments
Labels
Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member

Comments

@WenJunJi01
Copy link
Member

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

@dotnet-issue-labeler
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Mar 21, 2023
@marcpopMSFT marcpopMSFT added the Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch label Mar 21, 2023
@danroth27
Copy link
Member

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

@lewing
Copy link
Member

lewing commented Mar 27, 2023

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

@v-jieyan2
Copy link

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

@radekdoulik
Copy link
Member

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?

@WenJunJi01
Copy link
Member Author

WenJunJi01 commented Apr 3, 2023

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

@WenJunJi01
Copy link
Member Author

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

@radekdoulik
Copy link
Member

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

@WenJunJi01
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

6 participants