containerpilot icon indicating copy to clipboard operation
containerpilot copied to clipboard

Local build on SmartOS fails due to upstream changes

Open teutat3s opened this issue 6 years ago • 0 comments

I'm trying to build containerpilot locally (without docker) on SmartOS - thanks for the hints in https://github.com/joyent/containerpilot/issues/327. It worked fine the first time, but the second time I seem to have hit recent consul upstream changes https://github.com/hashicorp/consul/commit/47c390025b77450cde9ad4cbc47d63b55caeda79

a simple go get github.com/joyent/containerpilot now throws:

package github.com/hashicorp/consul/testutil/retry: cannot find package "github.com/hashicorp/consul/testutil/retry" in any of:
	/opt/local/go19/src/github.com/hashicorp/consul/testutil/retry (from $GOROOT)
	/root/go/src/github.com/hashicorp/consul/testutil/retry (from $GOPATH)

I was able to workaround this using dep init - unsure about how to fix this properly.

Steps to reproduce:

  1. create new base-64 instance, install go19 gcc7 git gmake
  2. git clone repo
  3. comment out docker in makefile
  4. make local build

teutat3s avatar Mar 27 '19 01:03 teutat3s