-
Notifications
You must be signed in to change notification settings - Fork 399
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
Can't run the v3.27.2 release on Debian because of glibc issue #2134
Comments
I can add that I'm trying to run the |
I tried looking at the diff but I don't see any relevant changes that I can tell but I don't know Go. It seems though, when I look in your GitHub Actions logs, that dnscontrol v3.27.1 was built using Go 1.19.6 and dnscontrol v3.27.2 was built using Go 1.20.1. Could that be the issue? |
(sorry for the delayed reply. I'm traveling and have limited internet access) I'm getting the same error. I've set 3.27.1 as the "latest release" and marked 3.27.2 as a "pre-release". Hopefully that will steer people away from the bad release until I can look into this further. Tom CC @cdhunt for visibility. |
I reported this less than 2 hours ago, replying that fast is plenty quick enough. 😄 Thanks for looking into this. |
Build environments:
|
Go 1.20 release notes mention something about linker changes, might be relevant.
|
Might be the same as this issue some people run into. |
It looks like #2141 fixes this problem, but I don't know if it is the best way to fix it. Either way, let's keep it for now and kick the can down the road until otherwise. I have a very busy day but hopefully tomorrow I can do a release and verify that the problem is gone. I can test centos but not debian, btw. |
I can test Debian 11 if I just get a binary somehow. |
Here are all the binaries from the test build. |
I tested the Things that I tried that didn't work before:
|
@DavidZidar thanks for the testing! The next release should fix this. |
Hi again, I'm sad to say that v3.28.0 did not fix this issue even though it says so in the release highlights. |
The reason the CircleCI build was working is probably because that build was using Go 1.18, I noticed that now that I dug in the logs. The actual released version was built using Go 1.20.2, so it looks like the changes in #2141 didn't resolve the issue. |
Shit. I apologize for not testing it more fully. I saw that it worked in #2141 and assumed that would carry through to the release. I'm at a loss for how to fix this. Would you mind taking a look? |
I'm a .NET developer so I'm out of my depth with the Go stuff, but I'm skimming the issues in the Go repository on GitHub and I found this interesting comment:
So one (temporary?) solution might be to change the build configuration to use an older runner like A better solution might be to set |
The comment before the one I linked is also interesting, it might actually link to the root cause of the issue. It seems they stopped shipping Setting |
I agree with your conclusion. Sadly I can't figure out how to get goreleaser to set CGO_ENABLED=0 :-( I'll give it another try this weekend. If not, I'll be at SRECon next week and maybe I'll find someone that can help there :) |
The v3.27.2 release doesn't include the |
v3.28.0 does include the fix. Does that release work for you, @DavidZidar? |
@cdhunt That's the version I tried today and it's not working. I notice that you've configured I'm thinking if you modify - name: Build binaries
run: go run build/build.go
env:
CGO_ENABLED: 0 |
Or maybe add a |
Oh! D'oh! Yes, the change needs to be in release.yaml, I was changing the old file. Please take a look at release v3.29.0-test2 and tell me if that works. |
@tlimoncelli Looks like the build failed because it couldn't upload the RPM package. The Bundle RPM step had this warning:
So the file that was created had an underscore in the tag name |
Can someone test the Debian binaries on https://github.com/StackExchange/dnscontrol/releases/tag/untagged-28f9b2f50edfd865d530 please? I tested the Linux binary on CentOS 7 and the FreeBSD binary on FreeBSD 13.1. |
I would help but I'm getting a 404 on that link. |
Ah! I didn't realize that only admins can see draft releases. I've released it as a "pre-release". Hope that helps! https://github.com/StackExchange/dnscontrol/releases/tag/v3.29.0 |
That worked better and it's working perfectly in my Debian 11 install too. 😄 |
I did discover a separate problem with the types that's unrelated to glibc and reported that as issue #2213. |
Glad to hear it! Thank you for your patience. |
I tried 3.29.1 on debian 11 and got same issue (3.29.0 also not working):
|
@tlimoncelli I'm actually having the same issue as @valodzka with the Somehow the binary in the |
Can confirm, binary from archive is working, from dnscontrol-Linux isn't:
|
Re-opening. |
Fixed in 5d8cd9f I hope. Damn, this is depressing. |
Seems to work as expected in v3.30.0. May I ask why the fix was reverted in the first place? |
I'm glad it works now! Sorry this took so long. It wasn't just blocking you... internally we reverted to an older binary and were blocked on using one of the new features as a result. Why was the fix reverted? In all honesty it was a series of errors, all my fault. I'm not sure if the fix was ever merged to master or maybe it was merged but reverted as part of other revert. The final fix was realizing that I was updating the wrong process: we're in the middle of changing between GHA and CircleCI and I think I updated the pipeline that is NOT in use. There was at least one point where I checked the binary on a CentOS system (and it worked), but somehow the next official release didn't have the fix. I can only conclude whatever I did to test it was invalid. |
I see, so it was just a simple mistake then. The fix was there in master and I verified that it was, but then it was mysteriously reverted with no explanation and the next release was broken again. So I was just surprised to see that when it was fixed again the fix was exactly the same as the first time. 😅 Works well for me now in any case, should I close the issue? |
Thanks for understanding. I'll close the issue. |
It seems that the version 3.27.2 dnscontrol requires a newer glibc-library than what seems to available on Debian.
Here is the error that I'm getting:
My system is up to date and seems to have version 2.31-13+deb11u5 of glibc installed.
Version 3.27.1 runs just fine so something has happened between these two releases.
The text was updated successfully, but these errors were encountered: