Skip to content
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

Install script doesn't work properly on v0.8.0 #584

Closed
SConaway opened this issue Feb 15, 2020 · 4 comments
Closed

Install script doesn't work properly on v0.8.0 #584

SConaway opened this issue Feb 15, 2020 · 4 comments
Assignees
Labels
os: macos Specific to macOS operating system

Comments

@SConaway
Copy link
Contributor

Bug Report

Install script doesn't work properly on v0.8.0. I think this might be because the binary is not chmod-ed +x.

macos-mojave-10:~ steven$ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
Installing in /Users/steven/bin
ARCH=64bit
OS=macOS
Using curl as download tool
TAG=0.8.0
CLI_DIST=arduino-cli_0.8.0_macOS_64bit.tar.gz
Downloading https://downloads.arduino.cc/arduino-cli/arduino-cli_0.8.0_macOS_64bit.tar.gz
arduino-cli not found. You might want to add /Users/steven/bin to your $PATH
sh: line 185: /Users/steven/bin/arduino-cli: Permission denied
Failed to install arduino-cli
macos-mojave-10:~ steven$ 

Environment

  • CLI version (output of arduino-cli version): N/A
  • OS and platform: macOS 10.14.4 and 10.13.6
@rsora rsora added component/packaging os: macos Specific to macOS operating system labels Feb 16, 2020
@zmoog
Copy link
Contributor

zmoog commented Feb 17, 2020

Hi @SConaway, thank you for taking some time to write this bug report!

The install script is failing due to a missing execution flag on the binary: we are investigating to find the root cause, but in meantime we'll fix the v0.8.0 files in our CDN.

@zmoog zmoog self-assigned this Feb 17, 2020
@zmoog
Copy link
Contributor

zmoog commented Feb 17, 2020

@SConaway can you delete the old binary from your machine and try to run the install script again?

@SConaway
Copy link
Contributor Author

That fixed it.

Failing build
Working build

@zmoog
Copy link
Contributor

zmoog commented Feb 18, 2020

Great! Thank you for your feedback, happy hacking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos Specific to macOS operating system
Projects
None yet
Development

No branches or pull requests

3 participants