Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 20:11:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277203] devel/go-wire: update to 0.6.0
Message-ID:  <bug-277203-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277203

            Bug ID: 277203
           Summary: devel/go-wire: update to 0.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dsh@bamus.cz
                CC: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(drtr0jan@yandex.ru)
                CC: drtr0jan@yandex.ru

Created attachment 248649
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248649&action=
=3Dedit
update devel/go-wire to 0.6.0

This patch updates devel/go-wire to 0.6.0:

https://github.com/google/wire/releases/tag/v0.6

Fix build with added patch, which actually adds `# explicit; go 1.18`:

```
 # golang.org/x/tools v0.17.0
+## explicit; go 1.18
```

without it we are getting errors:

```
vendor/golang.org/x/tools/internal/event/keys/util.go:14:11: type parameter
requires go1.18 or later (-lang was set to
.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:14:13: embedding
interface element ~[]T requires go1.18 or later
ang was set to go1.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:14:21: embedding
interface element ~string requires go1.18 or la
(-lang was set to go1.16; check go.mod)
vendor/golang.org/x/tools/internal/event/keys/util.go:15:32: invalid argume=
nt:
s (variable of type S constrained by ~[]T) for len
vendor/golang.org/x/tools/internal/event/keys/util.go:16:20: cannot range o=
ver
s (variable of type S constrained by ~[]T): no core type
vendor/golang.org/x/tools/internal/versions/types.go:15:16: predeclared any
requires go1.18 or later (-lang was set to go1.16; check go.mod)
```

See https://github.com/golang/go/issues/54908 for more details.

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



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