Hi, Just fixing a typo. When I said: 'from "./hudsond" to "mpf/sherlock/bot/src/hudsonbot" the problem was solved.' I meant: 'from "./hudsonbot" to "mpf/sherlock/bot/src/hudsonbot" the problem was solved.'
Thank you for the attention! Luis Otavio de Colla Furquim Em quarta-feira, 31 de janeiro de 2018 15:15:25 UTC-2, Luis Furquim escreveu: > > Hi, > > Thanks for answering! The environment is as follows: > vuco@azrael ~ $ go env > GOARCH="amd64" > GOBIN="" > GOEXE="" > GOHOSTARCH="amd64" > GOHOSTOS="linux" > GOOS="linux" > GOPATH="/home/vuco/repos/gopkg" > GORACE="" > GOROOT="/home/vuco/repos/go" > GOTOOLDIR="/home/vuco/repos/go/pkg/tool/linux_amd64" > GCCGO="gccgo" > CC="gcc" > GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 > -fdebug-prefix-map=/tmp/go-build989727804=/tmp/go-build > -gno-record-gcc-switches" > CXX="g++" > CGO_ENABLED="1" > CGO_CFLAGS="-g -O2" > CGO_CPPFLAGS="" > CGO_CXXFLAGS="-g -O2" > CGO_FFLAGS="-g -O2" > CGO_LDFLAGS="-g -O2" > PKG_CONFIG="pkg-config" > > But I just found the solution which I will describe here just in case > someone else get stuck with the same problem: > > The vendored package is "github.com/gabrielledf/paperfishGo" (I refer to > is as paperfishGo) and the package who > imports it is located at > /home/vuco/repos/gopkg/src/mpf/sherlock/bot/src/hudsonbot (I will call it > as hudsonbot). > The package hudsonbot is being imported by hudsond, which is my main > package. > > According to the pages I found, the problem would occur if hudsonbot had > imported paperfishGo using a relative path. > In my case the path was absolute. > > But what I realized is that hudsonbot itself was imported by hudsond using > a relative path. When I changed the import path > from "./hudsond" to "mpf/sherlock/bot/src/hudsonbot" the problem was > solved. > > Thank you for the attention! > Luis Otavio de Colla Furquim > > > Em quarta-feira, 31 de janeiro de 2018 10:00:19 UTC-2, Dave Cheney > escreveu: >> >> Hi, >> >> Can you please provide the output from running, >> >> go env >> >> It looks like your GOPATH variables is either not set, or not set to the >> correct value, which in this case looks to be, >> >> /home/vuco/repos/gopkg >> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.