Description
Bug similar to the one in arduino/arduino-cli#292 (comment)
From the link mentioned above:
A Vero 4K+ (by OSMC) is a Kodi box which has Debian with aarch64 (arm64) architecture. It's very versatile but it hasn't Xorg installed. It has its own debian repo apt.osmc.tv
and uses the official http://ftp.debian.org/debian stretch main contrib non-free
as well. Yes the stable version is still on Debian Stretch but it's very stable.
It can be accessed on the command line via ssh over Wi-Fi. The default user is named osmc
, who has sudo privileges as well.
I can install the arduino ide from https://downloads.arduino.cc/arduino-1.8.13-linuxaarch64.tar.xz without problems on the command line, using the useful install.sh
provided. it complains that it cannot find a desktop enviroment but all the toolchain is there.
But the avr-g++
binary from the installer has the same problem on this machine as the arduino-cli
one (issue 1004 on arduino-cli): running a normal command like arduino-cli compile --fqbn arduino:avr:uno Sketch01
, I'm getting a classic error:
Error: build failed: fork/exec /home/osmc/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: no such file or directory
Error during build
avr-g++
exists, but it's for the wrong arch for sure (it's typical behaviour with wrong arch binaries). But this problem cannot be solved removing the .arduino15
folder like suggested in many places.