From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6B25138334 for ; Mon, 16 Sep 2019 18:26:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BAB4E09C2; Mon, 16 Sep 2019 18:26:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD978E093A for ; Mon, 16 Sep 2019 18:26:52 +0000 (UTC) Received: from whubbs1.gaikai.biz (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 9DD1B34B262; Mon, 16 Sep 2019 18:26:51 +0000 (UTC) Received: (nullmailer pid 27930 invoked by uid 1000); Mon, 16 Sep 2019 18:26:46 -0000 Date: Mon, 16 Sep 2019 13:26:46 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: zmedico@gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/1] go-module.eclass: introduce new eclass to handle go modules Message-ID: <20190916182646.GA27855@whubbs1.dev.av1.gaikai.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org, zmedico@gentoo.org References: <20190916141719.12922-1-williamh@gentoo.org> <20190916141719.12922-2-williamh@gentoo.org> <55ceba99-1d34-070a-fe3d-17c497621c9d@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <55ceba99-1d34-070a-fe3d-17c497621c9d@gentoo.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: dd179b9f-0be1-4416-bad1-37c7049302f4 X-Archives-Hash: ef00f7553272a0f0481fdde225970d3c --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 16, 2019 at 10:48:14AM -0700, Zac Medico wrote: > On 9/16/19 7:17 AM, William Hubbs wrote: > > +BDEPEND=3D">=3Ddev-lang/go-1.12" > > + > > +# The following go flags should be used for all go builds. > > +# -mod=3Dvendor stopps downloading of dependencies from the internet. > > +# -v prints the names of packages as they are compiled > > +# -x prints commands as they are executed > > +export GOFLAGS=3D"-mod=3Dvendor -v -x" >=20 > My experience with g-1.12.x was that you have to export GO111MODULE=3Don > or else GOFLAGS=3D"-mod=3Dvendor" triggers an error like this: >=20 > build flag -mod=3Dvendor only valid when using modules I thought that was only if ${S} was in GOPATH, but I'll take a look real quick. If it is, would it be best to bump the BDEPEND or turn on the environment setting? Thanks, William --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCXX/T4AAKCRBuVBb0MMRl ONC8AJwK8rOeVT9kYMPZr4a26X5dLCeHwQCgqyhcvYf20pdk8KGsJbKBTzJr0B0= =ex4u -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--