kreuzwerker / m1-terraform-provider-helper

CLI to support with downloading and compiling terraform providers for Mac with M1 chip
MIT License
495 stars 30 forks source link

Compiling Error #161

Open jacobo-loka opened 1 year ago

jacobo-loka commented 1 year ago

Trying to run in and fails

Expected Behavior

{Please write here}

Actual Behavior

loka@Loka-JG backend-ello % m1-terraform-provider-helper install hashicorp/template -v 2.2.0 Getting provider data from terraform registry 2023/11/28 10:46:34 Getting provider data from https://registry.terraform.io/v1/providers/hashicorp/template 2023/11/28 10:46:35 Provider data: {https://github.com/hashicorp/terraform-provider-template terraform-provider-template} Getting source code... 2023/11/28 10:46:35 Extracted repo https://github.com/hashicorp/terraform-provider-template to terraform-provider-template 2023/11/28 10:46:35 Resetting /Users/loka/.m1-terraform-provider-helper/terraform-provider-template and pulling latest changes Compiling... FATA[0005] Bash execution did not run successfully: exit status 2. Output: go: github.com/hashicorp/terraform@v0.12.0-alpha4.0.20190424121927-9327eedb0417 requires labix.org/v2/mgo@v0.0.0-20140701140051-000000000287: unrecognized import path "labix.org/v2/mgo": GOVCS disallows using bzr for public labix.org/v2/mgo; see 'go help vcs' make: *** [build] Error 1

Steps to Reproduce (including precondition)

m1-terraform-provider-helper install hashicorp/template -v 2.2.0

Screenshot on This Problem (if possible)

{Please write here}

Your Environment

migratingCoconuts commented 6 months ago

I'm getting this as well.

$ m1-terraform-provider-helper install hashicorp/template -v v2.2.0 Getting provider data from terraform registry 2024/06/05 10:18:47 Getting provider data from https://registry.terraform.io/v1/providers/hashicorp/template 2024/06/05 10:18:48 Provider data: {https://github.com/hashicorp/terraform-provider-template terraform-provider-template} Getting source code... 2024/06/05 10:18:48 Extracted repo https://github.com/hashicorp/terraform-provider-template to terraform-provider-template 2024/06/05 10:18:48 Resetting /Users/mattb/.m1-terraform-provider-helper/terraform-provider-template and pulling latest changes Compiling... FATA[0002] Bash execution did not run successfully: exit status 2. Output: go: github.com/hashicorp/terraform@v0.12.0-alpha4.0.20190424121927-9327eedb0417 requires labix.org/v2/mgo@v0.0.0-20140701140051-000000000287: unrecognized import path "labix.org/v2/mgo": GOVCS disallows using bzr for public labix.org/v2/mgo; see 'go help vcs' make: *** [build] Error 1