Re: Go modules help
- Reply: Matthias Fechner : "Re: Go modules help"
- In reply to: Larry Rosenman : "Re: Go modules help"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Jan 2022 16:46:43 UTC
On 01/17/2022 8:58 am, Larry Rosenman wrote: > On 01/17/2022 8:50 am, Matthias Fechner wrote: >> Dear Larry, >> >> Am 16.01.2022 um 21:19 schrieb Larry Rosenman: >>> I'm trying to update thanos, and poudriere port test garners: >>> ===> Building thanos from ./cmd/thanos >>> vendor/cloud.google.com/go/storage/iam.go:20:2: cannot find package >>> "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/iam >>> vendor/cloud.google.com/go/storage/bucket.go:24:2: cannot find >>> package "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/internal/optional >>> vendor/cloud.google.com/go/storage/acl.go:22:2: cannot find package >>> "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/internal/trace >>> vendor/cloud.google.com/go/storage/storage.go:43:2: cannot find >>> package "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/internal/version >>> pkg/tracing/stackdriver/tracer.go:12:2: cannot find package "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/trace/apiv1 >>> vendor/github.com/elastic/go-sysinfo/providers/darwin/os.go:26:2: >>> cannot find package "." in: >>> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/howett.net/plist >>> *** Error code 1 >>> >>> Makefile (as updated), attached. >> >> I think line 136 has a wrong path (in the last column), do you >> generate this using modules2tuple? >> googleapis:google-cloud-go:storage/v1.10.0:googleapis_google_cloud_go_storage >> \ >> >> I think it should be something like: >> >> googleapis:google-cloud-go:storage/v1.10.0:googleapis_google_cloud_go_storage/vendor/google./golang.org/_unkown_ >> \ >> >> the _unkown_ you must fill with the correct directory. >> I think modules2tuple has problem if a tag has a / in it. >> I see the same problems if the group has a / like if have it for some >> gitlab depedencies. >> I had to fix this all the time manually. >> >> Gruß >> Matthias > > > Yeah, it was generated with modules2tuple. Thanks for the hint. Progress, but I'm now getting: => SHA256 Checksum OK for go-plist-591f970eefbbeb04d7b37f334a0c4c3256e32876_GL0.tar.gz. /bin/rm -f -r /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/go/storage install -l rs /wrkdirs/usr/ports/net-mgmt/thanos/work/google-cloud-go-0.97.0/go/storage /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/cloud.google.com/storage install: /wrkdirs/usr/ports/net-mgmt/thanos/work/google-cloud-go-0.97.0/go/storage: realpath: No such file or directory *** Error code 71 new makefile attached. I've tried I don't know how many things with the m2t made lines. Help. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106