Build on an armv7l architecture ends up with "Cannot set machine from deb_arch 'armv7l'
See original GitHub issue- Version: electron-builder@20.28.4
electron-update@3.0.3
- Target: Linux (armv7l) for AppImage
Hello everyone,
I am trying to build my app with electron builder and publish it to my github repo, so I use the command electron-builder --linux --armv7l -p always
but it ends with a “Cannot set machine from deb_arch armv7l”. Then, my app cannot be published and the file “latest-linux-arm.yml” is not generated. Any advice ?
Thanks !
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Raspberry pi 4 shows armv7l at lscpu command?
This is normal. Raspbian is 32 bit and the ARM cores are running 32 bit mode (AArch32) which shows up as armv7. In...
Read more >Electron-builder build for all architectures, platform, and build ...
I am using ubuntu machine 20.x . I am using electron-packager to build electron apps. I wish to use Electron-package build for all ......
Read more >NVIDIA CUDA Installation Guide for Linux
CUDA® is a parallel computing platform and programming model invented by NVIDIA. It enables dramatic increases in computing performance by harnessing the ...
Read more >Is armv7l 32 or 64 bit? - Ask Ubuntu
The ARMv8 architecture introduces 64-bit support to the ARM architecture with a focus on power-efficient implementation while maintaining ...
Read more >ARM architecture family - Wikipedia
ARM is a family of reduced instruction set computer (RISC) instruction set architectures for computer processors, configured for various environments.
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
Just in case it helps at all, we’re currently building a project for Raspberry Pi, both .deb and AppImage, using the electron-builder config:
This has been working on a Ubuntu x64 machine, WSL on a Windows machine, and on our GitLab CI. Everything builds and runs just fine on Raspbian Stretch and Buster, tested on Pi 2, 3, and 4.
It looks like Raspbian Buster actually includes an updated glibc so it may even be that you can build with newer versions of Electron. I’ll be trying that soon.
No, this bloody situation when one arch is named differently for each tool (node, go, linux, package convention and so on) doesn’t affect node modules because historically I did mistake and started to implement electron-builder in NodeJS instead of Go, so, node platform arch name is first in this name chain 😃
You just need to ask author of such module to use https://github.com/prebuild/prebuild If it is your own code, then yeach, no way (yes, soon free electron-build service will support ARM in addition to x64, but I am not going to support NodeJS native modules for security reasons, only platform packages for deb/snap/etc will be supported)).