-
Notifications
You must be signed in to change notification settings - Fork 38
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
Update gnutls30 to build against nettle8 and support arm64 #941
base: master
Are you sure you want to change the base?
Conversation
%p/lib/gnutls30/libgnutlsxx.28.dylib 30.0.0 %n (>= 3.6.13-2) | ||
%p/lib/gnutls30/libgnutls.30.dylib 65.0.0 %n (>= 3.7.8-1) | ||
%p/lib/gnutls30/libgnutls-openssl.27.dylib 28.0.0 %n (>= 3.7.8-1) | ||
%p/lib/gnutls30/libgnutlsxx.30.dylib 31.0.0 %n (>= 3.7.8-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the SOVERSION on libgnutlsxx.dylib will need a new package name as we go from 3.6 to 3.7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libgnutls.30.dylib
-> gnutls31
?
Probably better to cherry-pick the first commit then rather than updating everything that depends on gnutls30 (or keep both, perhaps).
The new name |
I think I prefer to stick with 3.6.16 then and let someone else sort this out (or wait till they update to libgnutls.31.dylib)! |
Do 3.6.16 tests pass? I'm getting failures:
|
nettle7 works fine just add UpdateConfigGuess: true |
gnutls3 builds with #952 tested on 13.x/x86_64 and 13.x/arm64 |
Completely forgot I had done work here. I have gnutls-3.7.8, which is a new libN building against nettle8/hogweed6. It should mostly be a drop in replacement for gnutls30 (v3.6.13). I haven't updated to 3.6.16 because some tests are failing. |
I've pushed gnutls30-3.7 (v3.7.8) in 2bc2e43. It uses nettle8. |
As of d4377bb, everything that was using gnutls30 has migrated to gnutls30-3.7. So on the one hand, we can work on pushing the few stragglers using older nettle/hogweed to the newer versions of those. But on the other hand we can just ignore (or dist-restrict) gnutls30, which will become stubbed down to a -shlibs-only soon. |
Nettle/hogweed was the other part of this pair. Ancient pygnutls-py is the sole user of ancient gnutls26-shlibs. |
Those really-older gnutls (2.12, 28) have packaging notes that they are not compatible with the newer nettle/hogweek libversions. |
With an eye towards stubbing down gnutls30, and migrating it to the new nettle/hogweed...but it fails self-tests (even with the upstream patch that claims to fix). And it's completely unused. Gonna kill it altogether unless someone objects. |
nettle7 fails to build on arm/arm64 with a ton of assembly errors like
so this seems unlikely to be easily fixed.
This PR provides updates to gnutls30 to
Both versions build and run tests on x86_64 and arm64, with two failures on the former, but ~100 often segfaulting on arm64, so this may need further discussion.
Among the BDeps further up guile22 in turn depends on libffi6, which has similar assembly failures, so will need to be switched to libffi8.