[Bug 277203] devel/go-wire: update to 0.6.0
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277203] devel/go-wire: update to 0.6.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Feb 2024 20:11:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277203
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=248649&action=edit
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 argument:
s (variable of type S constrained by ~[]T) for len
vendor/golang.org/x/tools/internal/event/keys/util.go:16:20: cannot range over
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.
--
You are receiving this mail because:
You are the assignee for the bug.