Unable to build Otto from source

90 views
Skip to first unread message

Naimish Shah

unread,
May 11, 2016, 4:32:52 PM5/11/16
to Otto
I have followed the directions provided on github.  I have also attempted to utilize the Vagrant box specified in the Vagrantfile provided under the otto Go project.  Both have yielded the same error as follows.

vagrant@otto:/opt/gopath/src/github.com/hashicorp/otto$ make

find . -type f -name '.DS_Store' -delete

go generate ./...

go test ./...  -timeout=30s -parallel=4

# github.com/hashicorp/otto/helper/terraform

helper/terraform/outputs.go:22: cannot use state.RootModule().Outputs (type map[string]interface {}) as type map[string]string in return argument

FAIL    github.com/hashicorp/otto [build failed]

go build testmain: /opt/go/pkg/tool/linux_amd64/link: signal: killed

FAIL    github.com/hashicorp/otto/app [build failed]

go build testmain: /opt/go/pkg/tool/linux_amd64/link: signal: killed

FAIL    github.com/hashicorp/otto/appfile [build failed]

ok      github.com/hashicorp/otto/appfile/detect        0.011s

?       github.com/hashicorp/otto/appfile/detect/test-fixtures/app-go   [no test files]

go build testmain: /opt/go/pkg/tool/linux_amd64/link: signal: killed

FAIL    github.com/hashicorp/otto/appfile/load [build failed]

go build testmain: /opt/go/pkg/tool/linux_amd64/link: signal: killed

# github.com/hashicorp/otto/helper/terraform

helper/terraform/outputs.go:22: cannot use state.RootModule().Outputs (type map[string]interface {}) as type map[string]string in return argument

make: *** [test] Error 2

vagrant@otto:/opt/gopath/src/github.com/hashicorp/otto$


Please advise.

Michael Leow

unread,
May 15, 2016, 8:33:56 AM5/15/16
to Otto
Confirmed the build process seems broken again; this time due to the terraform dependency.

I have helped you open up an issue, you can follow progress here: https://github.com/hashicorp/otto/issues/510

Naimish Shah

unread,
May 15, 2016, 11:13:27 AM5/15/16
to Otto
Thanks for looking into it Michael.

Maxime Garcia

unread,
Jun 21, 2016, 9:52:17 AM6/21/16
to Otto
Hi,
I have the same problem when building otto.
Is there any progress on this terraform dependency ?
Thanks

Michael Leow

unread,
Jun 22, 2016, 11:45:37 AM6/22/16
to Otto
@Maxime, @Naimish,

Check out the work done by @devoid here: https://github.com/hashicorp/otto/pull/519.  CI test passes!
Reply all
Reply to author
Forward
0 new messages