Azure / Azure/static-web-apps

Blazor GitHub Action Error

Open
#753 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

When generating code from a GitHub repository it's failing. This behavior started about 2 days ago.

Reproducing the error:

1. Create Blazor WASM project
2. Upload to GitHub repo
3. Add workflow
4. Run trigger

These are the errors that appear on GitHub workflow:

> "/opt/dotnet/7.0.100-preview.1.22110.4/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Node.linux-x64/7.0.0-preview.1.22071.1/tools/bin/node" /opt/dotnet/7.0.100-preview.1.22110.4/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.linux-x64/7.0.0-preview.1.22071.1/tools/emscripten/src/compiler.js /tmp/tmpx7luthk8.txt
EXEC : error : undefined symbol: dotnet_browser_entropy (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols [/github/workspace/src/Client/Client.csproj]
EXEC : warning : To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0` [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _dotnet_browser_entropy may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_set_timeout (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_set_timeout may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_add_event_listener (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_add_event_listener may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_create_cs_owned_object (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_create_cs_owned_object may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_get_by_index (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_get_by_index may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_get_global_object (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_get_global_object may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_get_object_property (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_get_object_property may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_invoke_js_blazor (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_invoke_js_blazor may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_invoke_js_marshalled (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_invoke_js_marshalled may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_invoke_js_unmarshalled (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_invoke_js_unmarshalled may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_invoke_js_with_args (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_invoke_js_with_args may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_release_cs_owned_object (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_release_cs_owned_object may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_remove_event_listener (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_remove_event_listener may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_set_by_index (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_set_by_index may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_set_object_property (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_set_object_property may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_typed_array_copy_from (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_typed_array_copy_from may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_typed_array_copy_to (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_typed_array_copy_to may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_typed_array_from (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_typed_array_from may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: mono_wasm_typed_array_to_array (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _mono_wasm_typed_array_to_array may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: schedule_background_exec (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _schedule_background_exec may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_RuntimeTypeHandle_GetMetadataToken_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_RuntimeTypeHandle_GetMetadataToken_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_RuntimeTypeHandle_is_subclass_of_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_RuntimeTypeHandle_is_subclass_of_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_RuntimeType_GetGenericArgumentsInternal_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_RuntimeType_GetGenericArgumentsInternal_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_System_Enum_InternalBoxEnum_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_System_Enum_InternalBoxEnum_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_System_Enum_InternalGetUnderlyingType_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_System_Enum_InternalGetUnderlyingType_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : undefined symbol: ves_icall_System_RuntimeType_CreateInstanceInternal_raw (referenced by top-level compiled C/C++ code) [/github/workspace/src/Client/Client.csproj]
EXEC : warning : _ves_icall_System_RuntimeType_CreateInstanceInternal_raw may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/github/workspace/src/Client/Client.csproj]
EXEC : error : Aborting compilation due to previous errors [/github/workspace/src/Client/Client.csproj]
emcc : error : '/opt/dotnet/7.0.100-preview.1.22110.4/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Node.linux-x64/7.0.0-preview.1.22071.1/tools/bin/node /opt/dotnet/7.0.100-preview.1.22110.4/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.linux-x64/7.0.0-preview.1.22071.1/tools/emscripten/src/compiler.js /tmp/tmpx7luthk8.txt' failed (returned 1) [/github/workspace/src/Client/Client.csproj]
/opt/dotnet/7.0.100-preview.1.22110.4/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.0-preview.1.22076.8/Sdk/WasmApp.Native.targets(401,5): error MSB[307](https://github.com/mobiiti/Intelijus/runs/5484717574?check_suite_focus=true#step:4:307)3: The command "emcc "@/var/nuget/microsoft.netcore.app.runtime.mono.browser-wasm/6.0.1/runtimes/browser-wasm/native/src/emcc-default.rsp" "@/github/workspace/src/Client/obj/Release/net6.0/wasm/for-publish/emcc-link.rsp"" exited with code 1. [/github/workspace/src/Client/Client.csproj]

---End of Oryx build logs---
Oryx has failed to build the solution.

For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting

**Expected behavior**
GitHub Action should compile and deliver project to Static WebApps

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.