Date: Thu, 16 Jun 2022 09:29:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264710] openldap26-server build fails when overlay option SMBPWD is set Message-ID: <bug-264710-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264710 Bug ID: 264710 Summary: openldap26-server build fails when overlay option SMBPWD is set 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: johannes.kunde@gmail.com CC: adamw@FreeBSD.org, delphij@FreeBSD.org, garga@FreeBSD.org CC: adamw@FreeBSD.org, delphij@FreeBSD.org, garga@FreeBSD.org Build of the port openldap26-server fails, when the 'SMBPWD' overlay build option is set. Removing the option from the port configuration solves the issue. Error output: gmake[1]: Entering directory '/usr/ports/net/openldap26-server/work/openldap-2.6.2/contrib/slapd-modules= /smbk5pwd' ../../../libtool --mode=3Dcompile cc -O2 -pipe -fstack-protector-strong -i= system /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isy= stem /usr/local/include -DDO_KRB5 -DDO_SAMBA -DDO_SHADOW -I../../../include -I../../../include -I../../../servers/slapd -I/usr/include -c smbk5pwd.c libtool: compile: cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/include -isys= tem /usr/local/include -DDO_KRB5 -DDO_SAMBA -DDO_SHADOW -I../../../include -I../../../include -I../../../servers/slapd -I/usr/include -c smbk5pwd.c -= fPIC -DPIC -o .libs/smbk5pwd.o In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:43: /usr/include/heim_asn1.h:37:52: error: unknown type name 'heim_any' int encode_heim_any(unsigned char *, size_t, const heim_any *, size_t *= ); ^ /usr/include/heim_asn1.h:38:52: error: unknown type name 'heim_any' int decode_heim_any(const unsigned char *, size_t, heim_any *, size_t *= ); ^ /usr/include/heim_asn1.h:39:20: error: unknown type name 'heim_any' void free_heim_any(heim_any *); ^ /usr/include/heim_asn1.h:40:30: error: unknown type name 'heim_any' size_t length_heim_any(const heim_any *); ^ /usr/include/heim_asn1.h:41:25: error: unknown type name 'heim_any' int copy_heim_any(const heim_any *, heim_any *); ^ /usr/include/heim_asn1.h:41:37: error: unknown type name 'heim_any' int copy_heim_any(const heim_any *, heim_any *); ^ /usr/include/heim_asn1.h:44:14: error: unknown type name 'heim_any_set' const heim_any_set *, size_t *); ^ /usr/include/heim_asn1.h:46:8: error: unknown type name 'heim_any_set' heim_any_set *,size_t *); ^ /usr/include/heim_asn1.h:47:24: error: unknown type name 'heim_any_set' void free_heim_any_set(heim_any_set *); ^ /usr/include/heim_asn1.h:48:34: error: unknown type name 'heim_any_set' size_t length_heim_any_set(const heim_any_set *); ^ /usr/include/heim_asn1.h:49:29: error: unknown type name 'heim_any_set' int copy_heim_any_set(const heim_any_set *, heim_any_set *); ^ /usr/include/heim_asn1.h:49:45: error: unknown type name 'heim_any_set' int copy_heim_any_set(const heim_any_set *, heim_any_set *); ^ /usr/include/heim_asn1.h:50:24: error: unknown type name 'heim_any_set' int heim_any_cmp(const heim_any_set *, const heim_any_set *); ^ /usr/include/heim_asn1.h:50:46: error: unknown type name 'heim_any_set' int heim_any_cmp(const heim_any_set *, const heim_any_set *); ^ In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:44: In file included from /usr/include/hdb_asn1.h:88: /usr/include/krb5_asn1.h:108:3: error: expected identifier KRB5_NT_UNKNOWN =3D 0, ^ /usr/local/include/krb5/krb5.h:242:32: note: expanded from macro 'KRB5_NT_UNKNOWN' #define KRB5_NT_UNKNOWN 0 /**< Name type not known */ ^ In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:44: In file included from /usr/include/hdb_asn1.h:88: /usr/include/krb5_asn1.h:109:3: error: expected identifier KRB5_NT_PRINCIPAL =3D 1, ^ /usr/local/include/krb5/krb5.h:243:32: note: expanded from macro 'KRB5_NT_PRINCIPAL' #define KRB5_NT_PRINCIPAL 1 /**< Just the name of the principal ^ In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:44: In file included from /usr/include/hdb_asn1.h:88: /usr/include/krb5_asn1.h:110:3: error: expected identifier KRB5_NT_SRV_INST =3D 2, ^ /usr/local/include/krb5/krb5.h:245:32: note: expanded from macro 'KRB5_NT_SRV_INST' #define KRB5_NT_SRV_INST 2 /**< Service and other unique instance (krbtgt) */ ^ In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:44: In file included from /usr/include/hdb_asn1.h:88: /usr/include/krb5_asn1.h:111:3: error: expected identifier KRB5_NT_SRV_HST =3D 3, ^ /usr/local/include/krb5/krb5.h:246:32: note: expanded from macro 'KRB5_NT_SRV_HST' #define KRB5_NT_SRV_HST 3 /**< Service with host name as instance ^ In file included from smbk5pwd.c:47: In file included from /usr/include/hdb.h:44: In file included from /usr/include/hdb_asn1.h:88: /usr/include/krb5_asn1.h:112:3: error: expected identifier KRB5_NT_SRV_XHST =3D 4, ^ /usr/local/include/krb5/krb5.h:248:32: note: expanded from macro 'KRB5_NT_SRV_XHST' #define KRB5_NT_SRV_XHST 4 /**< Service with host as remaining compon= ents */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. gmake[1]: *** [Makefile:53: smbk5pwd.lo] Error 1 gmake[1]: Leaving directory '/usr/ports/net/openldap26-server/work/openldap-2.6.2/contrib/slapd-modules= /smbk5pwd' *** Error code 2 Stop. make: stopped in /usr/ports/net/openldap26-server =3D=3D=3D>>> make build failed for net/openldap26-server =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for net/openldap26-server failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> net/openldap26-server lang/cython@py38 security/s= udo security/sssd editors/vim@console=20 This command has been saved to ~/portmasterfail.txt --=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-264710-7788>