Bug ID | 980473 |
---|---|
Summary | freeipa fails to build in openSUSE:Factory |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | dimstar@opensuse.org |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Since the update of Samba to version 4.4, freeipa fails to build The build log contains: >[ 210s] mv -f .deps/ipa_pwd_ntlm.Tpo .deps/ipa_pwd_ntlm.Plo >[ 210s] ipa_sam.c:108:0: warning: "LDAP_PAGE_SIZE" redefined >[ 210s] #define LDAP_PAGE_SIZE 1024 >[ 210s] ^ >[ 210s] In file included from /usr/include/samba-4.0/smbldap.h:24:0, >[ 210s] from ipa_sam.c:25: >[ 210s] /usr/include/samba-4.0/smb_ldap.h:81:0: note: this is the location of the previous definition >[ 210s] #define LDAP_PAGE_SIZE 1000 >[ 210s] ^ >[ 210s] ipa_sam.c: In function 'ldapsam_uid_to_sid': >[ 210s] ipa_sam.c:827:24: error: implicit declaration of function 'talloc_stackframe' [-Werror=implicit-function-declaration] >[ 210s] TALLOC_CTX *tmp_ctx = talloc_stackframe(); >[ 210s] ^ >[ 210s] ipa_sam.c:827:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] >[ 210s] ipa_sam.c: In function 'ldapsam_gid_to_sid': >[ 210s] ipa_sam.c:914:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] >[ 210s] TALLOC_CTX *tmp_ctx = talloc_stackframe(); >[ 210s] ^ >[ 210s] ipa_sam.c: In function 'pdb_init_ipasam': >[ 210s] ipa_sam.c:4426:2: error: implicit declaration of function 'trim_string' [-Werror=implicit-function-declaration] >[ 210s] trim_string( uri, "\"", "\"" ); >[ 210s] ^ >[ 210s] ipa_sam.c:4513:26: error: implicit declaration of function 'smb_xstrdup' [-Werror=implicit-function-declaration] >[ 210s] ldap_state->domain_dn = smb_xstrdup(dn); >[ 210s] ^ >[ 210s] ipa_sam.c:4513:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion] >[ 210s] ldap_state->domain_dn = smb_xstrdup(dn); Upstream addressed this in https://git.fedorahosted.org/cgit/freeipa.git/commit/daemons/ipa-sam/ipa_sam.c?id=017b343e13bbfdd0d9951417be8dac4614cb1416