From 91b3610b1be467b647dca03412298320b3e1b2c0 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Thu, 14 Apr 2016 15:33:20 +0100 Subject: [PATCH] Do not enforce tags on `make deps` (#1301) Dependencies are built out of the build container and we shouldn't enforce specific tags. It breaks the release process (see https://github.com/weaveworks/scope/wiki/Release-Process#go-to-a-linux-host) in machines with standard Go installations resulting in: ``` go install net: open /usr/local/go/pkg/linux_amd64/net.a: permission denied ``` --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34521d84c..ef1ff1c94 100644 --- a/Makefile +++ b/Makefile @@ -157,8 +157,10 @@ clean: clean-codecgen: rm -rf $(CODECGEN_TARGETS) $(CODECGEN_DIR)/bin +# Dependencies are intentionally build without enforcing any tags +# since they are build on the host deps: - $(GO) get -u -f -tags $(GO_BUILD_TAGS) \ + $(GO) get -u -f \ github.com/FiloSottile/gvt \ github.com/mattn/goveralls \ github.com/weaveworks/github-release \