https://bugs.winehq.org/show_bug.cgi?id=48314
Bug ID: 48314 Summary: Building wine on CentOS7 fails due to lack of libkrb5 Product: Wine Version: 5.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: oleg.kuznetsov@metamint.ru Distribution: ---
Created attachment 66024 --> https://bugs.winehq.org/attachment.cgi?id=66024 Error during executing "time make"
I'm trying to build 32 bit wine from git on CentOS7, and even though I have installed package krb5-devel, configure doesn't see it and even further: during compilation it fails on building "dlls/kerberos", while it should skip it.
[user1@localhost wine]$ uname -r 3.10.0-1062.9.1.el7.x86_64
[user1@localhost ~]$ yum info krb5-devel --- snip --- Installed Packages Name : krb5-devel Arch : i686 Version : 1.15.1 Release : 37.el7_7.2 Size : 766 k Repo : installed
From repo : updates
--- snip ---
[user1@localhost wine]$ ./configure --- snip --- config.status: executing Makefile commands
configure: OpenCL 32-bit development files not found, OpenCL won't be supported. configure: libhal 32-bit development files not found, no legacy dynamic device support. configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported. configure: libSDL2 32-bit development files not found, SDL2 won't be supported. configure: libFAudio 32-bit development files not found, XAudio2 won't be supported. configure: libcups 32-bit development files not found, CUPS won't be supported. configure: libkrb5 32-bit development files not found (or too old), Kerberos won't be supported. configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported. configure: vkd3d 32-bit development files not found (or too old), Direct3D 12 won't be supported.
configure: Finished. Do 'make' to compile Wine.
https://bugs.winehq.org/show_bug.cgi?id=48314
--- Comment #1 from Oleg Kuznetsov oleg.kuznetsov@metamint.ru --- Created attachment 66025 --> https://bugs.winehq.org/attachment.cgi?id=66025 config.log
https://bugs.winehq.org/show_bug.cgi?id=48314
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com --- Possibly something broken with your distro's krb5 package? From config.log:
configure:15670: krb5 cflags: configure:15671: krb5 libs: -lkrb5 -lk5crypto -lcom_err ... configure:15688: checking for -lkrb5 configure:15713: gcc -m32 -o conftest -g -O2 conftest.c -lkrb5 -lkrb5 -lk5crypto -lcom_err >&5 /usr/bin/ld: cannot find -lcom_err collect2: error: ld returned 1 exit status
On my OS (Arch Linux), com_err is provided by e2fsprogs, which is a dependency of the krb5 package.
https://bugs.winehq.org/show_bug.cgi?id=48314
--- Comment #3 from Oleg Kuznetsov oleg.kuznetsov@metamint.ru --- Yes, it turned out that the issue was due to lacking of the "e2fsprogs-devel" package. After installing it, "configure" found krb5 and wine was successfully built. And it is known for the CentOS community for years: https://forums.centos.org/viewtopic.php?t=20917
https://bugs.winehq.org/show_bug.cgi?id=48314
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |382df5d14db2d101e89b36574bf | |343bef32750c4 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- The build failure should be fixed by 382df5d14db2d101e89b36574bf343bef32750c4.
https://bugs.winehq.org/show_bug.cgi?id=48314
--- Comment #5 from Oleg Kuznetsov oleg.kuznetsov@metamint.ru --- (In reply to Alexandre Julliard from comment #4)
The build failure should be fixed by 382df5d14db2d101e89b36574bf343bef32750c4.
Yes, it works. Thank you, Alexandre :)
https://bugs.winehq.org/show_bug.cgi?id=48314
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=48314
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=48314
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #7 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.4.