#6173 Freeipa cannot be build on fedora 25
Closed: Fixed Opened by lslebodn.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1364338

Description of problem:
The last two build in fedora 25/rawhide failed.
http://koji.fedoraproject.org/koji/buildinfo?buildID=781425
http://koji.fedoraproject.org/koji/buildinfo?buildID=784935
It would be good to have 4.3.2 in fedora 25 and rawhide.
Version-Release number of selected component (if applicable):
freeipa-4.3.2-1.fc25
How reproducible:
Deterministic
Steps to Reproduce:
1. wget https://kojipkgs.fedoraproject.org//packages/freeipa/4.3.2/1.fc24/src/f
reeipa-4.3.2-1.fc24.src.rpm
2. mock --root fedora-rawhide-x86_64 --resultdir . --rebuild
./freeipa-4.3.2-1.fc24.src.rpm
Actual results:
Compile time error
    daemons/ipa-kdb/ipa_kdb_mspac.c: In function 'filter_logon_info':
    daemons/ipa-kdb/ipa_kdb_mspac.c:1536:19: error: 'struct PAC_LOGON_INFO'
      has no member named 'res_group_dom_sid'
         if (info->info->res_group_dom_sid != NULL &&
                       ^~
    daemons/ipa-kdb/ipa_kdb_mspac.c:1537:19: error: 'struct PAC_LOGON_INFO'
      has no member named 'res_groups'; did you mean 'resource_groups'?
             info->info->res_groups.count != 0) {
                       ^~
    mv -f .deps/ipa_kdb_delegation.Tpo .deps/ipa_kdb_delegation.Plo
    Makefile:806: recipe for target 'ipa_kdb_mspac.lo' failed
    make[3]: *** [ipa_kdb_mspac.lo] Error 1
    make[3]: *** Waiting for unfinished jobs....
Expected results:
Mock will packages without any problem
Additional info:

  • Pushed to master: 7e1898bd014234c176b0c5d4d00463c70fba27b0
  • Pushed to master: 50c53395de7b5b4c62f3bc9004d2c7a94792339f

Previous two patches does not fix build on fedora 25/rawhide.

master:

  • e7480bed277e441abf4cfdb1dd8c11471514c8ab ipa-kdb: Allow to build with samba 4.5
  • 5fece5ff17fa5c2deead3d44953c512b7060f6ca ipa-kdb: Fix unit test after packaging changes in krb5

Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1365526 (Red Hat Enterprise Linux 7)

Metadata Update from @lslebodn:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.4.1

Metadata