Source: freeipa Version: 4.1.4-1 Severity: serious Justification: fails to build from source (but built successfully in the past)
trying to rebuild freeipa/experimental failed: Making all in ipa-sam make[5]: Entering directory '/build/freeipa-4.1.4/daemons/ipa-sam' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/include/samba-4.0 -DPREFIX=\""/usr"\" -DBINDIR=\""/usr/bin"\" -DLIBDIR=\""/usr/lib/x86_64-linux-gnu"\" -DLIBEXECDIR=\""/usr/lib/x86_64-linux-gnu"\" -DDATADIR=\""/usr/share"\" -DLDAPIDIR=\""/var/run"\" -DHAVE_LDAP -I ../../util -DWITH_OPENLDAP -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -DUSE_OPENLDAP -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Werror-implicit-function-declaration -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o ipa_sam.lo ipa_sam.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/include/samba-4.0 -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DLIBEXECDIR=\"/usr/lib/x86_64-linux-gnu\" -DDATADIR=\"/usr/share\" -DLDAPIDIR=\"/var/run\" -DHAVE_LDAP -I ../../util -DWITH_OPENLDAP -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -DUSE_OPENLDAP -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Werror-implicit-function-declaration -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ipa_sam.c -fPIC -DPIC -o .libs/ipa_sam.o ipa_sam.c:108:0: warning: "LDAP_PAGE_SIZE" redefined #define LDAP_PAGE_SIZE 1024 ^ In file included from /usr/include/samba-4.0/smbldap.h:24:0, from ipa_sam.c:25: /usr/include/samba-4.0/smb_ldap.h:81:0: note: this is the location of the previous definition #define LDAP_PAGE_SIZE 1000 ^ ipa_sam.c: In function 'ldapsam_uid_to_sid': ipa_sam.c:827:24: error: implicit declaration of function 'talloc_stackframe' [-Werror=implicit-function-declaration] TALLOC_CTX *tmp_ctx = talloc_stackframe(); ^ ipa_sam.c:827:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ipa_sam.c: In function 'ldapsam_gid_to_sid': ipa_sam.c:914:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] TALLOC_CTX *tmp_ctx = talloc_stackframe(); ^ ipa_sam.c: In function 'pdb_init_ipasam': ipa_sam.c:4426:2: error: implicit declaration of function 'trim_string' [-Werror=implicit-function-declaration] trim_string( uri, "\"", "\"" ); ^ ipa_sam.c:4513:26: error: implicit declaration of function 'smb_xstrdup' [-Werror=implicit-function-declaration] ldap_state->domain_dn = smb_xstrdup(dn); ^ ipa_sam.c:4513:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ldap_state->domain_dn = smb_xstrdup(dn); ^ cc1: some warnings being treated as errors Makefile:550: recipe for target 'ipa_sam.lo' failed make[5]: *** [ipa_sam.lo] Error 1 Andreas