From owner-freebsd-ports@freebsd.org Sun Jun 23 10:47:22 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C3F815CCDC3 for ; Sun, 23 Jun 2019 10:47:22 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D84208516C; Sun, 23 Jun 2019 10:47:21 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hf01q-000G0j-Rz; Sun, 23 Jun 2019 12:47:22 +0200 Date: Sun, 23 Jun 2019 12:47:22 +0200 From: Kurt Jaeger To: Tobias Kortkamp Cc: FreeBSD Ports Subject: Re: How to handle go dependencies Message-ID: <20190623104722.GN5902@home.opsec.eu> References: <5d0e8e03.1c69fb81.5e249.9640@mx.google.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190623103335.GA5947@urd.tobik.me> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2019 10:47:22 -0000 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 !