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

Installation error on macbook: HTTP Error 404 on wasm-binaries-arm64.tbz2 #19275

Closed
OceanOak opened this issue May 2, 2023 · 7 comments
Closed

Comments

@OceanOak
Copy link

OceanOak commented May 2, 2023

Version of emscripten/emsdk:
3.1.37
I've tried version 3.1.36, and it failed as well.

Failing command line in full:
git clone https://github.com/emscripten-core/emsdk.git && cd emsdk && ./emsdk install 3.1.37 && ./emsdk activate 3.1.37

Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2/wasm-binaries-arm64.tbz2': HTTP Error 404: Not Found

Full error

RUN git clone https://github.com/emscripten-core/emsdk.git   && cd emsdk   && ./emsdk install 3.1.37   && ./emsdk activate 3.1.37:
#0 0.216 Cloning into 'emsdk'...
#0 4.797 Resolving SDK version '3.1.37' to 'sdk-releases-7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2-64bit'
#0 4.797 Installing SDK 'sdk-releases-7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2-64bit'..
#0 4.797 Installing tool 'node-15.14.0-64bit'..
#0 4.797 Downloading: /home/dark/emsdk/zips/node-v15.14.0-linux-arm64.tar.xz from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v15.14.0-linux-arm64.tar.xz, 21182264 Bytes
#0 4.797  [----------------------------------------------------------------------------]
#0 11.31 Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2/wasm-binaries-arm64.tbz2': HTTP Error 404: Not Found
#0 11.31 error: installation failed!
#0 11.31 Unpacking '/home/dark/emsdk/zips/node-v15.14.0-linux-arm64.tar.xz' to '/home/dark/emsdk/node/15.14.0_64bit'
#0 11.31 Done installing tool 'node-15.14.0-64bit'.
#0 11.31 Installing tool 'releases-7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2-64bit'..
------
ERROR: failed to solve: executor failed running [/bin/sh -c git clone https://github.com/emscripten-core/emsdk.git   && cd emsdk   && ./emsdk install 3.1.37   && ./emsdk activate 3.1.37]: exit code: 1

More information:

  • Python3 —version : Python 3.11.2
  • chip M1 Pro
  • Accessing the URL from the browser I get:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Details>No such object: webassembly/emscripten-releases-builds/linux/7c905cfc1ca6699f6ccb288ae174902cfbdcf0a2/wasm-binaries-arm64.tbz2</Details>
</Error>
@sbc100
Copy link
Collaborator

sbc100 commented May 2, 2023

Are you running linux on that macbook? It looks like its trying to download the linux arm64 binaryen, rather than the macOS ones.

For linux binaries you need to use ./emsdk install latest-arm64-linux since we don't have linux arm64 binaries for all releases just yet.

@OceanOak
Copy link
Author

OceanOak commented May 2, 2023

This is really helpful. Thank you! I am running it inside a Docker container.
Do you have an estimated timeline for when you might have linux arm64 binaries available for all releases?

@sbc100
Copy link
Collaborator

sbc100 commented May 2, 2023

Currently there is a manual update step that someone (i.e. myself) has has to do for each release. While it would be nice to make it automatic and/or faster we don't currently have a plan for how to do it.

See emscripten-core/emsdk#547 for the background on this.

Also, I think this issue is a dup of emscripten-core/emsdk#1211

@sbc100
Copy link
Collaborator

sbc100 commented May 2, 2023

Is there some reason you can't use the native macOS toolchain?

@OceanOak
Copy link
Author

OceanOak commented May 3, 2023

Is there some reason you can't use the native macOS toolchain?

I'm working on a large project in an Ubuntu-based devcontainer

@jozefchutka
Copy link

Just hit the same issue with latest binaries missing. There seems to be a couple github issues and PR related to this topic. I wonder which one to track?

@sbc100
Copy link
Collaborator

sbc100 commented Jun 27, 2023

I re-opened emscripten-core/emsdk#547. We can follow up there.

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

3 participants