Date: Sun, 07 Aug 2022 03:13:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265682] net/samba413: Fails to build with the latest security/krb5 (1.20) Message-ID: <bug-265682-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265682 Bug ID: 265682 Summary: net/samba413: Fails to build with the latest security/krb5 (1.20) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: lantw44@gmail.com CC: cy@FreeBSD.org, timur@FreeBSD.org CC: cy@FreeBSD.org, timur@FreeBSD.org When choosing GSSAPI_MIT, samba413 fails to build with krb5 1.20. It builds fine with krb5 1.19.3, though. =3D=3D=3D> The following configuration options are available for samba413-4= .13.17_1: ADS=3Don: Active Directory client(implies LDAP) AD_DC=3Don: Active Directory Domain Controller(implies PYTHON3) CLUSTER=3Doff: Clustering support CUPS=3Doff: CUPS printing system support DOCS=3Don: Build and/or install documentation FAM=3Don: File Alteration Monitor GPGME=3Doff: GpgME support LDAP=3Don: LDAP client MANDOC=3Doff: Build manpages from DOCBOOK templates NTVFS=3Doff: Build *DEPRECATED* NTVFS file server PROFILE=3Don: Profiling data PYTHON3=3Don: Python 3.x bindings or support QUOTAS=3Don: Disk quota support SPOTLIGHT=3Doff: Spotlight server-side search support SYSLOG=3Don: Syslog logging support UTMP=3Don: UTMP accounting =3D=3D=3D=3D> VFS modules FRUIT=3Don: MacOSX and TimeMachine support GLUSTERFS=3Doff: GlusterFS support =3D=3D=3D=3D> GSSAPI Security API support: you have to select exactly one o= f them GSSAPI_BUILTIN=3Doff: GSSAPI support via bundled Heimdal GSSAPI_MIT=3Don: GSSAPI support via security/krb5 =3D=3D=3D=3D> Zero configuration networking: you have to select exactly one= of them ZEROCONF_NONE=3Doff: Zeroconf support is absent AVAHI=3Don: Zeroconf support via Avahi MDNSRESPONDER=3Doff: Zeroconf support via mDNSResponder =3D=3D=3D=3D> DNS frontend: you can only select none or one of them NSUPDATE=3Doff: Use samba NSUPDATE utility for AD DC BIND911=3Doff: Use Bind 9.11 as AD DC DNS server frontend BIND916=3Doff: Use Bind 9.16 as AD DC DNS server frontend [2758/3370] Compiling source4/kdc/mit_samba.c runner ['cc', '-D_SAMBA_BUILD_=3D4', '-DHAVE_CONFIG_H=3D1', '-O2', '-pipe', '-DLIBICONV_PLUG', '-fno-color-diagnostics', '-fstack-protector-strong', '-DLDAP_DEPRECATED', '-isystem', '/usr/local/include', '-fno-strict-aliasin= g', '-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=3D1', '-D_XOPEN_SOURCE_EXTENDED=3D1', '-DHAVE_CONFIG_H=3D1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=3D1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_MIT_SAMBA_MODULES=3DNULL', '-DSTATIC_MIT_SAMBA_MODULES_PROTO=3Dextern 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/kd= c', '-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/wrkdirs/usr/ports/net/samba413/work/samba-4.13.17/bin/default/source4/k= dc/mit_samba.c.18.o', '-DLIBICONV_PLUG', '-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:198:15: error: use of undeclared identifier 'KRB5_KDB_FLAG_CANONICALIZE' if (kflags & KRB5_KDB_FLAG_CANONICALIZE) { ^ ../../source4/kdc/mit_samba.c:201: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:202: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 `/wrkdirs/usr/ports/net/samba413/work/samba-4.13.17/bin/default' Build failed -> task in 'MIT_SAMBA' failed with exit status 1: {task 34464479040: c mit_samba.c -> mit_samba.c.18.o} ['cc', '-D_SAMBA_BUILD_=3D4', '-DHAVE_CONFIG_H=3D1', '-O2', '-pipe', '-DLIBICONV_PLUG', '-fno-color-diagnostics', '-fstack-protector-strong', '-DLDAP_DEPRECATED', '-isystem', '/usr/local/include', '-fno-strict-aliasin= g', '-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=3D1', '-D_XOPEN_SOURCE_EXTENDED=3D1', '-DHAVE_CONFIG_H=3D1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=3D1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_MIT_SAMBA_MODULES=3DNULL', '-DSTATIC_MIT_SAMBA_MODULES_PROTO=3Dextern 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/kd= c', '-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/wrkdirs/usr/ports/net/samba413/work/samba-4.13.17/bin/default/source4/k= dc/mit_samba.c.18.o', '-DLIBICONV_PLUG', '-isystem', '/usr/local/include'] *** Error code 1 Stop. make: stopped in /usr/ports/net/samba413 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265682-7788>