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

[wasm] 7.0 - Having Space In Path Fails Builds On MacOS #92335

Closed
1 task done
Eddie-Hartman opened this issue Sep 19, 2023 · 7 comments · Fixed by dotnet/emsdk#611
Closed
1 task done

[wasm] 7.0 - Having Space In Path Fails Builds On MacOS #92335

Eddie-Hartman opened this issue Sep 19, 2023 · 7 comments · Fixed by dotnet/emsdk#611
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono
Milestone

Comments

@Eddie-Hartman
Copy link

Eddie-Hartman commented Sep 19, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm writing an app and have everything working fine in Windows, but when I go to build in MacOS, I get the error below about a path not being found. Again, this builds just fine in Windows, but it seems like there is some sort of issue with how this is getting build in MacOS to not find the path.

I was uncertain about whether this belongs here or in the .net SDK repo. Please let me know.

/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Failed to compile /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/src/corebindings.c -> /Users/work/Repos/SNBI Collector/SNBI Collector/obj/Debug/net7.0/wasm/for-build/corebindings.o [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : emcc: warning: linker setting ignored during compilation: 'ASSERTIONS' [-Wunused-command-line-argument] [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error :  "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.osx-x64/7.0.11/tools/bin/clang" -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.osx-x64/7.0.11/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O0 -g3 -v -DDISABLE_PERFTRACING_LISTEN_PORTS=1 -DLINK_ICALLS=1 -DCORE_BINDINGS -DGEN_PINVOKE=1 -emit-llvm "-I/Users/work/Repos/SNBI Collector/SNBI Collector/obj/Debug/net7.0/wasm/for-build" -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/include/mono-2.0 -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/include/wasm -g3 -c /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/src/corebindings.c -o /var/folders/3t/574g1q450jj66ywvxlrkznrc0000gn/T/tmpKMJ80k.tmp [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724) [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Target: wasm32-unknown-emscripten [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Thread model: posix [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : InstalledDir: /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.osx-x64/7.0.11/tools/bin [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang-15: error: no such file or directory: 'Collector/SNBI' [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]
/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang-15: error: no such file or directory: 'Collector/obj/Debug/net7.0/wasm/for-build'

Expected Behavior

MacOS builds should not fail if a project has a space in the name.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

7.0.306

Anything else?

VS4Mac.
Also tried building via the command line.

botnet info:

`.NET SDK:
Version: 7.0.306
Commit: f500069cb7

Runtime Environment:
OS Name: Mac OS X
OS Version: 13.5
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.306/

Host:
Version: 7.0.9
Architecture: arm64
Commit: 8e9a17b

.NET SDKs installed:
6.0.402 [/usr/local/share/dotnet/sdk]
6.0.404 [/usr/local/share/dotnet/sdk]
6.0.405 [/usr/local/share/dotnet/sdk]
6.0.408 [/usr/local/share/dotnet/sdk]
6.0.410 [/usr/local/share/dotnet/sdk]
6.0.412 [/usr/local/share/dotnet/sdk]
7.0.101 [/usr/local/share/dotnet/sdk]
7.0.102 [/usr/local/share/dotnet/sdk]
7.0.203 [/usr/local/share/dotnet/sdk]
7.0.302 [/usr/local/share/dotnet/sdk]
7.0.304 [/usr/local/share/dotnet/sdk]
7.0.305 [/usr/local/share/dotnet/sdk]
7.0.306 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
x64 [/usr/local/share/dotnet/x64]
registered at [/etc/dotnet/install_location_x64]

Environment variables:
Not set

global.json file:
Not found

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

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

@javiercn javiercn transferred this issue from dotnet/aspnetcore Sep 20, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 20, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 20, 2023
@jkotas jkotas added area-Build-mono arch-wasm WebAssembly architecture labels Sep 20, 2023
@ghost
Copy link

ghost commented Sep 20, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm writing an app and have everything working fine in Windows, but when I go to build in MacOS, I get the error below about a path not being found. Again, this builds just fine in Windows, but it seems like there is some sort of issue with how this is getting build in MacOS to not find the path.

I was uncertain about whether this belongs here or in the .net SDK repo. Please let me know.

/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Failed to compile /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/src/corebindings.c -> /Users/work/Repos/SNBI Collector/SNBI Collector/obj/Debug/net7.0/wasm/for-build/corebindings.o [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : emcc: warning: linker setting ignored during compilation: 'ASSERTIONS' [-Wunused-command-line-argument] [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.osx-x64/7.0.11/tools/bin/clang" -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.osx-x64/7.0.11/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O0 -g3 -v -DDISABLE_PERFTRACING_LISTEN_PORTS=1 -DLINK_ICALLS=1 -DCORE_BINDINGS -DGEN_PINVOKE=1 -emit-llvm "-I/Users/work/Repos/SNBI Collector/SNBI Collector/obj/Debug/net7.0/wasm/for-build" -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/include/mono-2.0 -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/include/wasm -g3 -c /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.11/runtimes/browser-wasm/native/src/corebindings.c -o /var/folders/3t/574g1q450jj66ywvxlrkznrc0000gn/T/tmpKMJ80k.tmp [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724) [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Target: wasm32-unknown-emscripten [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : Thread model: posix [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : InstalledDir: /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.osx-x64/7.0.11/tools/bin [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang-15: error: no such file or directory: 'Collector/SNBI' [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj] /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.11/Sdk/WasmApp.Native.targets(326,5): error : clang-15: error: no such file or directory: 'Collector/obj/Debug/net7.0/wasm/for-build'

Expected Behavior

MacOS builds should not fail if a project has a space in the name.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

7.0.306

Anything else?

VS4Mac.
Also tried building via the command line.

botnet info:

`.NET SDK:
Version: 7.0.306
Commit: f500069cb7

Runtime Environment:
OS Name: Mac OS X
OS Version: 13.5
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.306/

Host:
Version: 7.0.9
Architecture: arm64
Commit: 8e9a17b

.NET SDKs installed:
6.0.402 [/usr/local/share/dotnet/sdk]
6.0.404 [/usr/local/share/dotnet/sdk]
6.0.405 [/usr/local/share/dotnet/sdk]
6.0.408 [/usr/local/share/dotnet/sdk]
6.0.410 [/usr/local/share/dotnet/sdk]
6.0.412 [/usr/local/share/dotnet/sdk]
7.0.101 [/usr/local/share/dotnet/sdk]
7.0.102 [/usr/local/share/dotnet/sdk]
7.0.203 [/usr/local/share/dotnet/sdk]
7.0.302 [/usr/local/share/dotnet/sdk]
7.0.304 [/usr/local/share/dotnet/sdk]
7.0.305 [/usr/local/share/dotnet/sdk]
7.0.306 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.18 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.20 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
x64 [/usr/local/share/dotnet/x64]
registered at [/etc/dotnet/install_location_x64]

Environment variables:
Not set

global.json file:
Not found

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

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

Author: Eddie-Hartman
Assignees: -
Labels:

arch-wasm, untriaged, area-Build-mono, needs-area-label

Milestone: -

@jkotas jkotas removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 20, 2023
@Eddie-Hartman
Copy link
Author

Just wanted to add an extra detail, I changed my parent app directory to not have a space and it built fine. I wasn't sure if the issue was having a csproj file/folder with a space in the name or if it was related to the parent directory. It appears to be an issue with the parent directory. So to be clear:

My repo of "SNBI Collector/SNBI Collector" (repo/project) breaks, but "SNBICollector/SNBI Collector" (repo/project) works fine.

@radical radical changed the title Having Space In Path Fails Builds On MacOS [wasm] 7.0 - Having Space In Path Fails Builds On MacOS Sep 20, 2023
@radical radical added this to the 7.0.x milestone Sep 20, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 20, 2023
@radical
Copy link
Member

radical commented Sep 20, 2023

@ilonatommy could you please check if this is also an issue on 8.0? We had some fixes around this, maybe they need to be backported.

@radical radical removed this from the 7.0.x milestone Sep 20, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 20, 2023
@Eddie-Hartman
Copy link
Author

I can maybe get to it at the end of the week, but this isn't critical to me so I'm not in a big rush especially since renaming the path at least got me temporarily where I need to be.

I'm aware that's a vague non-committal answer, but again this was more about awareness than a critical issue for me atm.

@radical
Copy link
Member

radical commented Sep 20, 2023

@Eddie-Hartman thank you, that is helpful!

@Eddie-Hartman
Copy link
Author

@radical I updated to .net 8.0 rc1 and had the same errors:

dotnet build
MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET

...

/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.0-rc.1.23419.4/Sdk/WasmApp.Native.targets(361,5): error : clang-16: error: no such file or directory: 'Collector/SNBI' [/Users/work/Repos/SNBI Collector/SNBI Collector/SNBI Collector.csproj]

The logs are pretty long, and pretty much the same as above.

@pavelsavara pavelsavara added this to the 9.0.0 milestone Oct 19, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Oct 19, 2023
@ilonatommy
Copy link
Member

ilonatommy commented Nov 8, 2023

As mentioned in the linked PR, the problem on Unix does not occur with clang 17.0. Net 7 had 15.0 and currently we're shipping 16.0 and the last bump was quite recent dotnet/llvm-project#418. @lewing, from what I read we should not update it in net8, what do you think?

Update: the problem was not tied to version but to the source of clang, the one coming from emsdk passes args with spaces but dotnet's version did not allow them.

vargaz added a commit to vargaz/emsdk that referenced this issue Nov 22, 2023
github-actions bot pushed a commit to dotnet/emsdk that referenced this issue Nov 22, 2023
akoeplinger added a commit to dotnet/emsdk that referenced this issue Nov 22, 2023
* Fix clang-wrapper.sh so it handles arguments with spaces.

Fixes dotnet/runtime#92335.

* Update eng/clang-wrapper.sh

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>

---------

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
lewing pushed a commit to dotnet/emsdk that referenced this issue Dec 5, 2023
…s. (#612)

* Fix clang-wrapper.sh so it handles arguments with spaces.

Fixes dotnet/runtime#92335.

* Update eng/clang-wrapper.sh

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>

---------

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants