[Bug 257779] lang/go: GO_MODULE=xx causes error: inconsistent vendoring in xx

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Aug 2021 21:50:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257779

            Bug ID: 257779
           Summary: lang/go: GO_MODULE=xx causes error:  inconsistent
                    vendoring in xx
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dmgk@freebsd.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(dmgk@freebsd.org)
          Assignee: dmgk@freebsd.org

Created attachment 227122
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227122&action=edit
shar

Changing www/authelia to use GO_MODULE=xx causes this error:

> go: inconsistent vendoring in /disk-samsung/freebsd-ports/www/authelia/work/github.com/authelia/authelia/v4@v4.30.4:
> 	github.com/DATA-DOG/go-sqlmock@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
> 	github.com/Gurpartap/logrus-stack@v0.0.0-20170710170904-89c00d8a28f4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
> 	github.com/Workiva/go-datastructures@v1.0.53: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
> 	github.com/asaskevich/govalidator@v0.0.0-20200907205600-7a23bdc65eef: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
> [...]

See the attached port shar.

-- 
You are receiving this mail because:
You are the assignee for the bug.