On Fri, Jul 29, 2022 at 12:53 PM Florian Weimer <fwei...@redhat.com> wrote:
>
> Pretty much all Go compiler error messages contain the chracter sequence
> “.go:”.  Using that, we end up at:

Good to know. I'll add it to my mental list of things to "grep" for.

> | 
> _build/src/github.com/syncthing/syncthing/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go119.go:6:13:
>  cannot use "The version of quic-go you're using can't be built on Go 1.19 
> yet. For more details, please see 
> https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions."; 
> (untyped string constant "The version of quic-go you're using can't be built 
> on Go 1.19 yet. F...) as int value in variable declaration
>
> Which is pretty self-explanatory.

Thanks, I wouldn't have found that in the wall of text. But true, this
is pretty self-explanatory.
In fact, I've had this problem with quic-go before with major Go
version bumps ...

The quic-go library has specific "forks" that support only one major
Go version each. Syncthing imports them all, and then uses conditional
compilation at build-time, depending on the actual version of the
compiler. So I won't be able to fix this until 1) quic-go releases a
version of their library that's specific to go 1.19, and 2) syncthing
adds support for go 1.19.

I can't fix the resulting FTBFS issue myself, but at least now I know
what's going on.
Still, not getting included in rebuilds for golang CVE fixes now is
kind of a bummer.

Fabio
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to