Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1943130 - sssd: FTBFS with upcoming autoconf-2.71
Summary: sssd: FTBFS with upcoming autoconf-2.71
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iker Pedrosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1942967
TreeView+ depends on / blocked
 
Reported: 2021-03-25 12:57 UTC by Ondrej Dubaj
Modified: 2021-04-12 11:16 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-12 11:16:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5336 0 None open sssd's configure.ac breaks with Autoconf 2.69c (beta release of 2.70) 2021-03-30 14:11:21 UTC

Description Ondrej Dubaj 2021-03-25 12:57:03 UTC
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

Comment 1 Iker Pedrosa 2021-04-06 14:55:06 UTC
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
"""

Comment 2 Ondrej Dubaj 2021-04-06 17:35:59 UTC
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.

Comment 3 Iker Pedrosa 2021-04-08 13:55:11 UTC
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

Comment 4 Ondrej Dubaj 2021-04-12 07:23:05 UTC
Gentle ping.

Comment 5 Iker Pedrosa 2021-04-12 10:35:12 UTC
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/


Note You need to log in before you can comment on or make changes to this bug.