Skip to content

user: Current not implemented on linux/arm #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Renaud11232 opened this issue Apr 2, 2019 · 2 comments
Closed

user: Current not implemented on linux/arm #182

Renaud11232 opened this issue Apr 2, 2019 · 2 comments

Comments

@Renaud11232
Copy link

Renaud11232 commented Apr 2, 2019

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.

@SConaway
Copy link
Contributor

If you're here for docker, run export USER=root on ubuntu.

@per1234 per1234 added the bug label May 24, 2019
@masci
Copy link
Contributor

masci commented Jul 17, 2019

Fixed in #239

@masci masci closed this as completed Jul 17, 2019
per1234 pushed a commit that referenced this issue Nov 16, 2020
per1234 added a commit that referenced this issue Aug 9, 2021
Add support for version constraints in depends field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants