Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708218

Summary: net-fs/samba-4.11.6 - src_configure(): Checking for gss_display_status in gssapi gssapi_krb5: not found // ERROR: WAF build with MIT Krb5 requires working GSSAPI implementation
Product: Gentoo Linux Reporter: Jan Psota <jasiupsota>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Psota 2020-02-04 15:10:14 UTC
Checking for gss_display_status in gssapi gssapi_krb5: not found
ERROR: WAF build with MIT Krb5 requires working GSSAPI implementation
 * ERROR: net-fs/samba-4.11.6::gentoo failed (configure phase):
 *   configure failed

[ebuild     U  ] net-fs/samba-4.11.6::gentoo [4.11.4::gentoo]
USE="acl client cups pam system-mitkrb5 systemd winbind" (- all others) ABI_X86="32 (64)"

I tried to compile samba with both in-tree mit-krb5 versions (USE="keyutils nls pkinit threads" ABI_X86="32 (64)"), but with same results.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-04 15:18:53 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info' output in a comment.
Comment 2 Jan Psota 2020-02-04 16:10:13 UTC
I got it!
1. Clang was the problem.
2. Configure failed on gss_display_status (not <gssapi/gssapi.h> included, HAVE_GSSAPI_H unset).
Comment 3 Nico Baggus 2020-07-31 23:51:20 UTC
After also recompiling mit-krb5 samba does compile.
So some library need to be kept or a Rebuild of mit-krb5 is needed when clang is built. (This might be the case for more libraries?).