TritonDataCenter / containerpilot

A service for autodiscovery and configuration of applications running in containers
Mozilla Public License 2.0
1.13k stars 136 forks source link

Local build on SmartOS fails due to upstream changes #578

Open teutat3s opened 5 years ago

teutat3s commented 5 years ago

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