Re: Porting of Smallstep CA

2020-04-10 Thread Markus Wipp


> On 8. Apr 2020, at 23:05, Bernhard Fröhlich  wrote
> 
> 
> There is more work to do (pkg-descr, pkg-plist probably, don't know if it 
> needs some other files etc.) but it builds the binary at least and passes 
> portlint:
> 
> https://github.com/decke/ports/blob/master/security/smallstep-cli/Makefile 
> 

Hi Bernhard, 

Thanks for your input here. I tried it and it worked. Unfortunately in the 
meantime there is a new version of this tool and I tried to do it the same way, 
but I’m getting the following
Error now:

===>  Building for smallstep-cli-0.14.2
(cd /usr/ports/security/smallstep-cli/work/cli-0.14.2;  for t in ./cmd/step; do 
 out=$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee 
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/smallstep-cli/'));  pkg=$(echo ${t} |  
/usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^smallstep-cli$/./');  echo "===>  
Building ${out} from ${pkg}";  /usr/bin/env 
XDG_DATA_HOME=/usr/ports/security/smallstep-cli/work  
XDG_CONFIG_HOME=/usr/ports/security/smallstep-cli/work  
HOME=/usr/ports/security/smallstep-cli/work 
PATH=/usr/ports/security/smallstep-cli/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644" 
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444" CGO_ENABLED=1  
CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOARM= 
GOPATH=""  GOBIN="/usr/ports/security/smallstep-cli/work/bin"  
GO_NO_VENDOR_CHECKS=1 /usr/local/bin/go build -v -buildmode=exe -ldflags=-s 
-mod=vendor  -o /usr/ports/security/smallstep-cli/work/bin/${out}  ${pkg};  
done)
===>  Building step from ./cmd/step
import cycle not allowed
package github.com/smallstep/cli/cmd/step
imports github.com/smallstep/certificates/ca
imports github.com/smallstep/certificates/acme/api
imports github.com/smallstep/certificates/api
imports github.com/smallstep/certificates/authority
imports github.com/smallstep/certificates/kms
imports github.com/smallstep/certificates/kms/cloudkms
imports cloud.google.com/go/kms/apiv1
imports cloud.google.com/go/iam
imports github.com/googleapis/gax-go/v2
imports github.com/googleapis/gax-go/v2
*** Error code 1

Stop.
make: stopped in /usr/ports/security/smallstep-cli

As I’m not a go programmer, I’ve no clue of why this is happening and what to 
do about it.
I already have regenerated the go mod vender / modules2tuples part in the 
Makefile and did a make clean makesum stage

When using the Makefile that comes with the tool it builds with no issues. When 
I try to use this and put in
USES=   gmake go:modules,no_targets
ALL_TARGET= build

Instead of
USES=  go:modules

I get this error:

Build Complete!
gmake[1]: Leaving directory '/usr/ports/security/smallstep-cli/work/cli-0.14.2'
===>  Staging for smallstep-cli-0.14.2
===>   Generating temporary packing list
gmake[1]: Entering directory '/usr/ports/security/smallstep-cli/work/cli-0.14.2'
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   [-B suffix] [-l linkflags] [-N dbdir]
   file1 file2
   install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   [-B suffix] [-l linkflags] [-N dbdir]
   file1 ... fileN directory
   install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   directory ...
gmake[1]: *** [make/common.mk:92: install] Error 64
gmake[1]: Leaving directory '/usr/ports/security/smallstep-cli/work/cli-0.14.2'
*** Error code 2

Stop.
make: stopped in /usr/ports/security/smallstep-cli

Additionally I’m not able to find the bin directory which is created when I do 
this manually.

Any help Is highly appreciated!

Thanks 
Markus

> 
> -- 
> Bernhard Fröhlich
> http://www.bluelife.at/ 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Porting of Smallstep CA

2020-04-08 Thread Markus Wipp


> On 8. Apr 2020, at 03:34, Adam Weinberger  wrote:
> 
> On Tue, Apr 7, 2020 at 2:08 PM Markus Wipp  > wrote:
>> 
>> Hi all,
>> 
>> I would like to create a port of the CA tool (basically two ports: cli and 
>> certificates) found on
>> https://github.com/smallstep
>> https://smallstep.com/
>> 
>> What I tried so far was:
>> 1) make it on my machine without the ports infrastructure. This basically 
>> works fine and without any errors and modifications needed ( I just do a 
>> gmake bootstrap and then a gmake build )
>> 2) tried to create a port using the guide at 
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-porting.html
>> 3) tried Slow porting, but I think I’m not really understanding how and 
>> where to begin
>> 
>> The main issue is, that I don’t really know what I have to do here, to 
>> achieve what’s required to correctly build the port.
>> It is the very first time I’m trying to create a port.
> 
> Hi Markus,
> 
> You're on the right track here. The next step is that none of the
> stuff where go fetches a remote module can happen. All packages on the
> cluster (and the vast majority of end-user-built sets) are built using
> poudriere (ports-mgmt/poudriere), which shuts down all external
> traffic during builds.
> 
> The port needs to specify all dependent modules. Take a look at
> another go port, like www/gohugo for an idea of how this works.
> net/geoipupdate is similar to what you're doing, where it needs go
> modules, but is built with gmake.
> 
> You're misusing a couple constructs, but if you copy the framework in
> geoipupdate and gohugo you'll resolve most of them (also, define
> NO_WRKSUBDIR instead of setting WRKSRC=WRKDIR).
> 
> I'm not sure where golint is entering in, but it needs to not be
> there. Linting is for upstream developers, and has no purpose for
> end-user builds.
> 
> Does that help to get you started?
> 
> # Adam

Hi Adam,
Hi all others,

First go all a big thank you for all your tips and helpful suggestions so far!

I think I’m a top closer, but still have some issues. Would be great if you 
could have a look again and give me some hints about what I’m doing wrong.

This is my reworked makefile:

# $FreeBSD $

PORTNAME=   smallstep-cli
DISTVERSIONPREFIX=  v
DISTVERSION=0.14.0-rc.5
DISTNAME=   cli
CATEGORIES= security
DIST_SUBDIR=${PORTNAME}

MAINTAINER= mw@wipp.bayern
COMMENT=Smallstep step-ca command line client

LICENSE=APACHE20
LICENSE_FILE_APACHE20=  ${WRKSRC}/LICENSE

USES=   go

USE_GITHUB= yes
GH_ACCOUNT= smallstep
GH_PROJECT= cli
#GH_SUBDIR= cli-0.14.0-rc.5


MAKE_ENV+=  GOPATH=${WRKDIR}

BUILD_DEPENDS=  go>1:lang/go \
bash>5:shells/bash \
curl>7:ftp/curl


GH_TUPLE=   \

AndreasBriese:bbloom:e2d15f34fcf9:andreasbriese_bbloom/vendor/github.com/AndreasBriese/bbloom
 \

BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \

Masterminds:goutils:v1.1.0:masterminds_goutils/vendor/github.com/Masterminds/goutils
 \

Masterminds:semver:v3.0.1:masterminds_semver/vendor/github.com/Masterminds/semver/v3
 \

Masterminds:sprig:v3.0.0:masterminds_sprig/vendor/github.com/Masterminds/sprig/v3
 \

Microsoft:go-winio:v0.4.14:microsoft_go_winio/vendor/github.com/Microsoft/go-winio
 \

OpenPeeDeeP:depguard:v1.0.1:openpeedeep_depguard/vendor/github.com/OpenPeeDeeP/depguard
 \

ThomasRooney:gexpect:5482f0350944:thomasrooney_gexpect/vendor/github.com/ThomasRooney/gexpect
 \

asaskevich:govalidator:475eaeb16496:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator
 \
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks 
\

bgentry:speakeasy:v0.1.0:bgentry_speakeasy/vendor/github.com/bgentry/speakeasy \

bombsimon:wsl:v2.0.0:bombsimon_wsl/vendor/github.com/bombsimon/wsl/v2 \

boombuler:barcode:v1.0.0:boombuler_barcode/vendor/github.com/boombuler/barcode \

cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 \
cheggaaa:pb:v1.0.28:cheggaaa_pb/vendor/gopkg.in/cheggaaa/pb.v1 \

chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \
coreos:bbolt:v1.3.3:coreos_bbolt/vendor/github.com/coreos/bbolt 
\
coreos:etcd:v3.3.18:coreos_etcd/vendor/github.com/coreos/etcd \

coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semver \

coreos:go-systemd:95778dfbb74e:coreos_go_systemd/vendor/github.com/coreos/go-systemd
 

RE: Porting of Smallstep CA

2020-04-08 Thread driesm.michiels
> -Original Message-
> From: owner-freebsd-po...@freebsd.org 
> On Behalf Of Markus Wipp
> Sent: dinsdag 7 april 2020 22:08
> To: freebsd-ports@freebsd.org
> Subject: Porting of Smallstep CA
> 
> Hi all,
> 
> I would like to create a port of the CA tool (basically two ports: cli and
> certificates) found on https://github.com/smallstep https://smallstep.com/
> 
> What I tried so far was:
> 1) make it on my machine without the ports infrastructure. This basically
> works fine and without any errors and modifications needed ( I just do a
> gmake bootstrap and then a gmake build )
> 2) tried to create a port using the guide at
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-
> handbook/quick-porting.html
> 3) tried Slow porting, but I think I’m not really understanding how and where
> to begin
> 
> The main issue is, that I don’t really know what I have to do here, to achieve
> what’s required to correctly build the port.
> It is the very first time I’m trying to create a port.
> 
> My Makefile looks like this:
> 
> # $FreeBSD $
> 
> PORTNAME= step-cli
> DISTVERSIONPREFIX=v
> DISTVERSION=  0.14.0-rc.4
> CATEGORIES=   security
> MASTER_SITES=
>   https://github.com/smallstep/cli/releases/download/v${DISTVERSION
> }/
> #PKGNAMESUFFIX=   0.14.0-rc.4
> DISTNAME= ${PORTNAME}_${DISTVERSION}
> MAINTAINER=   mw@wipp.bayern
> COMMENT=  Smallstep step-ca command line client
> LICENSE=  APACHE20
> 
> #WRKSRC=  ${WRKDIR}/step-cli
> WRKSRC=   ${WRKDIR}/
> NO_WRKSUBDIR= yes
> 
> BUILD_DEPENDS=go>1:lang/go \
>   bash>5:shells/bash \
>   curl>7:ftp/curl \
>   golint:devel/golint
> 
> USES= gmake
> MAKE_ARGS=build
> 
> 
> .include 
> 
> 
> When I try to run make stage on this I get:
> root@pkgbuild:/usr/ports/security/step-cli # make stage ===>  Building for
> step-cli-0.14.0.r.4
> gmake[1]: Entering directory '/usr/ports/security/step-cli/work'
> /bin/sh: golangci-lint: not found
> gmake[1]: *** [make/common.mk:101: lint] Error 127
> gmake[1]: *** Waiting for unfinished jobs
> go: finding module for package github.com/envoyproxy/protoc-gen-
> validate/tests/harness/cases/go
> go: finding module for package
> github.com/shurcooL/github_flavored_markdown
> go: finding module for package github.com/samuel/go-zookeeper/zk
> go: finding module for package github.com/mozilla/scribe
> go: finding module for package golang.org/x/mobile/event/lifecycle
> go: finding module for package github.com/lyft/protoc-gen-star
> go: finding module for package github.com/ethereum/go-ethereum/ethclient
> go: finding module for package github.com/BurntSushi/xgb
> go: finding module for package github.com/ethereum/go-ethereum/rlp
> go: finding module for package github.com/oklog/oklog/pkg/group
> go: finding module for package github.com/influxdata/influxdb1-client/v2
> go: finding module for package gopkg.in/yaml.v1
> go: finding module for package github.com/hashicorp/consul/api
> go: finding module for package github.com/openzipkin/zipkin-go
> go: finding module for package github.com/iancoleman/strcase
> go: finding module for package github.com/BurntSushi/xgb/shm
> go: finding module for package golang.org/x/mobile/event/key
> go: finding module for package golang.org/x/image/math/fixed
> go: finding module for package github.com/gorilla/mux
> go: finding module for package github.com/ianlancetaylor/demangle
> go: finding module for package github.com/openzipkin-contrib/zipkin-go-
> opentracing
> go: finding module for package go.mozilla.org/mozlog
> go: finding module for package github.com/nats-io/nats.go
> go: finding module for package github.com/envoyproxy/protoc-gen-
> validate/tests/harness/go
> go: finding module for package github.com/Sirupsen/logrus
> go: finding module for package bitbucket.org/creachadair/shell
> go: finding module for package github.com/envoyproxy/protoc-gen-
> validate/tests/harness/gogo
> go: finding module for package
> sourcegraph.com/sourcegraph/appdash/opentracing
> go: finding module for package github.com/remyoudompheng/go-misc/zipfs
> go: finding module for package github.com/benlaurie/gds-registers/register
> go: finding module for package github.com/BurntSushi/xgb/render
> go: finding module for package github.com/shurcooL/gopherjslib
> go: finding module for package github.com/openzipkin/zi

Re: Porting of Smallstep CA

2020-04-07 Thread Adam Weinberger
On Tue, Apr 7, 2020 at 2:08 PM Markus Wipp  wrote:
>
> Hi all,
>
> I would like to create a port of the CA tool (basically two ports: cli and 
> certificates) found on
> https://github.com/smallstep
> https://smallstep.com/
>
> What I tried so far was:
> 1) make it on my machine without the ports infrastructure. This basically 
> works fine and without any errors and modifications needed ( I just do a 
> gmake bootstrap and then a gmake build )
> 2) tried to create a port using the guide at 
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-porting.html
> 3) tried Slow porting, but I think I’m not really understanding how and where 
> to begin
>
> The main issue is, that I don’t really know what I have to do here, to 
> achieve what’s required to correctly build the port.
> It is the very first time I’m trying to create a port.

Hi Markus,

You're on the right track here. The next step is that none of the
stuff where go fetches a remote module can happen. All packages on the
cluster (and the vast majority of end-user-built sets) are built using
poudriere (ports-mgmt/poudriere), which shuts down all external
traffic during builds.

The port needs to specify all dependent modules. Take a look at
another go port, like www/gohugo for an idea of how this works.
net/geoipupdate is similar to what you're doing, where it needs go
modules, but is built with gmake.

You're misusing a couple constructs, but if you copy the framework in
geoipupdate and gohugo you'll resolve most of them (also, define
NO_WRKSUBDIR instead of setting WRKSRC=WRKDIR).

I'm not sure where golint is entering in, but it needs to not be
there. Linting is for upstream developers, and has no purpose for
end-user builds.

Does that help to get you started?

# Adam


>
> My Makefile looks like this:
>
> # $FreeBSD $
>
> PORTNAME=   step-cli
> DISTVERSIONPREFIX=  v
> DISTVERSION=0.14.0-rc.4
> CATEGORIES= security
> MASTER_SITES=   
> https://github.com/smallstep/cli/releases/download/v${DISTVERSION}/
> #PKGNAMESUFFIX= 0.14.0-rc.4
> DISTNAME=   ${PORTNAME}_${DISTVERSION}
> MAINTAINER= mw@wipp.bayern
> COMMENT=Smallstep step-ca command line client
> LICENSE=APACHE20
>
> #WRKSRC=${WRKDIR}/step-cli
> WRKSRC= ${WRKDIR}/
> NO_WRKSUBDIR=   yes
>
> BUILD_DEPENDS=  go>1:lang/go \
> bash>5:shells/bash \
> curl>7:ftp/curl \
> golint:devel/golint
>
> USES=   gmake
> MAKE_ARGS=  build
>
>
> .include 
>
>
> When I try to run make stage on this I get:
> root@pkgbuild:/usr/ports/security/step-cli # make stage
> ===>  Building for step-cli-0.14.0.r.4
> gmake[1]: Entering directory '/usr/ports/security/step-cli/work'
> /bin/sh: golangci-lint: not found
> gmake[1]: *** [make/common.mk:101: lint] Error 127
> gmake[1]: *** Waiting for unfinished jobs
> go: finding module for package 
> github.com/envoyproxy/protoc-gen-validate/tests/harness/cases/go
> go: finding module for package github.com/shurcooL/github_flavored_markdown
> go: finding module for package github.com/samuel/go-zookeeper/zk
> go: finding module for package github.com/mozilla/scribe
> go: finding module for package golang.org/x/mobile/event/lifecycle
> go: finding module for package github.com/lyft/protoc-gen-star
> go: finding module for package github.com/ethereum/go-ethereum/ethclient
> go: finding module for package github.com/BurntSushi/xgb
> go: finding module for package github.com/ethereum/go-ethereum/rlp
> go: finding module for package github.com/oklog/oklog/pkg/group
> go: finding module for package github.com/influxdata/influxdb1-client/v2
> go: finding module for package gopkg.in/yaml.v1
> go: finding module for package github.com/hashicorp/consul/api
> go: finding module for package github.com/openzipkin/zipkin-go
> go: finding module for package github.com/iancoleman/strcase
> go: finding module for package github.com/BurntSushi/xgb/shm
> go: finding module for package golang.org/x/mobile/event/key
> go: finding module for package golang.org/x/image/math/fixed
> go: finding module for package github.com/gorilla/mux
> go: finding module for package github.com/ianlancetaylor/demangle
> go: finding module for package 
> github.com/openzipkin-contrib/zipkin-go-opentracing
> go: finding module for package go.mozilla.org/mozlog
> go: finding module for package github.com/nats-io/nats.go
> go: finding module for package 
> github.com/envoyproxy/protoc-gen-validate/tests/harness/go
> go: finding module for package github.com/Sirupsen/logrus
> go: finding module for package bitbucket.org/creachadair/shell
> go: finding module for package 
> 

Porting of Smallstep CA

2020-04-07 Thread Markus Wipp
Hi all, 

I would like to create a port of the CA tool (basically two ports: cli and 
certificates) found on
https://github.com/smallstep
https://smallstep.com/

What I tried so far was:
1) make it on my machine without the ports infrastructure. This basically works 
fine and without any errors and modifications needed ( I just do a gmake 
bootstrap and then a gmake build )
2) tried to create a port using the guide at 
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-porting.html
 
3) tried Slow porting, but I think I’m not really understanding how and where 
to begin

The main issue is, that I don’t really know what I have to do here, to achieve 
what’s required to correctly build the port. 
It is the very first time I’m trying to create a port.

My Makefile looks like this:

# $FreeBSD $

PORTNAME=   step-cli
DISTVERSIONPREFIX=  v
DISTVERSION=0.14.0-rc.4
CATEGORIES= security
MASTER_SITES=   
https://github.com/smallstep/cli/releases/download/v${DISTVERSION}/
#PKGNAMESUFFIX= 0.14.0-rc.4
DISTNAME=   ${PORTNAME}_${DISTVERSION}
MAINTAINER= mw@wipp.bayern
COMMENT=Smallstep step-ca command line client
LICENSE=APACHE20

#WRKSRC=${WRKDIR}/step-cli
WRKSRC= ${WRKDIR}/
NO_WRKSUBDIR=   yes

BUILD_DEPENDS=  go>1:lang/go \
bash>5:shells/bash \
curl>7:ftp/curl \
golint:devel/golint

USES=   gmake
MAKE_ARGS=  build


.include 


When I try to run make stage on this I get:
root@pkgbuild:/usr/ports/security/step-cli # make stage
===>  Building for step-cli-0.14.0.r.4
gmake[1]: Entering directory '/usr/ports/security/step-cli/work'
/bin/sh: golangci-lint: not found
gmake[1]: *** [make/common.mk:101: lint] Error 127
gmake[1]: *** Waiting for unfinished jobs
go: finding module for package 
github.com/envoyproxy/protoc-gen-validate/tests/harness/cases/go
go: finding module for package github.com/shurcooL/github_flavored_markdown
go: finding module for package github.com/samuel/go-zookeeper/zk
go: finding module for package github.com/mozilla/scribe
go: finding module for package golang.org/x/mobile/event/lifecycle
go: finding module for package github.com/lyft/protoc-gen-star
go: finding module for package github.com/ethereum/go-ethereum/ethclient
go: finding module for package github.com/BurntSushi/xgb
go: finding module for package github.com/ethereum/go-ethereum/rlp
go: finding module for package github.com/oklog/oklog/pkg/group
go: finding module for package github.com/influxdata/influxdb1-client/v2
go: finding module for package gopkg.in/yaml.v1
go: finding module for package github.com/hashicorp/consul/api
go: finding module for package github.com/openzipkin/zipkin-go
go: finding module for package github.com/iancoleman/strcase
go: finding module for package github.com/BurntSushi/xgb/shm
go: finding module for package golang.org/x/mobile/event/key
go: finding module for package golang.org/x/image/math/fixed
go: finding module for package github.com/gorilla/mux
go: finding module for package github.com/ianlancetaylor/demangle
go: finding module for package 
github.com/openzipkin-contrib/zipkin-go-opentracing
go: finding module for package go.mozilla.org/mozlog
go: finding module for package github.com/nats-io/nats.go
go: finding module for package 
github.com/envoyproxy/protoc-gen-validate/tests/harness/go
go: finding module for package github.com/Sirupsen/logrus
go: finding module for package bitbucket.org/creachadair/shell
go: finding module for package 
github.com/envoyproxy/protoc-gen-validate/tests/harness/gogo
go: finding module for package sourcegraph.com/sourcegraph/appdash/opentracing
go: finding module for package github.com/remyoudompheng/go-misc/zipfs
go: finding module for package github.com/benlaurie/gds-registers/register
go: finding module for package github.com/BurntSushi/xgb/render
go: finding module for package github.com/shurcooL/gopherjslib
go: finding module for package github.com/openzipkin/zipkin-go/reporter/http
go: finding module for package golang.org/x/mobile/event/paint
go: finding module for package sourcegraph.com/sourcegraph/appdash
go: finding module for package github.com/VividCortex/gohistogram
go: finding module for package github.com/shurcooL/httpfs/vfsutil
go: finding module for package github.com/remyoudompheng/go-misc/weechat
go: finding module for package github.com/miekg/dns
go: finding module for package golang.org/x/mobile/event/mouse
go: finding module for package github.com/lyft/protoc-gen-star/lang/go
go: finding module for package gopkg.in/gcfg.v1
go: finding module for package github.com/jgautheron/goconst
go: finding module for package github.com/otiai10/copy