[Bug 44553] New: Kerberos support added in Wine 3.1 is broking build on some old Linux distributions
https://bugs.winehq.org/show_bug.cgi?id=44553 Bug ID: 44553 Summary: Kerberos support added in Wine 3.1 is broking build on some old Linux distributions Product: Wine Version: 3.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: Zenitur(a)yandex.ru Distribution: --- Created attachment 60518 --> https://bugs.winehq.org/attachment.cgi?id=60518 Build error log.txt Example: krb5_ap.c:103:14: error: 'krb5_is_config_principal' undeclared here (not in a function) MAKE_FUNCPTR(krb5_is_config_principal); ^ Full error log attached. SLES 11 SP4. KRB5 version is 1.6.3. Full build log: https://build.opensuse.org/build/home:linux4humans:wine-staging/SLE_11_SP4/i... In openSUSE 11.4 (KRB5 version is 1.8.3) it builds fine: https://build.opensuse.org/build/home:linux4humans:wine-staging/openSUSE_Eve... I'd retest with 3.2 and it's also failed: https://build.opensuse.org/build/home:linux4humans:temp/SLE_11_SP2/i586/wine... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #1 from Zhenya <Zenitur(a)yandex.ru> --- Take a look on SLE 11 installed in VirtualBox HDD image! Download link in a cloud: https://yadi.sk/d/AxWNQd1W3Pmtso I don't know why, but I can't extract it using my file-roller. So I'm using "xz -d SLE_11_SP4.vdi.xz" for that. mkdir build && cd build wget http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.2... rpmbuild --rebuild wine-3.2-753.1.src.rpm -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- Created attachment 60524 --> https://bugs.winehq.org/attachment.cgi?id=60524 patch Can you try this patch? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #3 from Zhenya <Zenitur(a)yandex.ru> --- I'd apply this patch. Now configure says: configure: libkrb5 64-bit development files not found, Kerberos won't be supported. configure: libgssapi_krb5 64-bit development files not found (or too old), no Kerberos SSP support. Is it correct behavior? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #4 from Zhenya <Zenitur(a)yandex.ru> --- I think, the problem is only in Kerberos authorization, not in common Kerberos support. This is the Wine 3.0 build log: https://build.opensuse.org/public/build/home:linux4humans:wine-staging/SLE_1... checking krb5/krb5.h usability... yes checking krb5/krb5.h presence... yes checking for krb5/krb5.h... yes checking for -lkrb5... libkrb5.so.3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #5 from Zhenya <Zenitur(a)yandex.ru> --- Now it compiles, but without any krb5 support. Wine 3.0 has libkrb5.so.3()(64bit) dependency, however Wine 3.2 haven't. If you do not mind, try to debug it using my VM image. It's just 2,4 Gb when compressed, and 16 Gb uncompressed. Just start it using VirtualBox. After running "rpmbuild --rebuild wine-3.2-753.1.src.rpm" you need to go /usr/src/packages/SPECS and edit wine.spec. Switch them gcc47 dep to gcc48, add Patch1 (also put krb5.diff into SOURCES dir), and uncomment "autoreconf -i -f". When start "rpmbuild -ba wine.spec". When you'll see the same with me. But I'm not a programmer and I can't write a code. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #6 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Zhenya from comment #5)
Now it compiles, but without any krb5 support. Wine 3.0 has libkrb5.so.3()(64bit) dependency, however Wine 3.2 haven't.
Yes, that's expected. I don't think it's worth the trouble to support Kerberos partially on old distributions. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #7 from Zhenya <Zenitur(a)yandex.ru> --- Hello Hans! My SLES 11 is still cannot compile Wine starting from 3.1 version. https://build.opensuse.org/package/show/Emulators:Wine/wine If the code is stable at this moment, can you make a port for KRB5 1.6? Something like: #if krb5 < 1.8 then CODE1 #else CODE2 #endif I'd post a link for a virtual machine image with SLES 11 ready for code writing and debug. Link is in #2. Root password is "sourceengine2" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |ca919ee9c414f668f57a78476ba | |b3b59c9f33d3a --- Comment #8 from Hans Leidekker <hans(a)meelstraat.net> --- Should be fixed with ca919ee9c414f668f57a78476bab3b59c9f33d3a. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #9 from Zhenya <Zenitur(a)yandex.ru> --- Hans, I see you're disable KRB5 1.6 totally. Hovewer KRB5 1.6 is working with Wine. The only one thing that doesn't working is authorization support added in Wine 3.1. Tale a look on this fix of an old GnuTLS: https://bugs.winehq.org/show_bug.cgi?id=43971. A developer didn't disable all GnuTLS, but only bcrypt authorization was disabled. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #10 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to Zhenya from comment #9)
Hans, I see you're disable KRB5 1.6 totally. Hovewer KRB5 1.6 is working with Wine. The only one thing that doesn't working is authorization support added in Wine 3.1.
Kerberos support in Wine 3.0 was a stub that didn't use any Kerberos function. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Kerberos support added in |Kerberos support added in |Wine 3.1 is broking build |Wine 3.1 is breaking build |on some old Linux |on some old Linux |distributions |distributions -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.8. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44553 --- Comment #12 from Zhenya <Zenitur(a)yandex.ru> --- Now it builds: https://build.opensuse.org/package/show/Emulators:Wine/wine Thank you! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org