Received: from listserv.local (listserv [172.16.8.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id B1353782CAB; Thu, 19 Aug 2021 18:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1629397519; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references; bh=4EcC4D+waQOAk0fwFm2Ch5PGRsdRbCGQd9GeDICsDw4=; b=GR7ZVydaBiJcyu9rCuKGPCmfelBrpnKzInAonXeEEW4iFPf8gLa0GRG5Zu6pns+eJWXLnB KtGBWMl3e3Y6LfMwfVqGpiaKaOgIiKl1HjjDBqQ9/POB/HFth9QYirx25U9Yq98CkqWdgR 5xWFONn1O3KPnu68H8eunzrkzRevLEk= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit To: Marvin Preuss From: Kevin Daudt Cc: alpine-aports@lists.alpinelinux.org In-Reply-To: <20210818072326.109373-1-marvin@xsteadfastx.org> Subject: Re: [PATCH] testing/tlsrouter: new aport Date: Thu, 19 Aug 2021 18:25:19 -0000 Message-ID: <162939751969.6885.2001648593716201802.gitlab.24349.548b853b42a23eed260265aabfb5c76447069a14@listserv.local> On Wed, 18 Aug 2021 09:23:26 +0200, Marvin Preuss wrote: > + > +export GOFLAGS="$GOFLAGS -modcacherw" > +export GO111MODULE=off There is no dependency lock file, so each build could pull in different dependencies. My advise is to run: ``` $ go mod init tlsproxy $ go mod tidy ``` in the project dir, copy `go.{mod,sum}` file to the startdir, and then in prepare(), copy these files to `$builddir`. Then go will always use the same dependencies. -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24349#note_175758