Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2022 08:58:53 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        ports@freebsd.org
Subject:   Re: Go modules help
Message-ID:  <3a9bde71cd16d16d55d67fd3adaf4016@lerctr.org>
In-Reply-To: <dac1ff0f-004b-15ba-67e1-dfbdde2036ec@fechner.net>
References:  <1ddfac966f2bf7109b11e1689400e9b4@lerctr.org> <dac1ff0f-004b-15ba-67e1-dfbdde2036ec@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a9bde71cd16d16d55d67fd3adaf4016>