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

Fails on M1 (aarch64) Macs #2692

Closed
razzmatazz opened this issue Jul 31, 2022 · 3 comments
Closed

Fails on M1 (aarch64) Macs #2692

razzmatazz opened this issue Jul 31, 2022 · 3 comments

Comments

@razzmatazz
Copy link

Description

Current version of fake that uses dotnet-6 runtime cannot build FSAC or FAKE itself.

Repro steps

This is on M1/macOS:

  1. Checkout FAKE
  2. Do dotnet tool restore
  3. Do dotnet fake build

Expected behavior

Fake builds sucessfully.

Actual behavior

fake build fails with

<...>
Download of Fake.DotNet.Testing.NUnit 5.21.0-alpha004 done in 2 seconds. (434 kbit/s, 0 MB)
Script is not valid:
	unknown (1,0)-(1,0): Error FS0193: The specified file name or path is too long, or a component of the specified path is too long.
Performance:
<...>

Known workarounds

Apparently the issue is dotnet/runtime#63240 and the fix PR dotnet/runtime#68541 has been merged, but that is only to be included with dotnet/7 release/previews.

Related information

  • Operating system: macOS 12.5 on M1 Pro
  • Branch: main
  • .NET Runtime: dotnet/6 AND dotnet/7
@github-actions
Copy link
Contributor

Welcome to the FAKE community! Thank you so much for creating your first issue and therefore improving the project!

@razzmatazz
Copy link
Author

looks to be duplicate of #2626, sorry

@EverybodyKurts
Copy link

EverybodyKurts commented Jan 10, 2023

To everybody else that has come across this thread... I had the same problem on my arm64 macbook and solved it by uninstalling the dotnet 6 sdks and runtimes, including aspnet.core 6. I only have dotnet 7 installed on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants