Date: Sun, 23 Jun 2019 12:47:22 +0200 From: Kurt Jaeger <pi@freebsd.org> To: Tobias Kortkamp <tobik@freebsd.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: How to handle go dependencies Message-ID: <20190623104722.GN5902@home.opsec.eu> In-Reply-To: <20190623103335.GA5947@urd.tobik.me> References: <5d0e8e03.1c69fb81.5e249.9640@mx.google.com> <CAP7rwchtYTf5XPoTgk6B2drdPjzP%2B5opq-sN=kGsTJei6dT_Dg@mail.gmail.com> <20190622205205.GB40599@xombo.localdomain> <4de2a97c-8c41-74e4-cda1-4fdec9554e8f@fechner.net> <20190623095737.GA89814@urd.tobik.me> <20190623103000.GM5902@home.opsec.eu> <20190623103335.GA5947@urd.tobik.me>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! [...] > > can't load package: package github.com/osrg/gobgp/gobgpd: cannot find package "github.com/osrg/gobgp/gobgpd" in any of: > > /usr/local/go/src/github.com/osrg/gobgp/gobgpd (from $GOROOT) > > /home/pi/m/net/gobgp/work/src/github.com/osrg/gobgp/gobgpd (from $GOPATH) > > *** Error code 1 > > You need USES=go:modules not just USES=go. Thanks. This changes the 'cd' at the beginning from cd /home/pi/m/net/gobgp/work/src/github.com/osrg/gobgp to cd /home/pi/m/net/gobgp/work/gobgp-2.5.0 and with a slightly different error: can't load package: package github.com/osrg/gobgp/gobgp: cannot find package "." in: /home/pi/m/net/gobgp/work/gobgp-2.5.0/gobgp I do not think that I understand what's going on 8-} -- pi@opsec.eu +49 171 3101372 One year to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190623104722.GN5902>