https://bugs.winehq.org/show_bug.cgi?id=53625
Bug ID: 53625 Summary: In function ‘get_gnutls_cipher’ ... error: ‘GNUTLS_CIPHER_AES_128_CFB8’ undeclared Product: Wine Version: 7.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@winehq.org Reporter: version2013@protonmail.com Distribution: ---
Created attachment 73024 --> https://bugs.winehq.org/attachment.cgi?id=73024 log.txt
Compiling in distro with:
compiler version 4.8.4 # gcc --version
glibc 2.19 # ldd --version
config line: configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686"
Compile error in wine-7.15
In function ‘get_gnutls_cipher’: error: ‘GNUTLS_CIPHER_AES_128_CFB8’ undeclared error: ‘GNUTLS_CIPHER_AES_192_CFB8’ undeclared error: ‘GNUTLS_CIPHER_AES_256_CFB8’ undeclared
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #1 from Jactry Zeng jactry92@gmail.com --- Please retest it with the latest code base from the git repository. Wine 7.15 is out of date, to be honest.
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #2 from Nathan Bennett version2013@protonmail.com --- Compiling failed with latest wine-git
# git clone git://source.winehq.org/git/wine.git wine-git/ # cd wine-git/ # git log commit bd5cdef5dd2888e9b914436b792022a69e28ab4c Author: Ziqing Hui zhui@codeweavers.com Date: Thu Sep 1 12:39:06 2022 +0800
d3d10: Handle invalid arguments for effect creation.
-- snip rest of log ---
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- What version of GnuTLS are you building against?
https://bugs.winehq.org/show_bug.cgi?id=53625
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
--- Comment #4 from Robert Wilhelm sloper42@yahoo.com --- It seems AES-CFB8 cipher was added in gnutls version 3.6.5 (released 2018-12-01) according to https://lists.gnupg.org/pipermail/gnutls-help/2018-December/004465.html
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #5 from Nathan Bennett version2013@protonmail.com --- (In reply to Hans Leidekker from comment #3) GnuTLS 3.6.0 Nettle 3.4
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #6 from Nathan Bennett version2013@protonmail.com --- (In reply to Robert Wilhelm from comment #4) Thank you for the information you found.
It appears a newer version of GnuTLS is required for wine-7.15
I compiled and installed: nettle 3.6 GnuTLS 3.6.16
wine-7.15 compiled successfully.
https://bugs.winehq.org/show_bug.cgi?id=53625
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |c2328d0fde59b0070e6f877453f | |30b3c1f62ae27 CC| |o.dierick@piezo-forte.be
https://bugs.winehq.org/show_bug.cgi?id=53625
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|c2328d0fde59b0070e6f877453f |d3638d426b1a7c829d59c242414 |30b3c1f62ae27 |14cd44f9ca7de
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- d3638d426b1a7c829d59c24241414cd44f9ca7de introduced this. c2328d0fde59b0070e6f877453f30b3c1f62ae27 is an attempt to fix this but falls short because it doesn't check the patch level (3.6.0 vs 3.6.5).
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #8 from Hans Leidekker hans@meelstraat.net --- Can we close this bug?
https://bugs.winehq.org/show_bug.cgi?id=53625
--- Comment #9 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I sent a MR for this: https://gitlab.winehq.org/wine/wine/-/merge_requests/1811
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53625
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c2328d0fde59b0070e6f877453f | |30b3c1f62ae27 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Following discussion on gitlab, the consensus between Hans Leidekker and me is that distributions are likely to update to latest patch level.
Ubuntu/Debian already pushed gnutls >3.6.5 in focal/buster and >3.7 since jammy/bullseye. Other distros will certainly push newer gnutls if they haven't already.
The corner cases of having gnutls >=3.6.0 <3.6.5 are likely to become rarer as users update their systems. The current check is then sufficient and the bug can be closed.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=53625
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc2.