Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: chzyer's readline library has unexpected import path "gopkg.in/readline.v1". The official example code references it as "github.com/chzyer/readline": https://github.com/chzyer/readline/blob/master/example/readline-demo/readline-demo.go#L12 . Version-Release number of selected component (if applicable): golang-gopkg-readline-devel-1.4-2.fc28.noarch How reproducible: Always Steps to Reproduce: 1. Try building Go code (jfrog-cli from https://github.com/JFrogDev/jfrog-cli-go in this case) importing github.com/chzyer/readline Actual results: jfrog-client/utils/prompt/prompt.go:5:2: cannot find package "github.com/chzyer/readline" in any of: /usr/lib/golang/src/github.com/chzyer/readline (from $GOROOT) /builddir/build/BUILD/jfrog-cli-go-1.14.0/_build/src/github.com/chzyer/readline (from $GOPATH) /usr/share/gocode/src/github.com/chzyer/readline Expected results: Successful compilation.
It solved with 1.4-3 where I include both import path but I also need to rename the package. See bug https://bugzilla.redhat.com/show_bug.cgi?id=1556636 As soon is is accepted I will launch the builds.
Is this fixed, then?
Yes it should have been fixed a while ago.