-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Building Dart SDK fails at fetch dart
on Apple Silicon / DTK / macOS 11
#43488
Comments
Bumping this because I'm still unable to download the Dart SDK source code. I'd love to contribute to testing/patching for Apple Silicon as a host, but I'm currently blocked on this issue. |
\cc @a-siva @zanderso where's the best place to track this? If here, who can we poke to take a look? As @alexmarkley mentioned it's surely not here, but maybe @a-siva knows how to work around it since he has it working? Or maybe the docs needs an update for ARM? |
@jmagman Thank you, I'll take a look at that issue tracker and see what I can find. A cursory glance seems to show issues being tracked related to macOS 11 on both Intel and ARM, so hopefully there will be traction soon. I'm also a little concerned because the Dart project explicitly calls out Python 2 as a requirement, and Python 2 is super EOL at this point. |
Seems like this might be the most immediately applicable upstream issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1103275&q=component%3AInfra%3ESDK%20macos&can=2 In the issue it seems like partial workarounds are discussed, but I don't know enough about depot_tools to understand the discussion. |
Making Dart SDK buildable on Apple Sililcon is in-progress. @a-siva is working on this afaik. |
Some fixes have landed in MacPorts, and I was able to Now I'm hung up on what appears to be a CPU-bound process internal to This thing has been running for a couple of days now and I'm not sure how to measure its progress. I'll report upstream as well... |
More detailed notes upstream: https://bugs.chromium.org/p/chromium/issues/detail?id=1103275#c10 |
Stuck here as well. What is 3pp build of |
This appears to be fixed now. |
Marking as fixed. |
This is almost certainly not an issue in the Dart SDK proper, but an upstream tooling issue. That said I don't have a better place to report this, so here we go...
Steps to Reproduce
Follow these instruction on building the Dart SDK: https://github.com/dart-lang/sdk/wiki/Building
depot_tools
fetch dart
Observed Behavior
fetch dart
cannot download the Dart SDK source code as per the documentation.Expected Behavior
I would like to be able to download the Dart SDK source code.
Runtime Environment
Notes on Python 2
As per the comment at https://github.com/dart-lang/sdk/wiki/Building#python-2 I did also try installing
virtualenv
and creating a python2 virtualenv prior to fetching the SDK. This had no discernible effect, since the system default python is already python 2.7.Why am I trying to do this?
I realize that Dart is available to download for many architectures without compiling from source. I want a native (preferably "universal") toolchain for my Flutter iOS & macOS development purposes, with the ultimate goal of targeting universal macOS desktop binaries for my Flutter app. I am interested in helping in the porting effort by reporting issues I encounter, testing experimental builds, and even writing some patches if I can.
Log
The text was updated successfully, but these errors were encountered: