Date: Thu, 02 Sep 2021 13:19:51 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258210] USES=go:modules make extract failures after port was updated Message-ID: <bug-258210-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258210 Bug ID: 258210 Summary: USES=3Dgo:modules make extract failures after port was updated Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: dinoex@FreeBSD.org CC: ports-bugs@FreeBSD.org Environment: Building ports in clean jails. Shared and static /usr/ports/distfiles/ Problem: After a port with USES=3Dgo:modules was updated, build fails in make extract stage. Logfiles: [...] go: finding module for package github.com/stretchr/testify/require github.com/influxdata/influxdb/cmd/influx/cli imports github.com/influxdata/flux: cannot find module providing package github.com/influxdata/flux: module lookup disabled by GOPROXY=3Doff [...] *** Failed target: post-extract *** Failed command: (cd /usr/obj/image/usr/ports/databases/influxdb/work/github.com/influxdata/infl= uxdb@v1.8.6; /usr/bin/env CGO_ENABLED=3D1 CGO_CFLAGS=3D"-I/usr/local/include" CGO_LDFLAGS=3D"-L/usr/local/lib" GOARM=3D GOPATH=3D"/usr/ports/distfiles/go/databases_influxdb" GOBIN=3D"/usr/obj/image/usr/ports/databases/influxdb/work/bin" GO111MODULE= =3Don GOFLAGS=3D-modcacherw GOSUMDB=3Dsum.golang.org GOPROXY=3Doff /usr/local/bin= /go mod vendor) *** Error code 1 [...] [...] go: finding module for package github.com/golang/protobuf/ptypes/empty github.com/influxdata/telegraf/agent imports github.com/benbjohnson/clock: cannot find module providing package github.com/benbjohnson/clock: module lookup disabled by GOPROXY=3Doff [...] *** Failed target: post-extract *** Failed command: (cd /usr/obj/image/usr/ports/net-mgmt/telegraf/work/github.com/influxdata/teleg= raf@v1.19.3; /usr/bin/env CGO_ENABLED=3D1 CGO_CFLAGS=3D"-I/usr/local/include" CGO_LDFLAGS=3D"-L/usr/local/lib" GOARM=3D GOPATH=3D"/usr/ports/distfiles/go/net-mgmt_telegraf" GOBIN=3D"/usr/obj/image/usr/ports/net-mgmt/telegraf/work/bin" GO111MODULE= =3Don GOFLAGS=3D-modcacherw GOSUMDB=3Dsum.golang.org GOPROXY=3Doff /usr/local/bin= /go mod vendor) *** Error code 1 [...] Finally I found a workaround by cleaning the old parts of distfiles: # rm -rf /usr/ports/distfiles/go/net-mgmt_telegraf/telegraf-v1.19.2 # rm -rf /usr/ports/distfiles/go/databases_influxdb The ports can be build sucessfully again. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258210-7788>