What is actually library_index.json used for ? Loading it takes extremely long on Raspberry Pi

Hello!

I am running arduino-cli 1.1.1 on a Raspberry Pi 4. Basically all commands are very slow. Using --verbose and --log I have come to the conclusion that LoadIndex for library_index.json is causing the slow down. I have cases where LoadIndex takes around a minute for a simple command such as "board list".

Thus my question is, what is LoadIndex with library_index.json actually used for? Is it strictly necessary for correct compilation and upload ?

I have removed the contents of library_index.json, leaving an empty file. This works and the compilation and upload ar still functional.

I believe that library_index.json is part of the mechanism for checking whether library updates are available for download

1 Like

Hi @rudolfsAER. As @UKHeliBob said, this file provides the data that is used for most of the arduino-cli lib commands:

https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib/

These commands provide command line functionality equivalent to the Arduino IDE's "Library Manager" feature.

I think the only other time it is used is for arduino-cli compile, under the following specific conditions:

  • You are using a "build profile"
  • Library dependencies specified by the build profile have not yet been installed in the build profile's isolated dependencies environment

There are 7.5k libraries (each of which may have multiple releases) in the index, so it is a significant quantity of data for Arduino CLI to process.

1 Like

Thank you for your answer!

I think there may be a bug in the GO implementation for ARM on Raspberry Pi. easyjson Unmarshal has very unpredictable performance. It parses the same library_index.json, but I have cases where it takes 5 minutes and an immediate following run takes 30 seconds, and a third run takes 2 minutes. I have done some GO profiling on the arduino-cli and it seems that it is an issue with GO memory allocation and garbage collection. I have checked for swap usage and thermal throttling, both are not an issue.

Either way for my needs the sketch does not use many libraries and the ones that are used should not be updated dynamically, thus having an empty library_index.json works for me.

Are there any more elegant options, such as a hidden flag to disable LoadIndex in arduino-cli?

Using 1.1.1 on an Pi4 here, and I can't say I've noticed any undue holdups in compilation or upload. Certainly none I could lay at the library index's doorstep. Even doing a library search is finished in about 16 seconds.

I cannot upload files as a new user, so here I have pasted the output for a simple board list. I have also added some version information.

As you can see the LoadIndex is the bottle neck.

rudolfs@raspberrypi:~$ time ~/bin/arduino-cli board list --log --verbose
INFO[0000] arduino-cli version 1.1.1                    
INFO[0000] Using config file: /home/rudolfs/.arduino15/arduino-cli.yaml 
INFO[0000] Checking signature                            index=/home/rudolfs/.arduino15/package_index.json signatureFile=/home/rudolfs/.arduino15/package_index.json.sig trusted=true
INFO[0000] Loading hardware from: /home/rudolfs/.arduino15/packages 
INFO[0000] Loading package ClearCore from: /home/rudolfs/.arduino15/packages/ClearCore/hardware 
INFO[0000] Missing signature file                        index=/home/rudolfs/.arduino15/packages/ClearCore/hardware/sam/1.7.0/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="ClearCore:sam@1.7.0"
INFO[0000] Loading package arduino from: /home/rudolfs/.arduino15/packages/arduino 
INFO[0000] Checking existence of 'tools' path: /home/rudolfs/.arduino15/packages/arduino/tools 
INFO[0000] Loading tools from dir: /home/rudolfs/.arduino15/packages/arduino/tools 
INFO[0000] Loaded tool                                   tool="arduino:CMSIS@4.5.0"
INFO[0000] Loaded tool                                   tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.9.1-arduino1"
INFO[0000] Loading package builtin from: /home/rudolfs/.arduino15/packages/builtin 
INFO[0000] Checking existence of 'tools' path: /home/rudolfs/.arduino15/packages/builtin/tools 
INFO[0000] Loading tools from dir: /home/rudolfs/.arduino15/packages/builtin/tools 
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:dfu-discovery@0.1.2"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.9"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.1"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.14.1"
INFO[0000] Adding libraries dir                          dir=/home/rudolfs/.arduino15/packages/ClearCore/hardware/sam/1.7.0/libraries isSingleLibrary=false location=platform
INFO[0000] Loading libraries index file                  index=/home/rudolfs/.arduino15/library_index.json
INFO[0080] Adding libraries dir                          dir=/home/rudolfs/Arduino/libraries isSingleLibrary=false location=user
INFO[0080] Executing `arduino-cli board list`           
Port         Protocol Type              Board Name       FQBN                    Core
/dev/ttyACM0 serial   Serial Port (USB) Teknic ClearCore ClearCore:sam:clearcore ClearCore:sam
/dev/ttyAMA0 serial   Serial Port       Unknown


