[Bug 267366] net/samba413: build fails with GSSAPI_MIT option

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Oct 2022 15:54:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267366

            Bug ID: 267366
           Summary: net/samba413: build fails with GSSAPI_MIT option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

Building net/samba413 fails if GSSAPI_MIT option is on...

[2756/3373] Compiling source4/kdc/mit_samba.c
runner ['/usr/bin/cc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-O2',
'-pipe', '-DLIBICONV_PLUG', '-fno-color-diagnostics',
'-fstack-protector-strong', '-isystem', '/usr/local/include',
'-fno-strict-aliasing', '-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=1',
'-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC',
'-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong',
'-fstack-clash-protection', '-DSTATIC_MIT_SAMBA_MODULES=NULL',
'-DSTATIC_MIT_SAMBA_MODULES_PROTO=extern void
__MIT_SAMBA_dummy_module_proto(void)', '-fstack-protector-strong',
'-fstack-protector-strong', '-fstack-protector-strong', '-Isource4/kdc',
'-I../../source4/kdc', '-Iinclude/public', '-I../../include/public',
'-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib',
'-I../../source4/lib', '-Isource4/include', '-I../../source4/include',
'-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I.',
'-I../..', '-Ilibrpc', '-I../../librpc', '-Ilibcli/auth',
'-I../../libcli/auth', '-Isource4/heimdal/kdc', '-I../../source4/heimdal/kdc',
'-Idynconfig', '-I../../dynconfig', '-Ilibcli/nbt', '-I../../libcli/nbt',
'-Isource4/libcli', '-I../../source4/libcli', '-Isource4/librpc',
'-I../../source4/librpc', '-Ilibcli/dns', '-I../../libcli/dns',
'-Ilibcli/lsarpc', '-I../../libcli/lsarpc', '-Isource4/libcli/ldap',
'-I../../source4/libcli/ldap', '-Isource4/lib/socket',
'-I../../source4/lib/socket', '-Ilibcli/util', '-I../../libcli/util',
'-Isource4/lib/messaging', '-I../../source4/lib/messaging', '-Isource4/dsdb',
'-I../../source4/dsdb', '-Isource4/lib/tls', '-I../../source4/lib/tls',
'-Ilibds/common', '-I../../libds/common', '-Iauth/credentials',
'-I../../auth/credentials', '-Iauth/gensec', '-I../../auth/gensec',
'-Ilib/param', '-I../../lib/param', '-Isource3', '-I../../source3',
'-Isource3/include', '-I../../source3/include', '-Isource3/lib',
'-I../../source3/lib', '-Isource3/librpc/usr/local/include',
'-I../../source3/librpc/usr/local/include', '-Isource3/librpc',
'-I../../source3/librpc', '-Isource3/usr/local/include',
'-I../../source3/usr/local/include', '-Ilib/krb5_wrap',
'-I../../lib/krb5_wrap', '-Ilibcli/smb', '-I../../libcli/smb',
'-Insswitch/libwbclient', '-I../../nsswitch/libwbclient',
'-Isource4/lib/events', '-I../../source4/lib/events', '-Ilibcli/ldap',
'-I../../libcli/ldap', '-Isource4/auth/kerberos',
'-I../../source4/auth/kerberos', '-Ilib/ldb/include',
'-I../../lib/ldb/include', '-Ilib/ldb', '-I../../lib/ldb', '-Isource4/param',
'-I../../source4/param', '-Ilib/addns', '-I../../lib/addns',
'-Ilibcli/netlogon', '-I../../libcli/netlogon', '-Iauth', '-I../../auth',
'-Ilib/util/charset', '-I../../lib/util/charset', '-Ilib/messaging',
'-I../../lib/messaging', '-Iauth/kerberos', '-I../../auth/kerberos',
'-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Isource4/auth/gensec',
'-I../../source4/auth/gensec', '-Ilib/tsocket', '-I../../lib/tsocket',
'-Ilibcli/http', '-I../../libcli/http', '-Ilib/audit_logging',
'-I../../lib/audit_logging', '-Isource4/libcli/smb2',
'-I../../source4/libcli/smb2', '-Ilib/async_req', '-I../../lib/async_req',
'-Ilib/dbwrap', '-I../../lib/dbwrap', '-Ilibcli/security',
'-I../../libcli/security', '-Ilib/pthreadpool', '-I../../lib/pthreadpool',
'-Insswitch', '-I../../nsswitch', '-Ilibcli/cldap', '-I../../libcli/cldap',
'-Ilibcli/drsuapi', '-I../../libcli/drsuapi', '-Ilib/socket',
'-I../../lib/socket', '-Ilib/crypto', '-I../../lib/crypto', '-Iauth/ntlmssp',
'-I../../auth/ntlmssp', '-Isource4/auth', '-I../../source4/auth',
'-Isource4/cluster', '-I../../source4/cluster', '-Isource4/lib/stream',
'-I../../source4/lib/stream', '-Ilib/compression', '-I../../lib/compression',
'-I/usr/local/include', '-I/usr/local/include/p11-kit-1',
'../../source4/kdc/mit_samba.c', '-c',
'-o/usr/ports/net/samba413/work/samba-4.13.17/bin/default/source4/kdc/mit_samba.c.18.o',
'-DLIBICONV_PLUG', '-DLDAP_DEPRECATED', '-isystem', '/usr/local/include']
../../source4/kdc/mit_samba.c:73:2: warning: 'tevent_loop_allow_nesting' is
deprecated [-Wdeprecated-declarations]
        tevent_loop_allow_nesting(base_ctx.ev_ctx);
        ^
