You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to compile a simple Sketch i get this error Error during build: fork/exec /home/hellboy/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: no such file or directory and i already downloaded the avr core as you can see here:
~$ arduino-cli core list
ID Installed Latest Name
arduino:avr 1.8.6 1.8.6 Arduino AVR Boards
And the verbose says it:
FQBN: arduino:avr:mega
Using board 'mega' from platform in folder: /home/hellboy/.arduino15/packages/arduino/hardware/avr/1.8.6
Using core 'arduino' from platform in folder: /home/hellboy/.arduino15/packages/arduino/hardware/avr/1.8.6
Detecting libraries used...
/home/hellboy/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/hellboy/.arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/home/hellboy/.arduino15/packages/arduino/hardware/avr/1.8.6/variants/mega /tmp/arduino/sketches/6A5A29022208ED9700955194B4CCD27C/sketch/Test.ino.cpp -o /dev/null
Used platform Version Path
arduino:avr 1.8.6 /home/hellboy/.arduino15/packages/arduino/hardware/avr/1.8.6
Error during build: fork/exec /home/hellboy/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: no such file or directory
To reproduce
just use arduino-cli compile -b arduino:avr:mega Sketch
Turns out that is a problem related to glibc link, i used a musl distro when i have this bug. Just build and use gcompat solved the problem with the bin linked against glibc. The problem has not been solved in general, maybe given a binarie linked against musl can solve it.
Describe the problem
When i try to compile a simple Sketch i get this error
Error during build: fork/exec /home/hellboy/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++: no such file or directory
and i already downloaded the avr core as you can see here:And the verbose says it:
To reproduce
just use
arduino-cli compile -b arduino:avr:mega Sketch
Expected behavior
Compile the sketch
Arduino CLI version
0.34.2 Commit: 963c1a7 Date: 2023-09-11T10:05:42Z
Operating system
Linux
Operating system version
Kiss Linux With Latest Version
Additional context
My OS can be found in here and it uses musl libc and busybox as default.
Issue checklist
The text was updated successfully, but these errors were encountered: