Date: Sun, 23 Jun 2019 11:47:41 +0200 From: Matthias Fechner <idefix@fechner.net> To: Adam Weinberger <adamw@adamw.org>, Bernhard Froehlich <decke@bluelife.at>, FreeBSD Ports <freebsd-ports@freebsd.org>, "Danilo G. Baio" <dbaio@freebsd.org> Subject: Re: How to handle go dependencies Message-ID: <4de2a97c-8c41-74e4-cda1-4fdec9554e8f@fechner.net> In-Reply-To: <20190622205205.GB40599@xombo.localdomain> References: <5d0e8e03.1c69fb81.5e249.9640@mx.google.com> <CAP7rwchtYTf5XPoTgk6B2drdPjzP%2B5opq-sN=kGsTJei6dT_Dg@mail.gmail.com> <20190622205205.GB40599@xombo.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 22.06.2019 um 22:52 schrieb Dmitri Goutnik: > Can be further simplified by using USES=3Dgo:modules. This will remove = the need=20 > to modify MAKE_ENV as go.mk will then add -mod=3Dvendor flag automagica= lly. very interesting. I also found a nice mechanism in devel/bingo. It has a very nice awk script to generate the GH_TUPLE line automatically (see Makefile target gomod-deps). But I have now the problem that my source is hosted on gitlab, so I use `USE_GITLAB`. It seems to make problem if I try to also use `USE_GITHUB`. I see now the following problem: make: "/usr/ports/Mk/bsd.sites.mk" line 602: warning: duplicate script for target "git-clone-DEFAULT" ignored make: "/usr/ports/Mk/bsd.sites.mk" line 466: warning: using previous script for "git-clone-DEFAULT" defined here make: "/usr/ports/Mk/bsd.sites.mk" line 603: warning: duplicate script for target "git-clone-DEFAULT" ignored make: "/usr/ports/Mk/bsd.sites.mk" line 466: warning: using previous script for "git-clone-DEFAULT" defined here pkg-static: /tmp/pkgs/gitaly-1.47.0.txz: No such file or directory pkg-static: Was 'pkg install /tmp/pkgs/gitaly-1.47.0.txz' meant? Can I use GITLAB too fetch the main archive and use GITHUB to fetch the go packages I need? Gru=C3=9F Matthias --=20 "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4de2a97c-8c41-74e4-cda1-4fdec9554e8f>