build arm64 snap on x64 machine
See original GitHub issue- Version: 22.10.4
- Electron Version: 11.2.3
- Electron Type: current
- Target: snap arm64
when I try to build an arm64 snap on my laptop (ubuntu 20.04 x64) and github actions (ubuntu 18.04 x64) I get the below error
⨯ snapcraft does not currently support building arm64 on amd64
⨯ /home/labhansh/hyper/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace=
Error: /home/labhansh/hyper/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.<anonymous> (/home/labhansh/hyper/node_modules/builder-util/src/util.ts:243:14)
at Object.onceWrapper (node:events:483:26)
at ChildProcess.emit (node:events:376:20)
at maybeClose (node:internal/child_process:1063:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)
error Command failed with exit code 1.
Is there any way I can build arm64 snap on x64 machine?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:29 (1 by maintainers)
Top Results From Across the Web
Cross compile snap on amd64 to arm - Snapcraft forum
Hello, I've a snap for arm and building it with snapcraft (classic ubuntu) on a rpi (arm) is working absolutely fine.
Read more >Building a gadget snap - Ubuntu Core docs
Building a gadget snap enables specific device and customisation options to be set and integrated into an Ubuntu Core image.
Read more >Building your snap on-device? There's a better way
Snapcraft solves a lot of problems when building snaps, but one issue it doesn't solve is cross-building (i.e. building on one architecture ...
Read more >snapd-2.55.3-1.el8 | Build Info - Fedora Koji
snap -confine-debuginfo-2.55.3-1.el8.aarch64.rpm (info) (download) ... SNAPD_DEBUG=1 is set - gadget/install/partition.go: use device rescan ...
Read more >Armhf snap builds for raspberry pi - Rocket Chat forums
Basically seems like its shipping 64 bit arm binaries. We use a build service from Canonical on launchpad. They use arm64 workers and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes
Yes