Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"error: GitHub API: more that one release selected" #5281

Open
jedisct1 opened this issue Dec 4, 2024 · 3 comments
Open

"error: GitHub API: more that one release selected" #5281

jedisct1 opened this issue Dec 4, 2024 · 3 comments
Assignees

Comments

@jedisct1
Copy link

jedisct1 commented Dec 4, 2024

The wasmer create-exe command fails with error: GitHub API: more that one release selected for target aarch64-apple-darwin.

$ wasmer -vV

wasmer 5.0.2 (??????? 2024-11-22)
binary: wasmer-cli
commit-hash:
commit-date: 2024-11-22
host: aarch64-apple-darwin
compiler: cranelift
c_api backend:

Steps to reproduce

brew install wasmer
touch index.wasm # wasm module content isn't relevant as error happens before parsing
wasmer create-exe -o index.exe index.wasm

Expected behavior

The executable file is created.

Actual behavior

error: GitHub API: more that one release selected for target aarch64-apple-darwin: [Object {"browser_download_url": String("https://github.com/wasmerio/wasmer/releases/download/v5.0.2/wasmer-darwin-arm64.tar.gz"), "content_type": String("application/gzip"), "created_at": String("2024-11-22T20:59:20Z"), "download_count": Number(79), "id": Number(208424438), "label": String(""), "name": String("wasmer-darwin-arm64.tar.gz"), "node_id": String("RA_kwDOCRgRGs4MbE32"), "size": Number(87597933), "state": String("uploaded"), "updated_at": String("2024-11-22T20:59:21Z"), "uploader": Object {"avatar_url": String("https://avatars.githubusercontent.com/in/15368?v=4"), "events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}"),
...

Additional context

macOS 15.1.1, wasmer 5.0.2

@xdoardo xdoardo self-assigned this Dec 5, 2024
@xdoardo
Copy link
Contributor

xdoardo commented Dec 5, 2024

Thanks for the report. I'll investigate.

@marcinbugaj
Copy link

The same on ubuntu 22.04:

root@a594688c726d:/cowsay# wasmer -vV
wasmer 5.0.2 (f910351 2024-11-22)
binary: wasmer-cli
commit-hash: f910351560663f43920e0bc52549190c7c82aac9
commit-date: 2024-11-22
host: x86_64-unknown-linux-gnu
compiler: singlepass,cranelift,llvm
c_api backend: 

Error:

error: GitHub API: more that one release selected for target x86_64-unknown-linux-gnu: [Object {"browser_download_url": String("https://github.com/wasmerio/wasmer/releases/download/v5.0.2/wasmer-linux-amd64.tar.gz"), "content_type": String("application/gzip"), "created_at": String("2024-11-22T20:58:51Z"), "download_count": Number(3802), "id": Number(208424356), "label": String(""), "name": String("wasmer-linux-amd64.tar.gz"), "node_id": String("RA_kwDOCRgRGs4MbE2k"), "size": Number(101594653), "state": String("uploaded"), "updated_at": String("2024-11-22T20:58:53Z"), "uploader": Object {"avatar_url": String("https://avatars.githubusercontent.com/in/15368?v=4"), "events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}"), "followers_url": String("https://api.github.com/users/github-actions%5Bbot%5D/followers"), "following_url": String("https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}"), "gists_url": String("https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}"), "gravatar_id": String(""), "html_url": String("https://github.com/apps/github-actions"), "id": Number(41898282), "login": String("github-actions[bot]"), "node_id": String("MDM6Qm90NDE4OTgyODI="), "organizations_url": String("https://api.github.com/users/github-actions%5Bbot%5D/orgs"), "received_events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/received_events"), "repos_url": String("https://api.github.com/users/github-actions%5Bbot%5D/repos"), "site_admin": Bool(false), "starred_url": String("https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}"), "subscriptions_url": String("https://api.github.com/users/github-actions%5Bbot%5D/subscriptions"), "type": String("Bot"), "url": String("https://api.github.com/users/github-actions%5Bbot%5D"), "user_view_type": String("public")}, "url": String("https://api.github.com/repos/wasmerio/wasmer/releases/assets/208424356")}, Object {"browser_download_url": String("https://github.com/wasmerio/wasmer/releases/download/v5.0.2/wasmer-v8-linux-amd64.tar.gz"), "content_type": String("application/gzip"), "created_at": String("2024-11-22T20:58:53Z"), "download_count": Number(20), "id": Number(208424363), "label": String(""), "name": String("wasmer-v8-linux-amd64.tar.gz"), "node_id": String("RA_kwDOCRgRGs4MbE2r"), "size": Number(81134362), "state": String("uploaded"), "updated_at": String("2024-11-22T20:58:55Z"), "uploader": Object {"avatar_url": String("https://avatars.githubusercontent.com/in/15368?v=4"), "events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}"), "followers_url": String("https://api.github.com/users/github-actions%5Bbot%5D/followers"), "following_url": String("https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}"), "gists_url": String("https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}"), "gravatar_id": String(""), "html_url": String("https://github.com/apps/github-actions"), "id": Number(41898282), "login": String("github-actions[bot]"), "node_id": String("MDM6Qm90NDE4OTgyODI="), "organizations_url": String("https://api.github.com/users/github-actions%5Bbot%5D/orgs"), "received_events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/received_events"), "repos_url": String("https://api.github.com/users/github-actions%5Bbot%5D/repos"), "site_admin": Bool(false), "starred_url": String("https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}"), "subscriptions_url": String("https://api.github.com/users/github-actions%5Bbot%5D/subscriptions"), "type": String("Bot"), "url": String("https://api.github.com/users/github-actions%5Bbot%5D"), "user_view_type": String("public")}, "url": String("https://api.github.com/repos/wasmerio/wasmer/releases/assets/208424363")}, Object {"browser_download_url": String("https://github.com/wasmerio/wasmer/releases/download/v5.0.2/wasmer-wamr-linux-amd64.tar.gz"), "content_type": String("application/gzip"), "created_at": String("2024-11-22T20:58:55Z"), "download_count": Number(44), "id": Number(208424371), "label": String(""), "name": String("wasmer-wamr-linux-amd64.tar.gz"), "node_id": String("RA_kwDOCRgRGs4MbE2z"), "size": Number(77676463), "state": String("uploaded"), "updated_at": String("2024-11-22T20:58:57Z"), "uploader": Object {"avatar_url": String("https://avatars.githubusercontent.com/in/15368?v=4"), "events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}"), "followers_url": String("https://api.github.com/users/github-actions%5Bbot%5D/followers"), "following_url": String("https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}"), "gists_url": String("https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}"), "gravatar_id": String(""), "html_url": String("https://github.com/apps/github-actions"), "id": Number(41898282), "login": String("github-actions[bot]"), "node_id": String("MDM6Qm90NDE4OTgyODI="), "organizations_url": String("https://api.github.com/users/github-actions%5Bbot%5D/orgs"), "received_events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/received_events"), "repos_url": String("https://api.github.com/users/github-actions%5Bbot%5D/repos"), "site_admin": Bool(false), "starred_url": String("https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}"), "subscriptions_url": String("https://api.github.com/users/github-actions%5Bbot%5D/subscriptions"), "type": String("Bot"), "url": String("https://api.github.com/users/github-actions%5Bbot%5D"), "user_view_type": String("public")}, "url": String("https://api.github.com/repos/wasmerio/wasmer/releases/assets/208424371")}, Object {"browser_download_url": String("https://github.com/wasmerio/wasmer/releases/download/v5.0.2/wasmer-wasmi-linux-amd64.tar.gz"), "content_type": String("application/gzip"), "created_at": String("2024-11-22T20:58:57Z"), "download_count": Number(22), "id": Number(208424382), "label": String(""), "name": String("wasmer-wasmi-linux-amd64.tar.gz"), "node_id": String("RA_kwDOCRgRGs4MbE2-"), "size": Number(78367756), "state": String("uploaded"), "updated_at": String("2024-11-22T20:58:59Z"), "uploader": Object {"avatar_url": String("https://avatars.githubusercontent.com/in/15368?v=4"), "events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}"), "followers_url": String("https://api.github.com/users/github-actions%5Bbot%5D/followers"), "following_url": String("https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}"), "gists_url": String("https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}"), "gravatar_id": String(""), "html_url": String("https://github.com/apps/github-actions"), "id": Number(41898282), "login": String("github-actions[bot]"), "node_id": String("MDM6Qm90NDE4OTgyODI="), "organizations_url": String("https://api.github.com/users/github-actions%5Bbot%5D/orgs"), "received_events_url": String("https://api.github.com/users/github-actions%5Bbot%5D/received_events"), "repos_url": String("https://api.github.com/users/github-actions%5Bbot%5D/repos"), "site_admin": Bool(false), "starred_url": String("https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}"), "subscriptions_url": String("https://api.github.com/users/github-actions%5Bbot%5D/subscriptions"), "type": String("Bot"), "url": String("https://api.github.com/users/github-actions%5Bbot%5D"), "user_view_type": String("public")}, "url": String("https://api.github.com/repos/wasmerio/wasmer/releases/assets/208424382")}]

@marcinbugaj
Copy link

marcinbugaj commented Dec 6, 2024

Manually downloading the tarball from releases and specifying --tarball option helps.

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

No branches or pull requests

3 participants