Skip to content

Regression running 'emsdk list' on Ubuntu Linux/Aarch64 #548

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

Closed
bvibber opened this issue Jul 11, 2020 · 0 comments · Fixed by #549
Closed

Regression running 'emsdk list' on Ubuntu Linux/Aarch64 #548

bvibber opened this issue Jul 11, 2020 · 0 comments · Fixed by #549

Comments

@bvibber
Copy link
Contributor

bvibber commented Jul 11, 2020

It looks like something went wrong with the listings of available items in the emsdk tool when running on Linux/Aarch64 (ARM64):

$ ./emsdk list

Warning: your platform does not have precompiled SDKs available.
You may install components from source.

All recent (non-legacy) installable versions are:
Traceback (most recent call last):
  File "./emsdk.py", line 3136, in <module>
    sys.exit(main())
  File "./emsdk.py", line 2935, in main
    print('         %s    %s' % (ver, installed_sdk_text('sdk-releases-upstream-%s-64bit' % get_release_hash(ver, releases_info))))
  File "./emsdk.py", line 2910, in installed_sdk_text
    return 'INSTALLED' if find_sdk(name).is_installed() else ''
AttributeError: 'NoneType' object has no attribute 'is_installed'

I'll see if I can figure out what's going on...

bvibber added a commit to bvibber/emsdk that referenced this issue Jul 11, 2020
On platforms with no supported binary SDKs to download, find_sdk
can return None which caused a check in the "list" command to fail.
Checking for the return value before making method calls fixes this,
and allows Linux/ARM64 to run "emsdk list" and then build an SDK
from source.

Fixes emscripten-core#548
sbc100 pushed a commit that referenced this issue Jul 12, 2020
On platforms with no supported binary SDKs to download, find_sdk
can return None which caused a check in the "list" command to fail.
Checking for the return value before making method calls fixes this,
and allows Linux/ARM64 to run "emsdk list" and then build an SDK
from source.

Fixes #548
vargaz pushed a commit to vargaz/emsdk that referenced this issue Nov 22, 2023
…010.4 (emscripten-core#548)

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.Sdk
 From Version 9.0.0-beta.23508.1 -> To Version 9.0.0-beta.23510.4

Dependency coherency updates

Microsoft.DotNet.XliffTasks
 From Version 1.0.0-beta.23502.1 -> To Version 1.0.0-beta.23509.1 (parent: Microsoft.DotNet.Arcade.Sdk

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com.>
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

Successfully merging a pull request may close this issue.

1 participant