[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updating golang-golang-x-tools?



On 02/03/2025 04:42, Guillem Jover wrote:
Hi!

On Sat, 2025-03-01 at 14:29:27 +0000, Mathias Gibbens wrote:
   It looks like several golang packages[1] are encountering errors
similar to the following with go 1.24:

stringer: internal error: package "fmt" without types was imported from "go.etcd.io/etcd/raft/quorum"

   I think it might be because of the old version of x-tools currently
packaged; has anyone looked further into this?

I can confirm that it is related, and that newer versions of x-tools fixes this issue, at least for etcd (tested with v0.30). I tried packaging the version 0.30, but there are a lot of failing tests, and I don't really know how to handle most of them.

I wanted to look into this the other day, as I mentioned on IRC, but
run out of time, and I was not sure whether packaging a new upstream
release would be safe. Perhaps doing a targeted backport might be
safer (like was done for the -x-exp package), but didn't have time either
to look into what might fix that.

If you can look into this, that would be great, otherwise I'll try
during next week.
I will also try to see if it can be solved by backporting a patch as easily as for the x-exp package, but I can not promise anything.
--
Nicolas Peugnet


Reply to: