Closed jasonzhouu closed 4 years ago
Hi @jasonzhouu , thanks for reporting this issue and for the level of detail you have provided. grump
has just recently been released and is very much in alpha phase. I've mostly been testing it in OSX 10.14.6 (Mojave). The version of oto
we're using here is pretty old as well (0.3.1), and should probably be updated. I'll try building in 10.15.5 when I get a sec. Thanks!
Hmm, I'm having trouble reproducing the error you're running into.
> sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.5
BuildVersion: 19F101
> go version
go version go1.14.3 darwin/amd64
# clean mod cache, just in case
> go clean -modcache
> go get -u -v github.com/dhulihan/grump
github.com/dhulihan/grump (download)
github.com/sirupsen/logrus (download)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
golang.org/x/sys (download)
get "golang.org/x/sys/internal/unsafeheader": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/internal/unsafeheader?go-get=1
get "golang.org/x/sys/internal/unsafeheader": verifying non-authoritative meta tag
github.com/dhowden/tag (download)
github.com/faiface/beep (download)
github.com/mewkiz/flac (download)
github.com/icza/bitio (download)
github.com/mewkiz/pkg (download)
github.com/pkg/errors (download)
github.com/hajimehoshi/go-mp3 (download)
github.com/hajimehoshi/oto (download)
github.com/jfreymuth/oggvorbis (download)
github.com/jfreymuth/vorbis (download)
github.com/gdamore/tcell (download)
github.com/gdamore/encoding (download)
get "golang.org/x/text/encoding": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text/encoding?go-get=1
get "golang.org/x/text/encoding": verifying non-authoritative meta tag
golang.org/x/text (download)
get "golang.org/x/text/encoding/internal/identifier": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text/encoding/internal/identifier?go-get=1
get "golang.org/x/text/encoding/internal/identifier": verifying non-authoritative meta tag
get "golang.org/x/text/transform": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text/transform?go-get=1
get "golang.org/x/text/transform": verifying non-authoritative meta tag
github.com/lucasb-eyer/go-colorful (download)
github.com/mattn/go-runewidth (download)
github.com/rivo/tview (download)
github.com/rivo/uniseg (download)
github.com/hajimehoshi/go-mp3/internal/consts
github.com/sirupsen/logrus
github.com/gdamore/tcell
github.com/hajimehoshi/go-mp3/internal/frameheader
github.com/hajimehoshi/go-mp3/internal/sideinfo
github.com/hajimehoshi/go-mp3/internal/maindata
github.com/hajimehoshi/go-mp3/internal/frame
github.com/hajimehoshi/go-mp3
github.com/dhulihan/grump/internal/config
github.com/dhulihan/grump/library
github.com/faiface/beep/mp3
github.com/dhulihan/grump/player
github.com/rivo/tview
github.com/dhulihan/grump/ui
github.com/dhulihan/grump
I noticed you're using cgo-gcc-prolog
. I wonder if there's something different between our build environments (maybe GCCGO
), would you mind providing the output of this command?
go env
@dhulihan Thank you for reply! This is by go env:
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/johnny/Library/Caches/go-build"
GOENV="/Users/johnny/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/johnny/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn"
GOROOT="/usr/local/Cellar/go/1.14.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/johnny/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/tx/8xlnp3mn3fdd1rk5j_s64_0c0000gn/T/go-build492045089=/t
mp/go-build -gno-record-gcc-switches -fno-common"
go get successfully with -u
flat today
go get -u -v github.com/dhulihan/grump
output:
go get -u -v github.com/dhulihan/grump
go: github.com/dhulihan/grump upgrade => v0.0.0-20200522233023-30f56ab8718c
go: github.com/hajimehoshi/go-mp3 upgrade => v0.3.0
go: github.com/gdamore/tcell upgrade => v1.3.0
go: github.com/jfreymuth/oggvorbis upgrade => v1.0.1
go: golang.org/x/sys upgrade => v0.0.0-20200620081246-981b61492c35
go: github.com/mattn/go-runewidth upgrade => v0.0.9
go: github.com/dhowden/tag upgrade => v0.0.0-20200412032933-5d76b8eaae27
go: github.com/konsorten/go-windows-terminal-sequences upgrade => v1.0.3
go: golang.org/x/text upgrade => v0.3.3
go: github.com/mewkiz/flac upgrade => v1.0.6
go: golang.org/x/exp upgrade => v0.0.0-20200513190911-00229845015e
go: github.com/hajimehoshi/oto upgrade => v0.6.1
go: github.com/pkg/errors upgrade => v0.9.1
go: github.com/lucasb-eyer/go-colorful upgrade => v1.0.3
go: golang.org/x/image upgrade => v0.0.0-20200618115811-c13761719519
go: github.com/rivo/tview upgrade => v0.0.0-20200528200248-fe953220389f
go: golang.org/x/mobile upgrade => v0.0.0-20200329125638-4c31acba0007
go: github.com/sirupsen/logrus upgrade => v1.6.0
go: downloading github.com/rivo/tview v0.0.0-20200528200248-fe953220389f
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/dhowden/tag v0.0.0-20200412032933-5d76b8eaae27
go: downloading github.com/mewkiz/flac v1.0.6
go: downloading golang.org/x/sys v0.0.0-20200620081246-981b61492c35
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading golang.org/x/text v0.3.3
go: downloading github.com/jfreymuth/oggvorbis v1.0.1
go: downloading golang.org/x/mobile v0.0.0-20200329125638-4c31acba0007
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.3
go: downloading golang.org/x/exp v0.0.0-20200513190911-00229845015e
go: downloading github.com/icza/bitio v1.0.0
go: downloading github.com/mewkiz/pkg v0.0.0-20190919212034-518ade7978e2
go: downloading golang.org/x/image v0.0.0-20200618115811-c13761719519
go: github.com/mewkiz/pkg upgrade => v0.0.0-20200411195739-f6b5e26764c3
go: downloading github.com/mewkiz/pkg v0.0.0-20200411195739-f6b5e26764c3
golang.org/x/sys/internal/unsafeheader
github.com/hajimehoshi/go-mp3/internal/bits
github.com/hajimehoshi/go-mp3/internal/imdct
golang.org/x/text/encoding/internal/identifier
github.com/rivo/uniseg
github.com/icza/bitio
github.com/mewkiz/flac/internal/hashutil
golang.org/x/sys/unix
github.com/mewkiz/flac/internal/ioutilx
github.com/mewkiz/flac/internal/hashutil/crc16
github.com/faiface/beep
github.com/dhowden/tag
github.com/mewkiz/flac/internal/bits
github.com/mewkiz/flac/internal/hashutil/crc8
github.com/mewkiz/pkg/term
github.com/faiface/beep/effects
github.com/mewkiz/pkg/errutil
github.com/mewkiz/flac/meta
github.com/mewkiz/flac/internal/utf8
github.com/mewkiz/flac/frame
github.com/pkg/errors
github.com/mewkiz/flac
github.com/hajimehoshi/go-mp3/internal/consts
github.com/hajimehoshi/go-mp3/internal/frameheader
github.com/hajimehoshi/go-mp3/internal/huffman
github.com/hajimehoshi/go-mp3/internal/sideinfo
github.com/hajimehoshi/go-mp3/internal/maindata
github.com/faiface/beep/flac
github.com/hajimehoshi/go-mp3/internal/frame
github.com/hajimehoshi/oto/internal/mux
github.com/hajimehoshi/oto
github.com/hajimehoshi/go-mp3
github.com/faiface/beep/mp3
github.com/jfreymuth/vorbis
github.com/faiface/beep/wav
golang.org/x/text/transform
github.com/sirupsen/logrus
github.com/jfreymuth/oggvorbis
golang.org/x/text/encoding
github.com/faiface/beep/vorbis
github.com/gdamore/encoding
github.com/gdamore/tcell/terminfo
github.com/lucasb-eyer/go-colorful
github.com/mattn/go-runewidth
github.com/gdamore/tcell/terminfo/a/ansi
github.com/gdamore/tcell/terminfo/v/vt100
github.com/gdamore/tcell/terminfo/v/vt102
github.com/gdamore/tcell/terminfo/v/vt220
github.com/dhulihan/grump/internal/config
github.com/dhulihan/grump/library
github.com/gdamore/tcell/terminfo/x/xterm
github.com/gdamore/tcell/terminfo/dynamic
github.com/gdamore/tcell/terminfo/a/adm3a
github.com/gdamore/tcell/terminfo/a/aixterm
github.com/gdamore/tcell/terminfo/base
github.com/gdamore/tcell/terminfo/a/alacritty
github.com/gdamore/tcell/terminfo/a/aterm
github.com/gdamore/tcell/terminfo/b/beterm
github.com/gdamore/tcell/terminfo/b/bsdos_pc
github.com/gdamore/tcell/terminfo/c/cygwin
github.com/gdamore/tcell/terminfo/d/d200
github.com/gdamore/tcell/terminfo/d/d210
github.com/gdamore/tcell/terminfo/d/dtterm
github.com/gdamore/tcell/terminfo/e/emacs
github.com/gdamore/tcell/terminfo/e/eterm
github.com/gdamore/tcell/terminfo/g/gnome
github.com/gdamore/tcell/terminfo/h/hpterm
github.com/gdamore/tcell/terminfo/h/hz1500
github.com/gdamore/tcell/terminfo/k/konsole
github.com/gdamore/tcell/terminfo/k/kterm
github.com/gdamore/tcell/terminfo/l/linux
github.com/gdamore/tcell/terminfo/p/pcansi
github.com/gdamore/tcell/terminfo/r/rxvt
github.com/gdamore/tcell/terminfo/s/screen
github.com/gdamore/tcell/terminfo/s/simpleterm
github.com/gdamore/tcell/terminfo/s/sun
github.com/gdamore/tcell/terminfo/t/termite
github.com/gdamore/tcell/terminfo/t/tvi910
github.com/gdamore/tcell/terminfo/t/tvi912
github.com/gdamore/tcell/terminfo/t/tvi921
github.com/gdamore/tcell/terminfo/t/tvi925
github.com/gdamore/tcell/terminfo/t/tvi950
github.com/gdamore/tcell/terminfo/t/tvi970
github.com/gdamore/tcell/terminfo/v/vt320
github.com/gdamore/tcell/terminfo/v/vt400
github.com/gdamore/tcell/terminfo/v/vt420
github.com/gdamore/tcell/terminfo/v/vt52
github.com/gdamore/tcell/terminfo/w/wy50
github.com/gdamore/tcell/terminfo/w/wy60
github.com/gdamore/tcell/terminfo/w/wy99_ansi
github.com/gdamore/tcell/terminfo/x/xfce
github.com/gdamore/tcell/terminfo/x/xnuppc
github.com/gdamore/tcell/terminfo/x/xterm_kitty
github.com/gdamore/tcell/terminfo/extended
github.com/gdamore/tcell
github.com/rivo/tview
github.com/faiface/beep/speaker
github.com/dhulihan/grump/player
github.com/dhulihan/grump/ui
github.com/dhulihan/grump
Ok, I'm glad you were able to run go get
successfully. Let me know if you run into any other problems!
Hello, @dhulihan
Thank you for your awesome work.
I come across problem when trying to go get it.
OS: Mac OS X 10.15.5
go version go1.14.3 darwin/amd64
command:
$ go get github.com/dhulihan/grump
output: