Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with "invalid reference to syscall.recvmsg" on Go 1.23 #365

Open
svoop opened this issue Oct 1, 2024 · 6 comments
Open

Build fails with "invalid reference to syscall.recvmsg" on Go 1.23 #365

svoop opened this issue Oct 1, 2024 · 6 comments

Comments

@svoop
Copy link

svoop commented Oct 1, 2024

I'm trying to rebuild acme-dns on a Gentoo box after upping to Go 1.23 and it fails with:

link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg

Apparently, access to internal symbols has changed with Go 1.23, at least that's what's causing this error on other programs.

I'm not familiar with Go, so that's pretty much the end of the line for me. Any ideas how to rewrite the offending code not to use internal symbols?

@svoop
Copy link
Author

svoop commented Nov 25, 2024

@joohoi The trend for now is to pin Go to 1.22 as a workaround. Since I don't know Go, could you drop a line as to how likely it is to make acme-dns compatible with newer versions of Go at all? From the frequency of commits, you might have bigger fish to fry which I'd totally understand!

In my particular case, I could switch to a ACME plugin which directly updates recs on my DNS provider, but I'd have to write an OS package (Gentoo ebuild that is) for this plugin first. I'm more inclined to stay with acme-dns, but if you intend to sunset acme-dns e.g. because of the workload to keep up with newer versions of Go, I'd start working on the package.

Thanks a bunch for a small update on where you intend to go with acme-dns. And big thanks for all the work you've already done... from one FOSS author to another! 👍

@svoop
Copy link
Author

svoop commented Dec 14, 2024

@joohoi The missing compatibility with Go 1.23 starts to produce trouble with other software built with Go. Could you give a hint as to whether an update for Go 1.23 is realistic or not so folks like me can work around or move on? I'm a big fan of acme-dns, really like the way it solves the problems that come with DNS proof with Cerbot.

I see that you didn't commit much recently which is totally okay of course. But please drop a word here on whether you plan to abandon acme-dns... which would be sad but totally okay as well. Just, we have to know.

Thanks a bunch!!

@joohoi
Copy link
Owner

joohoi commented Dec 14, 2024

Hi @svoop

I made the required changes and pushed a PR for Go 1.23 support #368

While it mentions the minimum required version of Go being 1.22, I tested it out with 1.23 as well. With the newest versions of all dependencies, 1.22 is the minimum required version though.

@thedix
Copy link

thedix commented Dec 15, 2024

@joohoi Thanks for your work!
Are there any plans to merge it to master?

@joohoi
Copy link
Owner

joohoi commented Dec 15, 2024 via email

@svoop
Copy link
Author

svoop commented Dec 15, 2024

@joohoi Great, thanks so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants