Closed
Description
When the program is run without the USER
environment variable set, it shows :
./arduino-cli board listall
Error: getting default arduino data dir: retrieving user home dir: user: Current not implemented on linux/arm
Error creating default configuration
This can happen for instance, when arduino-cli
is used by a program launched using start-stop-daemon
on boot with /etc/init.d/something
Here is the debug output:
./arduino-cli board listall --debug
ERRO[0000] Error creating default configuration error="getting default arduino data dir: retrieving user home dir: user: Current not implemented on linux/arm"
ERRO[0000] Error creating default configuration error="getting default arduino data dir: retrieving user home dir: user: Current not implemented on linux/arm"
Error: getting default arduino data dir: retrieving user home dir: user: Current not implemented on linux/arm
Error creating default configuration
It fails with the other commands as well.
To reproduce the issue simply do :
unset USER
./arduino-cli board listall
According to this issue cgo
might be missing.
Metadata
Metadata
Assignees
Labels
No labels