/usr/local/include/tevent.h:2370:59: note: 'tevent_loop_allow_nesting' has been
explicitly marked deprecated here
void tevent_loop_allow_nesting(struct tevent_context *ev) _DEPRECATED_;
                                                          ^
../../lib/replace/../replace/replace.h:469:38: note: expanded from macro
'_DEPRECATED_'
#define _DEPRECATED_ __attribute__ ((deprecated))
                                     ^
../../source4/kdc/mit_samba.c:206:15: error: use of undeclared identifier
'KRB5_KDB_FLAG_CANONICALIZE'
        if (kflags & KRB5_KDB_FLAG_CANONICALIZE) {
                     ^
../../source4/kdc/mit_samba.c:209:16: error: use of undeclared identifier
'KRB5_KDB_FLAG_CLIENT_REFERRALS_ONLY'
        if (kflags & (KRB5_KDB_FLAG_CLIENT_REFERRALS_ONLY |
                      ^
../../source4/kdc/mit_samba.c:210:9: error: use of undeclared identifier
'KRB5_KDB_FLAG_INCLUDE_PAC'
                      KRB5_KDB_FLAG_INCLUDE_PAC)) {
                      ^
1 warning and 3 errors generated.

Waf: Leaving directory `/usr/ports/net/samba413/work/samba-4.13.17/bin/default'
Build failed
 -> task in 'MIT_SAMBA' failed with exit status 1:
        {task 34517776864: c mit_samba.c -> mit_samba.c.18.o}
['/usr/bin/cc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-O2', '-pipe',
'-DLIBICONV_PLUG', '-fno-color-diagnostics', '-fstack-protector-strong',
'-isystem', '/usr/local/include', '-fno-strict-aliasing',
'-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=1',
'-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC',
'-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong',
'-fstack-clash-protection', '-DSTATIC_MIT_SAMBA_MODULES=NULL',
'-DSTATIC_MIT_SAMBA_MODULES_PROTO=extern void
__MIT_SAMBA_dummy_module_proto(void)', '-fstack-protector-strong',
'-fstack-protector-strong', '-fstack-protector-strong', '-Isource4/kdc',
'-I../../source4/kdc', '-Iinclude/public', '-I../../include/public',
'-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib',
'-I../../source4/lib', '-Isource4/include', '-I../../source4/include',
'-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I.',
'-I../..', '-Ilibrpc', '-I../../librpc', '-Ilibcli/auth',
'-I../../libcli/auth', '-Isource4/heimdal/kdc', '-I../../source4/heimdal/kdc',
'-Idynconfig', '-I../../dynconfig', '-Ilibcli/nbt', '-I../../libcli/nbt',
'-Isource4/libcli', '-I../../source4/libcli', '-Isource4/librpc',
'-I../../source4/librpc', '-Ilibcli/dns', '-I../../libcli/dns',
'-Ilibcli/lsarpc', '-I../../libcli/lsarpc', '-Isource4/libcli/ldap',
'-I../../source4/libcli/ldap', '-Isource4/lib/socket',
'-I../../source4/lib/socket', '-Ilibcli/util', '-I../../libcli/util',
'-Isource4/lib/messaging', '-I../../source4/lib/messaging', '-Isource4/dsdb',
'-I../../source4/dsdb', '-Isource4/lib/tls', '-I../../source4/lib/tls',
'-Ilibds/common', '-I../../libds/common', '-Iauth/credentials',
'-I../../auth/credentials', '-Iauth/gensec', '-I../../auth/gensec',
'-Ilib/param', '-I../../lib/param', '-Isource3', '-I../../source3',
'-Isource3/include', '-I../../source3/include', '-Isource3/lib',
'-I../../source3/lib', '-Isource3/librpc/usr/local/include',
'-I../../source3/librpc/usr/local/include', '-Isource3/librpc',
'-I../../source3/librpc', '-Isource3/usr/local/include',
'-I../../source3/usr/local/include', '-Ilib/krb5_wrap',
'-I../../lib/krb5_wrap', '-Ilibcli/smb', '-I../../libcli/smb',
'-Insswitch/libwbclient', '-I../../nsswitch/libwbclient',
'-Isource4/lib/events', '-I../../source4/lib/events', '-Ilibcli/ldap',
'-I../../libcli/ldap', '-Isource4/auth/kerberos',
'-I../../source4/auth/kerberos', '-Ilib/ldb/include',
'-I../../lib/ldb/include', '-Ilib/ldb', '-I../../lib/ldb', '-Isource4/param',
'-I../../source4/param', '-Ilib/addns', '-I../../lib/addns',
'-Ilibcli/netlogon', '-I../../libcli/netlogon', '-Iauth', '-I../../auth',
'-Ilib/util/charset', '-I../../lib/util/charset', '-Ilib/messaging',
'-I../../lib/messaging', '-Iauth/kerberos', '-I../../auth/kerberos',
'-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Isource4/auth/gensec',
'-I../../source4/auth/gensec', '-Ilib/tsocket', '-I../../lib/tsocket',
'-Ilibcli/http', '-I../../libcli/http', '-Ilib/audit_logging',
'-I../../lib/audit_logging', '-Isource4/libcli/smb2',
'-I../../source4/libcli/smb2', '-Ilib/async_req', '-I../../lib/async_req',
'-Ilib/dbwrap', '-I../../lib/dbwrap', '-Ilibcli/security',
'-I../../libcli/security', '-Ilib/pthreadpool', '-I../../lib/pthreadpool',
'-Insswitch', '-I../../nsswitch', '-Ilibcli/cldap', '-I../../libcli/cldap',
'-Ilibcli/drsuapi', '-I../../libcli/drsuapi', '-Ilib/socket',
'-I../../lib/socket', '-Ilib/crypto', '-I../../lib/crypto', '-Iauth/ntlmssp',
'-I../../auth/ntlmssp', '-Isource4/auth', '-I../../source4/auth',
'-Isource4/cluster', '-I../../source4/cluster', '-Isource4/lib/stream',
'-I../../source4/lib/stream', '-Ilib/compression', '-I../../lib/compression',
'-I/usr/local/include', '-I/usr/local/include/p11-kit-1',
'../../source4/kdc/mit_samba.c', '-c',
'-o/usr/ports/net/samba413/work/samba-4.13.17/bin/default/source4/kdc/mit_samba.c.18.o',
'-DLIBICONV_PLUG', '-DLDAP_DEPRECATED', '-isystem', '/usr/local/include']
+ [ -n '' ]
+ false
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.