Your package fails to build with the newest upcoming autoconf-2.71, which is part of a wide Fedora change. Please see the attached copr: https://copr.fedorainfracloud.org/coprs/odubaj/autoconf-2.70/packages/. More information about testing your package when building with autoconf available here: https://fedoraproject.org/wiki/Changes/Autoconf_271#How_To_Test
I've been able to solve the python headers dependency problem by including the changes from https://github.com/SSSD/sssd/pull/5495. Nowadays I'm facing another problem related with the samba dependency that I think has its root cause in the mock configuration provided by @odubaj. On the one hand when I try to build sssd locally with autoconf-2.70 and mock with the configuration provided by copr, the build fails because it can't find '/usr/include/samba-4.0'. I've checked it and samba-devel seems to be installed, at least that's what installed_pkgs.log reports, but '/var/lib/mock/odubaj-autoconf-2.70_fedora-rawhide-x86_64-bootstrap/root/usr/include/samba-4.0' doesn't exist. On the other hand when I try to build sssd locally with autoconf-2.69 and mock with the standard configuration, then it succeeds and '/var/lib/mock/fedora-rawhide-x86_64/root/usr/include/samba-4.0' exists. I provide the mock configuration file: include('/etc/mock/fedora-rawhide-x86_64.cfg') config_opts['root'] = 'odubaj-autoconf-2.70_fedora-rawhide-x86_64' config_opts[config_opts['package_manager'] + '.conf'] += """ [copr_base] name="Copr repository" baseurl=https://download.copr.fedorainfracloud.org/results/odubaj/autoconf-2.70/fedora-rawhide-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [https_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch] name="Additional repo https_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch" baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 """
Hi, added samba package explicitly to the repository, please test if it resolves your problem. https://copr.fedorainfracloud.org/coprs/odubaj/autoconf-2.70/package/samba/ Thanks.
Upstream changes in master branch: 49010b16ed90eb743dc7c47d2ba7b6ae84c049cd - configure: set CPP macro with AC_PROG_CPP cd843dafe63589d0a77145445c454f6fc19dabae - configure: Fix python headers detection with recent autoconf I've also opened a PR against fedora rawhide: https://src.fedoraproject.org/rpms/sssd/pull-request/13
Gentle ping.
The changes has been merged in Fedora rawhide and is being built by copr: https://copr.fedorainfracloud.org/coprs/odubaj/autoconf-2.70/build/2129464/