real    1m21.635s
user    1m1.591s
sys     1m38.845s
rudolfs@raspberrypi:~$ uname -a
Linux raspberrypi 5.4.0-1069-raspi #79-Ubuntu SMP PREEMPT Thu Aug 18 18:15:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
rudolfs@raspberrypi:~$ go version
go version go1.23.5 linux/arm64
rudolfs@raspberrypi:~$ ~/bin/arduino-cli version
arduino-cli  Version: 1.1.1 Commit: fa6eafcb Date: 2024-11-22T09:31:36Z
rudolfs@raspberrypi:~$ 

Under 5 seconds total here.

me@home:~/Documents/sketchbook/Uno_R3/blink $ time ~/bin/arduino-cli board list --log --verbose
INFO[0000] arduino-cli version 1.1.1                    
INFO[0000] Using config file: /home/me/.arduino15/arduino-cli.yaml 
INFO[0000] Checking signature                            index=/home/me/.arduino15/package_index.json signatureFile=/home/me/.arduino15/package_index.json.sig trusted=true
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_teensy_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_esp32_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_drazzy.com_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_DFRobot_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_MCUdude_MiniCore_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_MCUdude_MegaCoreX_index.json
INFO[0000] Missing signature file                        index=/home/me/.arduino15/package_rp2040_index.json
INFO[0000] Loading hardware from: /home/me/.arduino15/packages 
INFO[0000] Loading package ATTinyCore from: /home/me/.arduino15/packages/ATTinyCore/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="ATTinyCore:avr@1.5.2"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/ATTinyCore/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/ATTinyCore/tools 
INFO[0000] Loaded tool                                   tool="ATTinyCore:micronucleus@2.5-azd1b"
INFO[0000] Loading package DFRobot from: /home/me/.arduino15/packages/DFRobot/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/DFRobot/hardware/esp32/0.2.1/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="DFRobot:esp32@0.2.1"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/DFRobot/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/DFRobot/tools 
INFO[0000] Loaded tool                                   tool="DFRobot:esptool_py@3.0.0"
INFO[0000] Loaded tool                                   tool="DFRobot:mkspiffs@0.2.3"
INFO[0000] Loaded tool                                   tool="DFRobot:xtensa-esp32-elf-gcc@gcc8_4_0-esp-2020r3"
INFO[0000] Loaded tool                                   tool="DFRobot:xtensa-esp32s2-elf-gcc@gcc8_4_0-esp-2020r3"
INFO[0000] Loading package MegaCoreX from: /home/me/.arduino15/packages/MegaCoreX/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/MegaCoreX/hardware/megaavr/1.1.3/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="MegaCoreX:megaavr@1.1.3"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/MegaCoreX/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/MegaCoreX/tools 
INFO[0000] Loaded tool                                   tool="MegaCoreX:avrdude@8.0-arduino.1"
INFO[0000] Loading package MiniCore from: /home/me/.arduino15/packages/MiniCore/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/MiniCore/hardware/avr/3.0.3/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="MiniCore:avr@3.0.3"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/MiniCore/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/MiniCore/tools 
INFO[0000] Loaded tool                                   tool="MiniCore:avrdude@8.0-arduino.1"
INFO[0000] Loading package STM32 from: /home/me/.arduino15/packages/STM32/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="STM32:STM32F1@0.1.2"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="STM32:STM32F4@0.1.0"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="STM32:drivers@"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/STM32/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/STM32/tools 
INFO[0000] Loaded tool                                   tool="STM32:linux@dfu-util"
INFO[0000] Loaded tool                                   tool="STM32:linux@src"
INFO[0000] Loaded tool                                   tool="STM32:linux@stlink"
INFO[0000] Loaded tool                                   tool="STM32:linux@stm32flash"
INFO[0000] Loaded tool                                   tool="STM32:linux64@dfu-util"
INFO[0000] Loaded tool                                   tool="STM32:linux64@src"
INFO[0000] Loaded tool                                   tool="STM32:linux64@stlink"
INFO[0000] Loaded tool                                   tool="STM32:linux64@stm32flash"
INFO[0000] Loaded tool                                   tool="STM32:macosx@dfu-util"
INFO[0000] Loaded tool                                   tool="STM32:macosx@src"
INFO[0000] Loaded tool                                   tool="STM32:macosx@stlink"
INFO[0000] Loaded tool                                   tool="STM32:macosx@stm32flash"
INFO[0000] Loaded tool                                   tool="STM32:win@dfu-util-0.9-win64"
INFO[0000] Loaded tool                                   tool="STM32:win@hid_flash"
INFO[0000] Loaded tool                                   tool="STM32:win@lib"
INFO[0000] Loaded tool                                   tool="STM32:win@src"
INFO[0000] Loaded tool                                   tool="STM32:win@stlink"
INFO[0000] Loaded tool                                   tool="STM32:win@texane-stlink"
INFO[0000] Loading package SparkFun from: /home/me/.arduino15/packages/SparkFun/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="SparkFun:avr@1.1.13"
INFO[0000] Loading package adafruit from: /home/me/.arduino15/packages/adafruit/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="adafruit:samd@1.5.10"
INFO[0000] Loading package arduino from: /home/me/.arduino15/packages/arduino/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/arduino/hardware/avr/1.8.3/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:avr@1.8.3"
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/arduino/hardware/megaavr/1.8.8/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:megaavr@1.8.8"
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/arduino/hardware/renesas_uno/1.3.1/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:renesas_uno@1.3.1"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:sam@1.6.12"
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/arduino/hardware/samd/1.8.14/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:samd@1.8.14"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/arduino/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/arduino/tools 
INFO[0000] Loaded tool                                   tool="arduino:CMSIS@4.5.0"
INFO[0000] Loaded tool                                   tool="arduino:CMSIS-Atmel@1.2.0"
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.1.1"
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.2.1"
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool                                   tool="arduino:arm-none-eabi-gcc@4.8.3-2014q1"
INFO[0000] Loaded tool                                   tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@4.9.2-atmel3.5.4-arduino2"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino18"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino9"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.6.1-arduino"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.7.0"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.7.0-arduino3"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.8.0-48-gb176eee"
INFO[0000] Loaded tool                                   tool="arduino:bossac@1.9.1-arduino5"
INFO[0000] Loaded tool                                   tool="arduino:dfu-util@0.11.0-arduino5"
INFO[0000] Loaded tool                                   tool="arduino:openocd@0.10.0-arduino7"
INFO[0000] Loaded tool                                   tool="arduino:openocd@0.11.0-arduino2"
INFO[0000] Loaded tool                                   tool="arduino:openocd@0.9.0-arduino"
INFO[0000] Loading package attiny from: /home/me/.arduino15/packages/attiny/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="attiny:avr@1.0.2"
INFO[0000] Loading package builtin from: /home/me/.arduino15/packages/builtin 
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/builtin/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/builtin/tools 
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:dfu-discovery@0.1.2"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.8"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.9"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.5"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.1"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.12.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.13.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.14.1"
INFO[0000] Loading package esp32 from: /home/me/.arduino15/packages/esp32/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/esp32/hardware/esp32/2.0.14/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="esp32:esp32@2.0.14"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/esp32/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/esp32/tools 
INFO[0000] Loaded tool                                   tool="esp32:esptool_py@4.5.1"
INFO[0000] Loaded tool                                   tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
INFO[0000] Loaded tool                                   tool="esp32:mkspiffs@0.2.3"
INFO[0000] Loaded tool                                   tool="esp32:openocd-esp32@v0.12.0-esp32-20230419"
INFO[0000] Loaded tool                                   tool="esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0"
INFO[0000] Loaded tool                                   tool="esp32:riscv32-esp-elf-gdb@11.2_20220823"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp-elf-gdb@11.2_20220823"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0"
INFO[0000] Loading package esp8266 from: /home/me/.arduino15/packages/esp8266/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="esp8266:esp8266@2.6.3"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/esp8266/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/esp8266/tools 
INFO[0000] Loaded tool                                   tool="esp8266:mklittlefs@2.5.0-4-69bd9e6"
INFO[0000] Loaded tool                                   tool="esp8266:mkspiffs@2.5.0-4-b40a506"
INFO[0000] Loaded tool                                   tool="esp8266:python3@3.7.2-post1"
INFO[0000] Loaded tool                                   tool="esp8266:xtensa-lx106-elf-gcc@2.5.0-4-b40a506"
INFO[0000] Loading package rp2040 from: /home/me/.arduino15/packages/rp2040/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/rp2040/hardware/rp2040/4.3.1/installed.json
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="rp2040:rp2040@4.3.1"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/rp2040/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/rp2040/tools 
INFO[0000] Loaded tool                                   tool="rp2040:pqt-gcc@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-gcc-riscv@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-mklittlefs@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-openocd@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-picotool@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-pioasm@4.0.1-8ec9d6f"
INFO[0000] Loaded tool                                   tool="rp2040:pqt-python3@1.0.1-base-3a57aed-1"
INFO[0000] Loading package teensy from: /home/me/.arduino15/packages/teensy/hardware 
INFO[0000] Missing signature file                        index=/home/me/.arduino15/packages/teensy/hardware/avr/1.57.2/installed.json
INFO[0000] Adding monitor tool                           protocol=teensy tool="teensy:teensy-monitor"
INFO[0000] Loaded platform                               platform="teensy:avr@1.57.2"
INFO[0000] Checking existence of 'tools' path: /home/me/.arduino15/packages/teensy/tools 
INFO[0000] Loading tools from dir: /home/me/.arduino15/packages/teensy/tools 
INFO[0000] Loaded tool                                   tool="teensy:teensy-compile@5.4.1"
INFO[0000] Loaded tool                                   tool="teensy:teensy-discovery@1.57.2"
INFO[0000] Loaded tool                                   tool="teensy:teensy-monitor@1.57.2"
INFO[0000] Loaded tool                                   tool="teensy:teensy-tools@1.57.2"
INFO[0000] Loading hardware from: /home/me/Documents/sketchbook/hardware 
INFO[0000] Searching tools required for platform rp2040:rp2040@4.3.1 
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/STM32/hardware/STM32F1/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/STM32/hardware/STM32F4/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/DFRobot/hardware/esp32/0.2.1/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/teensy/hardware/avr/1.57.2/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/MiniCore/hardware/avr/3.0.3/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/MegaCoreX/hardware/megaavr/1.1.3/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/SparkFun/hardware/avr/1.1.13/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/arduino/hardware/renesas_uno/1.3.1/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/arduino/hardware/avr/1.8.3/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/arduino/hardware/samd/1.8.14/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/arduino/hardware/sam/1.6.12/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/arduino/hardware/megaavr/1.8.8/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/esp32/hardware/esp32/2.0.14/libraries isSingleLibrary=false location=platform
INFO[0000] Adding libraries dir                          dir=/home/me/.arduino15/packages/rp2040/hardware/rp2040/4.3.1/libraries isSingleLibrary=false location=platform
INFO[0000] Loading libraries index file                  index=/home/me/.arduino15/library_index.json
INFO[0002] Adding libraries dir                          dir=/home/me/Documents/sketchbook/libraries isSingleLibrary=false location=user
WARN[0003] Error loading library                         error="rpc error: code = Internal desc = loading library from /home/me/.arduino15/packages/adafruit/hardware/samd/1.5.10/libraries/CI_Tests: invalid library: no header files found"
INFO[0003] Executing `arduino-cli board list`           
Port          Protocol Type         Board Name FQBN Core
192.168.60.32 network  Network Port Unknown
/dev/ttyAMA0  serial   Serial Port  Unknown


real	0m4.634s
user	0m2.742s
sys	0m1.057s

Can you please post your output of uname -a and go version?

No go installed, and uname -a is Linux home 6.1.21-v7l+ #1642 SMP Mon Apr 3 17:22:30 BST 2023 armv7l GNU/Linux.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.