Setup fails when checking toolkits

Bitrise Build Issue Report template

Description of the issue

Unable to run builds locally from CLI

Please describe the issue here
After installing the latest version of the CLI and running bitrise setup it throws an exception when checking Toolkits.
Failed to perform toolkit check (go)

Environment:

macOS 10.14.3

Reproducibility

run bitrise setup

Local reproduction

Yes, install the latest bitrise CLI and run bitrise setup

Build log

mike@Tron ξ‚° ~/Development/Mobile.Maintenance ξ‚° ξ‚  dev ξ‚° bitrise setup

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β• β•šβ•β• β•šβ•β•β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•

version: 1.27.0

Setup
Full setup: false
Clean setup: false
Detected OS: darwin

Checking Bitrise Core tools…
No supported envman version found
You can find more information about envman on its official GitHub page: https://github.com/bitrise-io/envman
[OK] envman (2.2.0): /Users/mike/.bitrise/tools/envman
No supported stepman version found
You can find more information about stepman on its official GitHub page: https://github.com/bitrise-io/stepman
[OK] stepman (0.11.1): /Users/mike/.bitrise/tools/stepman

Doing OS X specific setup
Checking required tools…
[OK] Homebrew 2.0.4
Homebrew/homebrew-core (git revision 07d6a; last commit 2019-03-12)
Homebrew/homebrew-cask (git revision 67bf5; last commit 2019-03-12): /usr/local/bin/brew
[OK] xcodebuild (Xcode 10.1 | Build version 10B61): /usr/bin/xcodebuild
[OK] active Xcode (Command Line Tools) path (xcode-select --print-path): /Applications/Xcode.app/Contents/Developer

Checking Bitrise Plugins…
Default plugin (workflow-editor) NOT found, installing…
Bitrise Workflow Editor.
[OK] Plugin workflow-editor (1.1.48): /Users/mike/.bitrise/plugins/workflow-editor
Default plugin (analytics) NOT found, installing…
Submitting anonymized usage information.
This usage helps us identify any problems with the integrations.
The sent data only contains information about steps (id, version, runtime, error), NO logs or other data is included.
[OK] Plugin analytics (0.9.14): /Users/mike/.bitrise/plugins/analytics
Default plugin (init) NOT found, installing…
Initialize bitrise config (bitrise.yml) and secrets (.bitrise.secrets.yml) based on your project.
[OK] Plugin init (1.0.9): /Users/mike/.bitrise/plugins/init
Default plugin (step) NOT found, installing…
Manage Bitrise CLI steps
[OK] Plugin step (0.9.8): /Users/mike/.bitrise/plugins/step

Checking Bitrise Toolkits…
Setup failed, error: Failed to do Toolkits setup, error: Failed to perform toolkit check (go), error: Failed to check go version, error: signal: segmentation fault

Hello there!

I think what you miss is golang, that you can download here: https://golang.org/dl/ :upside_down_face:

That was it! thank you.

I actually had to use brew to install golang, the pkg file failed to install on macOS for some reason. Incase anyone runs into this issue.

1 Like

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