xo / homebrew-xo

Homebrew formulae and related scripts for xo, usql, etc.
MIT License
7 stars 3 forks source link

failed to upgrade usql from v0.7.0 to v0.7.1 #4

Closed bchatard closed 5 years ago

bchatard commented 5 years ago

Hello,

I'm facing the following issue when I upgrade usql to v0.7.1

==> Upgrading xo/xo/usql
==> Downloading https://github.com/xo/usql/archive/v0.7.1.tar.gz
Already downloaded: /Users/bchatard/Library/Caches/Homebrew/downloads/150f04a705c3d46364845a0da375c1eeccdc1a5bd57cb1a0a314c47eb8bae201--usql-0.7.1.tar.gz
==> vgo build -tags most sqlite_app_armor sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json1 sqlite_stat4 sqlite_userauth sqlite_vta
Last 15 lines from /Users/bchatard/Library/Logs/Homebrew/usql/01.vgo:
2019-01-09 08:05:13 +0100

vgo
build
-tags
most sqlite_app_armor sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json1 sqlite_stat4 sqlite_userauth sqlite_vtable no_adodb no_ql
-ldflags
-s -w -X github.com/xo/usql/text.CommandVersion=v0.7.1
-o
/usr/local/Cellar/usql/0.7.1/bin/usql

vgo requires Go 1.10 but VGOROOT=/usr/local/Cellar/go/1.10.3/libexec is not a Go 1.10 source tree

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/xo/homebrew-xo/issues

These open issues may also help:
failed to install usql v0.7.0 https://github.com/xo/homebrew-xo/issues/3

Installed Go version (global - installed via brew)

$ go version
go version go1.11.4 darwin/amd64

So /usr/local/Cellar/go/1.10.3/ doesn't exists.

kenshaw commented 5 years ago

This should be fixed now. Please upgrade your homebrew package lists (brew update) and try again.