Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of $GOPATH in Makefile #1379

Merged
merged 1 commit into from
Aug 7, 2019
Merged

Conversation

paulfantom
Copy link
Contributor

The command make build fails when $GOPATH contains multiple paths separated by ::

Example:

$ echo $GOPATH
/go:/opt/rh/go-toolset/root/usr/share/gocode

$ make build
Makefile:99: *** target pattern contains no `%'.  Stop.

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

Restarted CI - flaky go modules

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

It is actually consistently broken: go: github.com/prometheus/prometheus@v2.9.2+incompatible: unexpected status (https://proxy.golang.org/github.com/prometheus/prometheus/@v/v2.9.2+incompatible.info): 410 Gone

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

Working on fix.

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

#1380

@paulfantom
Copy link
Contributor Author

proxy problem is probably related to golang/go#33513

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

I think it is unrelated.

If you want to help on review for this #1380 we would be grateful (:

@paulfantom
Copy link
Contributor Author

@bwplotka could you restart CI pipeline?

@bwplotka
Copy link
Member

bwplotka commented Aug 7, 2019

I am afraid you need to rebase your PR (:

The command `make build` fails when `$GOPATH` contains multiple paths separated by `:`:

Example:

```
$ echo $GOPATH
/go:/opt/rh/go-toolset/root/usr/share/gocode

$ make build
Makefile:99: *** target pattern contains no `%'.  Stop.
@paulfantom
Copy link
Contributor Author

paulfantom commented Aug 7, 2019

Hmmm, strange GitHub wasn't saing anything about it 😛 But that's no problem :)

Rebased

@bwplotka bwplotka merged commit 32a412a into thanos-io:master Aug 7, 2019
@paulfantom paulfantom deleted the multi_gopath branch August 7, 2019 14:46
paulfantom added a commit to paulfantom/thanos that referenced this pull request Aug 7, 2019
* master:
  iter.go: error message typo correction (thanos-io#1376)
  Fix usage of $GOPATH in Makefile (thanos-io#1379)
  Moved Prometheus 2.11.1 and TSDB to 0.9.1 (thanos-io#1380)
  Store latest config hash and timestamp as metrics (thanos-io#1378)
  pkg/receive/handler.go: log errors (thanos-io#1372)
  receive: Hash-ring metrics (thanos-io#1363)
  receiver: avoid race of hashring (thanos-io#1371)
  feat compact: added readiness Prober (thanos-io#1297)
  Add changelog entry for S3 option (thanos-io#1361)
  Multipart features (thanos-io#1358)
  Added katacoda.yaml (thanos-io#1359)
  Remove deprecated option from example (thanos-io#1351)
  Move suggestion about admin API to appropriate place (thanos-io#1355)
@bwplotka
Copy link
Member

bwplotka commented Aug 8, 2019

We had a report that this breaks OSX dev environment. Trying to fix this here: #1384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants