-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsIs there an existing issue for this?
Describe the bugI'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.
Expected BehaviorMacOS builds should not fail if a project has a space in the name. Steps To ReproduceNo response Exceptions (if any)No response .NET Version7.0.306 Anything else?VS4Mac. botnet info: `.NET SDK: Runtime Environment: Host: .NET SDKs installed: .NET runtimes installed: Other architectures found: Environment variables: global.json file: Learn more: Download .NET:
|
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. |
@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. |
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. |
@Eddie-Hartman thank you, that is helpful! |
@radical I updated to .net 8.0 rc1 and had the same errors:
The logs are pretty long, and pretty much the same as above. |
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. |
* 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 <[email protected]> --------- Co-authored-by: Alexander Köplinger <[email protected]>
…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 <[email protected]> --------- Co-authored-by: Zoltan Varga <[email protected]> Co-authored-by: Alexander Köplinger <[email protected]>
Is there an existing issue for this?
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.
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`
The text was updated successfully, but these errors were encountered: