Date: Mon, 17 Jan 2022 15:50:54 +0100 From: Matthias Fechner <idefix@fechner.net> To: Larry Rosenman <ler@lerctr.org> Cc: ports@freebsd.org Subject: Re: Go modules help Message-ID: <dac1ff0f-004b-15ba-67e1-dfbdde2036ec@fechner.net> In-Reply-To: <1ddfac966f2bf7109b11e1689400e9b4@lerctr.org> References: <1ddfac966f2bf7109b11e1689400e9b4@lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dac1ff0f-004b-15ba-67e1-dfbdde2036ec>