Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sssd-2.4.2: build using autoconf 2.71 fails #5563

Closed
kloczek opened this issue Mar 31, 2021 · 19 comments
Closed

sssd-2.4.2: build using autoconf 2.71 fails #5563

kloczek opened this issue Mar 31, 2021 · 19 comments
Assignees
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@kloczek
Copy link
Contributor

kloczek commented Mar 31, 2021

make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.  -Wall -I.. -I./src/sss_client -I./src -I.      -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -I/usr/include/libnl3   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DSSS_STATEDIR=\"/var/lib/sss\" -DSYSCONFDIR=\"/etc\" -DSHLIBEXT=\"\" -DSSSDDATADIR=\"/usr/share/sssd\" -DSSSD_LIBEXEC_PATH=\"/usr/libexec/sssd\" -DSSSD_CONF_DIR=\"/etc/sssd\" -DSSS_NSS_MCACHE_DIR=\"/var/lib/sss/mc\" -DSSS_NSS_SOCKET_NAME=\"/var/lib/sss/pipes/nss\" -DSSS_PAM_SOCKET_NAME=\"/var/lib/sss/pipes/pam\" -DSSS_PAC_SOCKET_NAME=\"/var/lib/sss/pipes/pac\" -DSSS_PAM_PRIV_SOCKET_NAME=\"/var/lib/sss/pipes/private/pam\" -DSSS_SEC_SOCKET_NAME=\"/run/secrets.socket\" -DSSS_SUDO_SOCKET_NAME=\"/var/lib/sss/pipes/sudo\" -DSSS_AUTOFS_SOCKET_NAME=\"/var/lib/sss/pipes/autofs\" -DSSS_SSH_SOCKET_NAME=\"/var/lib/sss/pipes/ssh\" -DLOCALEDIR=\"/usr/share/locale\" -DBASE_FILE_STEM=\"libsss_ad_la-ad_gpo_ndr\"    -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99     -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1  -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o src/providers/ad/libsss_ad_la-ad_gpo_ndr.lo `test -f 'src/providers/ad/ad_gpo_ndr.c' || echo './'`src/providers/ad/ad_gpo_ndr.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -Wall -I.. -I./src/sss_client -I./src -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DSSS_STATEDIR=\"/var/lib/sss\" -DSYSCONFDIR=\"/etc\" -DSHLIBEXT=\"\" -DSSSDDATADIR=\"/usr/share/sssd\" -DSSSD_LIBEXEC_PATH=\"/usr/libexec/sssd\" -DSSSD_CONF_DIR=\"/etc/sssd\" -DSSS_NSS_MCACHE_DIR=\"/var/lib/sss/mc\" -DSSS_NSS_SOCKET_NAME=\"/var/lib/sss/pipes/nss\" -DSSS_PAM_SOCKET_NAME=\"/var/lib/sss/pipes/pam\" -DSSS_PAC_SOCKET_NAME=\"/var/lib/sss/pipes/pac\" -DSSS_PAM_PRIV_SOCKET_NAME=\"/var/lib/sss/pipes/private/pam\" -DSSS_SEC_SOCKET_NAME=\"/run/secrets.socket\" -DSSS_SUDO_SOCKET_NAME=\"/var/lib/sss/pipes/sudo\" -DSSS_AUTOFS_SOCKET_NAME=\"/var/lib/sss/pipes/autofs\" -DSSS_SSH_SOCKET_NAME=\"/var/lib/sss/pipes/ssh\" -DLOCALEDIR=\"/usr/share/locale\" -DBASE_FILE_STEM=\"libsss_ad_la-ad_gpo_ndr\" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c src/providers/ad/ad_gpo_ndr.c  -fPIC -DPIC -o src/providers/ad/.libs/libsss_ad_la-ad_gpo_ndr.o
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_type’:
src/providers/ad/ad_gpo_ndr.c:114:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  114 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_inherited_type’:
src/providers/ad/ad_gpo_ndr.c:141:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  141 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_ctr’:
src/providers/ad/ad_gpo_ndr.c:209:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  209 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c:239:21: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  239 |             level = ndr_pull_steal_switch_value(ndr, r);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:21835: src/providers/ad/libsss_ad_la-ad_gpo_ndr.lo] Error 1
cd ./src/config; \
/usr/bin/python3 setup.py build --build-base /home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/config
running build
running build_py
make[2]: Target 'all-am' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
Making all in src/tests/cwrap
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/cwrap'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/cwrap'
Making all in src/tests/intg
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/intg'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/intg'
Making all in src/tests/test_CA
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_CA'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_CA'
Making all in src/tests/test_ECC_CA
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_ECC_CA'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_ECC_CA'
make[1]: *** [Makefile:40113: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
make: *** [Makefile:12526: all] Error 2
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.  -Wall -I.. -I./src/sss_client -I./src -I.      -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -I/usr/include/libnl3   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DSSS_STATEDIR=\"/var/lib/sss\" -DSYSCONFDIR=\"/etc\" -DSHLIBEXT=\"\" -DSSSDDATADIR=\"/usr/share/sssd\" -DSSSD_LIBEXEC_PATH=\"/usr/libexec/sssd\" -DSSSD_CONF_DIR=\"/etc/sssd\" -DSSS_NSS_MCACHE_DIR=\"/var/lib/sss/mc\" -DSSS_NSS_SOCKET_NAME=\"/var/lib/sss/pipes/nss\" -DSSS_PAM_SOCKET_NAME=\"/var/lib/sss/pipes/pam\" -DSSS_PAC_SOCKET_NAME=\"/var/lib/sss/pipes/pac\" -DSSS_PAM_PRIV_SOCKET_NAME=\"/var/lib/sss/pipes/private/pam\" -DSSS_SEC_SOCKET_NAME=\"/run/secrets.socket\" -DSSS_SUDO_SOCKET_NAME=\"/var/lib/sss/pipes/sudo\" -DSSS_AUTOFS_SOCKET_NAME=\"/var/lib/sss/pipes/autofs\" -DSSS_SSH_SOCKET_NAME=\"/var/lib/sss/pipes/ssh\" -DLOCALEDIR=\"/usr/share/locale\" -DBASE_FILE_STEM=\"libsss_ad_la-ad_gpo_ndr\"    -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99     -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1  -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o src/providers/ad/libsss_ad_la-ad_gpo_ndr.lo `test -f 'src/providers/ad/ad_gpo_ndr.c' || echo './'`src/providers/ad/ad_gpo_ndr.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -Wall -I.. -I./src/sss_client -I./src -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DSSS_STATEDIR=\"/var/lib/sss\" -DSYSCONFDIR=\"/etc\" -DSHLIBEXT=\"\" -DSSSDDATADIR=\"/usr/share/sssd\" -DSSSD_LIBEXEC_PATH=\"/usr/libexec/sssd\" -DSSSD_CONF_DIR=\"/etc/sssd\" -DSSS_NSS_MCACHE_DIR=\"/var/lib/sss/mc\" -DSSS_NSS_SOCKET_NAME=\"/var/lib/sss/pipes/nss\" -DSSS_PAM_SOCKET_NAME=\"/var/lib/sss/pipes/pam\" -DSSS_PAC_SOCKET_NAME=\"/var/lib/sss/pipes/pac\" -DSSS_PAM_PRIV_SOCKET_NAME=\"/var/lib/sss/pipes/private/pam\" -DSSS_SEC_SOCKET_NAME=\"/run/secrets.socket\" -DSSS_SUDO_SOCKET_NAME=\"/var/lib/sss/pipes/sudo\" -DSSS_AUTOFS_SOCKET_NAME=\"/var/lib/sss/pipes/autofs\" -DSSS_SSH_SOCKET_NAME=\"/var/lib/sss/pipes/ssh\" -DLOCALEDIR=\"/usr/share/locale\" -DBASE_FILE_STEM=\"libsss_ad_la-ad_gpo_ndr\" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c src/providers/ad/ad_gpo_ndr.c  -fPIC -DPIC -o src/providers/ad/.libs/libsss_ad_la-ad_gpo_ndr.o
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_type’:
src/providers/ad/ad_gpo_ndr.c:114:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  114 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_inherited_type’:
src/providers/ad/ad_gpo_ndr.c:141:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  141 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_ctr’:
src/providers/ad/ad_gpo_ndr.c:209:17: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  209 |         level = ndr_pull_steal_switch_value(ndr, r);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/providers/ad/ad_gpo_ndr.c:239:21: error: too few arguments to function ‘ndr_pull_steal_switch_value’
  239 |             level = ndr_pull_steal_switch_value(ndr, r);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/providers/ad/ad_gpo_ndr.c:36:
/usr/include/samba-4.0/ndr.h:670:19: note: declared here
  670 | enum ndr_err_code ndr_pull_steal_switch_value(struct ndr_pull *ndr,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:21835: src/providers/ad/libsss_ad_la-ad_gpo_ndr.lo] Error 1
cd ./src/config; \
/usr/bin/python3 setup.py build --build-base /home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/config
running build
running build_py
make[2]: Target 'all-am' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
Making all in src/tests/cwrap
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/cwrap'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/cwrap'
Making all in src/tests/intg
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/intg'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/intg'
Making all in src/tests/test_CA
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_CA'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_CA'
Making all in src/tests/test_ECC_CA
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_ECC_CA'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2/src/tests/test_ECC_CA'
make[1]: *** [Makefile:40113: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sssd-2.4.2'
make: *** [Makefile:12526: all] Error 2
@alexey-tikhonov
Copy link
Member

alexey-tikhonov commented Mar 31, 2021

Hi,

what is the output of

$ grep SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH config.h

?

Or $ grep ndr_pull_steal_switch_value config.log?

Did you run ./configure after update of samba libs?

@kloczek
Copy link
Contributor Author

kloczek commented Mar 31, 2021

[tkloczko@barrel sssd-2.4.2]$ grep SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH config.h
/* #undef SMB_HAS_NEW_NDR_PULL_STEAL_SWITCH */

Did you run ./configure after update of samba libs?
This part of the rpm package build log which is only using dist tar ball then before ./configure autoreconf -fiv is executed.
Here is list of switches passed top configure:

%build
autoreconf -fiv
%configure \
        PYTHON=%__python3 \
        --disable-polkit-rules-path \
        --disable-rpath \
        --disable-static \
        --enable-files-domain \
        --enable-gss-spnego-for-zero-maxssf \
        --enable-nfsidmaplibdir=%{_libdir}/libnfsidmap \
        --enable-nsslibdir=%{_libdir} \
        --enable-pammoddir=%{_libdir}/security \
        --enable-sss-default-nss-plugin \
        --enable-systemtap \
        --with-app-libs=%{_libdir}/modules/sssd \
        --with-crypto=libcrypto \
        --with-db-path=%{_localstatedir}/lib/sss/db \
        --with-gpo-cache-path=%{_localstatedir}/lib/sss/gpo_cache \
        --with-init-dir=%{_initrddir} \
        --with-initscript=systemd \
        --with-krb5-rcache-dir=%{_localstatedir}/cache/krb5rcache \
        --with-mcache-path=%{_localstatedir}/lib/sss/mc \
        --without-python2-bindings \
        --with-python3-bindings \
        --with-pid-path=%{_rundir} \
        --with-pipe-path=%{_localstatedir}/lib/sss/pipes \
        --with-pubconf-path=%{_localstatedir}/lib/sss/pubconf \
        --with-python3-bindings \
        --with-smb-idmap-interface-version=5 \
        --with-sssd-user=root \
        --with-sudo-lib-path=%{_libdir}/modules/sudo \
        --with-syslog=journald \
        --with-test-dir=/dev/shm \
        %{nil}
%make_build all docs

and output of that part of the build procedure:

+ cd sssd-2.4.2
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Copying file build/mkinstalldirs
Copying file po/Makevars.template
autoreconf: running: aclocal --force -I m4 -I .
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'.
libtoolize: copying file 'build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4 -I .
autoreconf: running: /usr/bin/autoconf --force
configure.ac:29: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:486: gt_INTL_MACOSX is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:42: warning: The macro `ac_cv_prog_gcc' is obsolete.
configure.ac:42: You should run autoupdate.
./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from...
aclocal.m4:1092: AM_CONDITIONAL is expanded from...
configure.ac:42: the top level
configure.ac:46: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:46: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:46: the top level
configure.ac:51: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/build_macros.m4:1: BUILD_WITH_SHARED_BUILD_DIR is expanded from...
configure.ac:51: the top level
src/external/platform.m4:1: warning: The macro `AC_HELP_STRING' is obsolete.
src/external/platform.m4:1: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/external/platform.m4:1: the top level
configure.ac:129: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:129: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:1: WITH_DB_PATH is expanded from...
configure.ac:129: the top level
configure.ac:130: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:130: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:18: WITH_PLUGIN_PATH is expanded from...
configure.ac:130: the top level
configure.ac:131: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:131: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:35: WITH_PID_PATH is expanded from...
configure.ac:131: the top level
configure.ac:132: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:132: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:52: WITH_LOG_PATH is expanded from...
configure.ac:132: the top level
configure.ac:133: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:133: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:69: WITH_PUBCONF_PATH is expanded from...
configure.ac:133: the top level
configure.ac:134: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:134: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:86: WITH_PIPE_PATH is expanded from...
configure.ac:134: the top level
configure.ac:135: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:135: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:103: WITH_MCACHE_PATH is expanded from...
configure.ac:135: the top level
configure.ac:136: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:136: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:320: WITH_DEFAULT_CCACHE_DIR is expanded from...
configure.ac:136: the top level
configure.ac:137: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:137: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:335: WITH_DEFAULT_CCNAME_TEMPLATE is expanded from...
configure.ac:137: the top level
configure.ac:138: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:138: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:164: WITH_ENVIRONMENT_FILE is expanded from...
configure.ac:138: the top level
configure.ac:139: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:139: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:177: WITH_INIT_DIR is expanded from...
configure.ac:139: the top level
configure.ac:140: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:140: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:428: WITH_TEST_DIR is expanded from...
configure.ac:140: the top level
configure.ac:141: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:141: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:233: WITH_MANPAGES is expanded from...
configure.ac:141: the top level
configure.ac:142: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:142: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:249: WITH_XML_CATALOG is expanded from...
configure.ac:142: the top level
configure.ac:143: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:143: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:263: WITH_KRB5_PLUGIN_PATH is expanded from...
configure.ac:143: the top level
configure.ac:144: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:144: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:305: WITH_KRB5_RCACHE_DIR is expanded from...
configure.ac:144: the top level
configure.ac:145: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:145: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:350: WITH_KRB5AUTHDATA_PLUGIN_PATH is expanded from...
configure.ac:145: the top level
configure.ac:146: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:146: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:364: WITH_KRB5_CONF is expanded from...
configure.ac:146: the top level
configure.ac:147: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:147: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:377: WITH_PYTHON2_BINDINGS is expanded from...
configure.ac:147: the top level
configure.ac:148: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:148: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:394: WITH_PYTHON3_BINDINGS is expanded from...
configure.ac:148: the top level
configure.ac:149: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:149: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:277: WITH_CIFS_PLUGIN_PATH is expanded from...
configure.ac:149: the top level
configure.ac:150: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:150: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:291: WITH_WINBIND_PLUGIN_PATH is expanded from...
configure.ac:150: the top level
configure.ac:151: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:151: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:411: WITH_SELINUX is expanded from...
configure.ac:151: the top level
configure.ac:152: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:152: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:455: WITH_NSCD is expanded from...
configure.ac:152: the top level
configure.ac:153: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:153: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:441: WITH_IPA_GETKEYTAB is expanded from...
configure.ac:153: the top level
configure.ac:154: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:154: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:484: WITH_SEMANAGE is expanded from...
configure.ac:154: the top level
configure.ac:156: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:156: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:501: WITH_GPO_CACHE_PATH is expanded from...
configure.ac:156: the top level
configure.ac:157: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:157: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:558: WITH_NOLOGIN_SHELL is expanded from...
configure.ac:157: the top level
configure.ac:158: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:572: WITH_SESSION_RECORDING_SHELL is expanded from...
configure.ac:158: the top level
configure.ac:159: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:159: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:615: WITH_APP_LIBS is expanded from...
configure.ac:159: the top level
configure.ac:160: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:160: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:632: WITH_SUDO is expanded from...
configure.ac:160: the top level
configure.ac:161: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:648: WITH_SUDO_LIB_PATH is expanded from...
configure.ac:161: the top level
configure.ac:162: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:162: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:662: WITH_AUTOFS is expanded from...
configure.ac:162: the top level
configure.ac:163: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:163: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:678: WITH_SSH is expanded from...
configure.ac:163: the top level
configure.ac:164: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:164: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:694: WITH_IFP is expanded from...
configure.ac:164: the top level
configure.ac:165: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:165: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:144: WITH_SYSLOG is expanded from...
configure.ac:165: the top level
configure.ac:166: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:166: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:734: WITH_SAMBA is expanded from...
configure.ac:166: the top level
configure.ac:167: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:167: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:763: WITH_NFS is expanded from...
configure.ac:167: the top level
configure.ac:168: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:168: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:779: WITH_NFS_LIB_PATH is expanded from...
configure.ac:168: the top level
configure.ac:169: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:169: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:710: WITH_LIBWBCLIENT is expanded from...
configure.ac:169: the top level
configure.ac:172: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:172: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:863: WITH_SECRETS is expanded from...
configure.ac:172: the top level
configure.ac:173: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:173: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:895: WITH_SECRETS_DB_PATH is expanded from...
configure.ac:173: the top level
configure.ac:174: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:174: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:879: WITH_KCM is expanded from...
configure.ac:174: the top level
src/external/libldb.m4:11: warning: The macro `AC_HELP_STRING' is obsolete.
src/external/libldb.m4:11: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/external/libldb.m4:11: the top level
src/external/samba.m4:51: warning: The macro `AC_HELP_STRING' is obsolete.
src/external/samba.m4:51: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/external/samba.m4:51: the top level
configure.ac:239: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:239: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:595: WITH_UNICODE_LIB is expanded from...
configure.ac:239: the top level
configure.ac:251: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:251: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:518: WITH_LIBNL is expanded from...
configure.ac:251: the top level
configure.ac:254: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:254: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:470: WITH_NSCD_CONF is expanded from...
configure.ac:254: the top level
configure.ac:257: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:257: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:120: WITH_INITSCRIPT is expanded from...
configure.ac:257: the top level
configure.ac:259: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:259: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:195: WITH_SYSTEMD_UNIT_DIR is expanded from...
configure.ac:259: the top level
configure.ac:260: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:260: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
src/conf_macros.m4:215: WITH_SYSTEMD_CONF_DIR is expanded from...
configure.ac:260: the top level
configure.ac:262: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: checking for the executable \"service\"
src/external/service.m4:1: CHECK_SERVICE_EXECUTABLE is expanded from...
configure.ac:262: the top level
configure.ac:262: warning: back quotes and double quotes must not be escaped in: checking for the executable \"service\"...
src/external/service.m4:1: CHECK_SERVICE_EXECUTABLE is expanded from...
configure.ac:262: the top level
configure.ac:511: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:511: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
src/conf_macros.m4:835: ENABLE_POLKIT_RULES_PATH is expanded from...
configure.ac:511: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:10: installing 'build/compile'
configure.ac:17: installing 'build/missing'
Makefile.am: installing 'build/depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info PYTHON=/usr/bin/python3 --disable-polkit-rules-path --disable-rpath --disable-static --enable-files-domain --enable-gss-spnego-for-zero-maxssf --enable-nfsidmaplibdir=/usr/lib64/libnfsidmap --enable-nsslibdir=/usr/lib64 --enable-pammoddir=/usr/lib64/security --enable-sss-default-nss-plugin --enable-systemtap --with-app-libs=/usr/lib64/modules/sssd --with-crypto=libcrypto --with-db-path=/var/lib/sss/db --with-gpo-cache-path=/var/lib/sss/gpo_cache --with-init-dir=/etc/rc.d/init.d --with-initscript=systemd --with-krb5-rcache-dir=/var/cache/krb5rcache --with-mcache-path=/var/lib/sss/mc --without-python2-bindings --with-python3-bindings --with-pid-path=/run --with-pipe-path=/var/lib/sss/pipes --with-pubconf-path=/var/lib/sss/pubconf --with-python3-bindings --with-smb-idmap-interface-version=5 --with-sssd-user=root --with-sudo-lib-path=/usr/lib64/modules/sudo --with-syslog=journald --with-test-dir=/dev/shm
configure: WARNING: unrecognized options: --with-crypto
checking for x86_64-redhat-linux-gnu-gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to enable C11 features... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of /usr/bin/gcc... none
checking for x86_64-redhat-linux-gnu-ar... /usr/bin/gcc-ar
checking the archiver (/usr/bin/gcc-ar) interface... ar
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/gcc-nm
checking the name lister (/usr/bin/gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-gnu-ar... (cached) /usr/bin/gcc-ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-gnu-ranlib... /usr/bin/gcc-ranlib
checking command to parse /usr/bin/gcc-nm output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for /usr/bin/gcc options needed to detect all undeclared functions... none needed
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make supports nested variables... (cached) yes
checking for stdint.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for stdatomic.h... yes
checking for errno_t... no
checking for library containing timer_create... -lrt
checking for library containing clock_gettime... none required
checking for utimensat... yes
checking for futimens... yes
checking for explicit_bzero... yes
checking for endian.h... yes
checking for sys/endian.h... no
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
configure: Detected operating system type: fedora
checking for struct ucred.pid... yes
checking for struct ucred.uid... yes
checking for struct ucred.gid... yes
checking for x86_64-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for POPT... yes
checking for TALLOC... yes
checking for TDB... yes
checking for TEVENT... yes
checking for LDB... yes
checking for ldb.h... yes
checking for ldb_init in -lldb... yes
checking for ldb_module.h... yes
checking for ldb_init in -lldb... (cached) yes
checking feature ldb runtime version check... no
configure: ldb lib directory: /usr/lib64/ldb/modules/ldb
checking for DHASH... yes
checking for INI_CONFIG_V0... yes
checking for INI_CONFIG_V1... yes
checking for INI_CONFIG_V1_1... yes
checking for INI_CONFIG_V1_3... yes
checking for GSSAPI_KRB5... yes
checking for security/pam_appl.h... yes
checking for pam_get_item in -lpam... yes
checking for security/pam_modules.h... yes
checking for pam_get_item in -lpam... (cached) yes
checking for security/pam_ext.h... yes
checking for security/pam_modutil.h... yes
checking for security/pam_misc.h... yes
checking for security/_pam_macros.h... yes
checking for security/openpam.h... no
checking for misc_conv in -lpam_misc... yes
checking for pam_modutil_getlogin... yes
checking for pam_vsyslog... yes
checking for GDM_PAM_EXTENSIONS... yes
checking for ldap_search in -lldap... yes
checking for ber_pvt_opt_on in -llber... yes
checking for ldap_control_create... yes
checking for ldap_init_fd... yes
checking for ldap_create_deref_control_value... yes
checking for ldap_parse_derefresponse_control... yes
checking for ldap_derefresponse_free... yes
checking for struct ldap_conncb.lc_arg... yes
checking for LDAPDerefRes... yes
checking for slapd... /usr/sbin/slapd
checking for ldapmodify... yes
checking for PCRE... yes
configure: PCRE version is 7 or higher
checking for x86_64-redhat-linux-gnu-krb5-config... no
checking for krb5-config... /usr/bin/krb5-config
checking for working krb5-config... yes
checking for krb5.h... yes
checking for krb5/krb5.h... yes
checking for krb5_ticket_times... yes
checking for krb5_times... no
checking for krb5_trace_info... yes
checking for krb5_get_init_creds_opt_alloc... yes
checking for krb5_get_error_message... yes
checking for krb5_free_unparsed_name... yes
checking for krb5_get_init_creds_opt_set_expire_callback... yes
checking for krb5_get_init_creds_opt_set_fast_ccache_name... yes
checking for krb5_get_init_creds_opt_set_fast_flags... yes
checking for krb5_get_init_creds_opt_set_canonicalize... yes
checking for krb5_get_init_creds_opt_set_responder... yes
checking for krb5_parse_name_flags... yes
checking for krb5_unparse_name_flags... yes
checking for krb5_get_init_creds_opt_set_change_password_prompt... yes
checking for krb5_free_keytab_entry_contents... yes
checking for krb5_kt_free_entry... yes
checking for krb5_princ_realm... no
checking for krb5_get_time_offsets... yes
checking for krb5_principal_get_realm... no
checking for krb5_cc_cache_match... yes
checking for krb5_timestamp_to_sfstring... yes
checking for krb5_set_trace_callback... yes
checking for krb5_find_authdata... yes
checking for krb5_kt_have_content... yes
checking for krb5_cc_get_full_name... yes
checking for krb5/locate_plugin.h... yes
checking for krb5/localauth_plugin.h... yes
checking for CARES... yes
checking for long long... yes
checking size of int... 4
checking size of char... 1
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of uid_t... 4
checking size of gid_t... 4
checking size of id_t... 4
checking for uint_t... no
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking size of off_t... 8
checking size of size_t... 8
checking size of ssize_t... 8
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ptrdiff_t... yes
checking for nscd... /usr/sbin/nscd
checking for nscd... not installed, assuming standard location
checking for nsupdate... /usr/bin/nsupdate
checking for executable nsupdate... yes
checking for nsupdate 'realm' support'... yes
checking for keyutils.h... yes
checking for add_key in -lkeyutils... yes
checking for SYSTEMD_LOGIN... yes
checking for SYSTEMD_DAEMON... yes
checking for krb5-config... /usr/bin/krb5-config
checking for supported MIT krb5 version... yes
checking for cifsidmap.h... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for getpgrp... yes
checking for prctl... yes
checking for NDR_NBT... yes
checking for NDR_KRB5PAC... yes
checking for SMBCLIENT... yes
checking for SAMBA_UTIL... yes
configure: Samba's idmap interface version: 5
./configure: line 22777: -I/usr/include/samba-4.0: No such file or directory
./configure: line 22778: -I/usr/include/samba-4.0: No such file or directory
./configure: line 22779: -I/usr/include/samba-4.0: No such file or directory
configure: Samba version:
./configure: line 22782: [: -gt: unary operator expected
./configure: line 22783: [: -eq: unary operator expected
./configure: line 22784: [: -eq: unary operator expected
configure: Samba's struct idmap_domain does not have dom_sid member
./configure: line 22795: [: -gt: unary operator expected
./configure: line 22796: [: -eq: unary operator expected
configure: Samba supports old ndr_pull_steal_switch_value and ndr_pull_steal_switch_value functions
checking for struct PAC_LOGON_INFO.resource_groups... yes
checking for SASL... yes
checking for NFSIDMAP... yes
checking for nfsidmap_plugin.h... yes
checking for ns_name_compress in -lresolv... yes
checking for fakeroot... yes
checking for UUID... yes
checking for JANSSON... yes
checking for GLIB2... yes
checking for g_utf8_validate... yes
checking for LIBNL3... yes
configure: Building with libnl3
checking for nl_socket_add_membership in -lnl-3... yes
checking for nl_socket_modify_cb in -lnl-3... yes
checking for rtnl_route_get_oif in -lnl-3... no
checking for nl_set_passcred in -lnl-3... no
checking for nl_socket_set_passcred in -lnl-3... yes
configure: Will use init script type: systemd
checking for DBUS... yes
checking for dbus_watch_get_unix_fd... yes
checking for DBusBasicValue... yes
checking for xsltproc... /usr/bin/xsltproc
checking for xmllint... /usr/bin/xmllint
checking for Docbook XSL profiling templates in XML catalog... yes
checking for po4a... po4a
checking for python2... no
checking for python3... yes
checking for python3... /usr/bin/python3
checking whether /usr/bin/python3 version is >= 3.3... yes
checking for /usr/bin/python3 version... 3.8
checking for /usr/bin/python3 platform... linux
checking for /usr/bin/python3 script directory... ${prefix}/lib/python3.8/site-packages
checking for /usr/bin/python3 extension module directory... ${exec_prefix}/lib64/python3.8/site-packages
checking for python3.8-config... /usr/bin/python3.8-config
checking for selinux/selinux.h... yes
checking for is_selinux_enabled in -lselinux... yes
checking for semanage/semanage.h... yes
checking for semanage_handle_create in -lsemanage... yes
checking for JOURNALD... yes
checking for CRYPTO... yes
checking for SSL... yes
checking for P11_KIT... yes
checking for sys/inotify.h... yes
checking whether sys/inotify.h actually works... yes
checking whether compiler supports __attribute__((destructor))... yes
checking whether compiler supports __attribute__((format))... yes
checking whether compiler supports __attribute__((warn_unused_result))... yes
checking whether compiler supports __attribute__((fallthrough))... yes
checking for CHECK... yes
checking for check.h... yes
checking for doxygen... /usr/bin/doxygen
checking for stdarg.h... yes
checking for stddef.h... yes
checking for setjmp.h... yes
checking for CMOCKA... yes
checking for uid_wrapper... yes
checking for nss_wrapper... yes
checking for pam_wrapper... yes
checking for openssl... /usr/bin/openssl
checking for ssh-keygen... /usr/bin/ssh-keygen
checking for -m option of ssh-keygen... yes
configure: Using softhsm2 PKCS11 module: /usr/lib64/softhsm/libsofthsm2.so
checking for softhsm2-util... /usr/bin/softhsm2-util
checking for p11tool... /usr/bin/p11tool
checking for faketime... no
configure: Could not find faketime
configure: WARNING: faketime not available, skiping some tests
checking for valgrind... valgrind
checking for Valgrind tool memcheck... yes
checking for Valgrind tool helgrind... yes
checking for Valgrind tool drd... yes
checking for Valgrind tool sgcheck... no
checking for dtrace... dtrace
checking for sys/sdt.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/sssd.spec
config.status: creating src/examples/rwtab
config.status: creating src/doxy.config
config.status: creating contrib/sssd-pcsc.rules
config.status: creating src/sysv/sssd
config.status: creating src/sysv/gentoo/sssd
config.status: creating src/sysv/SUSE/sssd
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating src/man/Makefile
config.status: creating src/tests/cwrap/Makefile
config.status: creating src/tests/intg/Makefile
config.status: creating src/tests/test_CA/Makefile
config.status: creating src/tests/test_ECC_CA/Makefile
config.status: creating src/lib/ipa_hbac/ipa_hbac.pc
config.status: creating src/lib/ipa_hbac/ipa_hbac.doxy
config.status: creating src/lib/idmap/sss_idmap.pc
config.status: creating src/lib/idmap/sss_idmap.doxy
config.status: creating src/lib/certmap/sss_certmap.pc
config.status: creating src/lib/certmap/sss_certmap.doxy
config.status: creating src/sss_client/idmap/sss_nss_idmap.pc
config.status: creating src/sss_client/idmap/sss_nss_idmap.doxy
config.status: creating src/sss_client/libwbclient/wbclient_sssd.pc
config.status: creating src/lib/sifp/sss_simpleifp.pc
config.status: creating src/lib/sifp/sss_simpleifp.doxy
config.status: creating src/config/setup.py
config.status: creating src/systemtap/sssd.stp
config.status: creating src/config/SSSDConfig/__init__.py
config.status: WARNING:  'src/config/SSSDConfig/__init__.py.in' seems to ignore the --datarootdir setting
config.status: creating sbus_generate.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --with-crypto

(seems I can remove --with-crypto but that is not relevant)
Only patches which I'm adding on top of the dist tar ball are:

Patch00:        %{name}-shebangs.patch
Patch01:        %{name}-do_not_install_some_doc.patch
Patch02:        %{name}-generate_man3_instead_html.patch

and none of them can affect samba detection.

@alexey-tikhonov
Copy link
Member

configure: Samba's idmap interface version: 5
./configure: line 22777: -I/usr/include/samba-4.0: No such file or directory
./configure: line 22778: -I/usr/include/samba-4.0: No such file or directory
./configure: line 22779: -I/usr/include/samba-4.0: No such file or directory
configure: Samba version:
./configure: line 22782: [: -gt: unary operator expected
./configure: line 22783: [: -eq: unary operator expected
./configure: line 22784: [: -eq: unary operator expected
configure: Samba's struct idmap_domain does not have dom_sid member
./configure: line 22795: [: -gt: unary operator expected
./configure: line 22796: [: -eq: unary operator expected
configure: Samba supports old ndr_pull_steal_switch_value and ndr_pull_steal_switch_value functions

Do You have samba-devel installed?
What's your version of autoconf?

@kloczek
Copy link
Contributor Author

kloczek commented Mar 31, 2021

Of course I have buit looks like somethiong is concatenation -I and /usr/include/samba-4.0 ..

@kloczek
Copy link
Contributor Author

kloczek commented Mar 31, 2021

BTW why not use pkgconfig for samba detection?

[tkloczko@barrel SPECS]$ rpm -ql samba-devel | grep pkg
/usr/lib64/pkgconfig/dcerpc.pc
/usr/lib64/pkgconfig/dcerpc_samr.pc
/usr/lib64/pkgconfig/dcerpc_server.pc
/usr/lib64/pkgconfig/ndr.pc
/usr/lib64/pkgconfig/ndr_krb5pac.pc
/usr/lib64/pkgconfig/ndr_nbt.pc
/usr/lib64/pkgconfig/ndr_standard.pc
/usr/lib64/pkgconfig/netapi.pc
/usr/lib64/pkgconfig/samba-credentials.pc
/usr/lib64/pkgconfig/samba-hostconfig.pc
/usr/lib64/pkgconfig/samba-util.pc
/usr/lib64/pkgconfig/samdb.pc

@kloczek
Copy link
Contributor Author

kloczek commented Mar 31, 2021

Just found src/external/samba.m4 so looks like already pkgconfig is used but for some reasons not to detect samba version (?) .. hm.

@alexey-tikhonov
Copy link
Member

What's your version of autoconf?

@alexey-tikhonov
Copy link
Member

BTW why not use pkgconfig for samba detection?

On my system output is weird:

$ pkg-config --modversion samba-util
0.0.1

@kloczek
Copy link
Contributor Author

kloczek commented Mar 31, 2021

I'm usimg autoconf 2.71.

@alexey-tikhonov
Copy link
Member

I'm usimg autoconf 2.71.

Hi @ikerexxe, did you see something similar while working on https://bugzilla.redhat.com/show_bug.cgi?id=1943130 ?

@joakim-tjernlund
Copy link
Contributor

Simailar configure errors as in #5502
Using autoconf 2.69

@ikerexxe
Copy link
Contributor

ikerexxe commented Apr 6, 2021

I'm usimg autoconf 2.71.

Hi @ikerexxe, did you see something similar while working on https://bugzilla.redhat.com/show_bug.cgi?id=1943130 ?

Yes. Once I included the changes from #5495 in the mock build, the configuration errors from #5336 disappear and the ones related with ndr_pull_steal_switch_value() appear. I didn't have enough time before the holidays to check the new errors properly though.

@ikerexxe
Copy link
Contributor

ikerexxe commented Apr 6, 2021

Are you using some special environment, like chroot, to build sssd?
I think you may have done this, but can you check if the /usr/include/samba-4.0/samba/version.h exists? If it doesn't exist can you check where has it been installed?

@kloczek
Copy link
Contributor Author

kloczek commented Apr 6, 2021

[tkloczko@barrel SRPMS]$ rpm -qf /usr/include/samba-4.0/samba/version.h
samba-devel-4.13.4-2.g2v.x86_64

@ikerexxe
Copy link
Contributor

ikerexxe commented Apr 7, 2021

Which distribution and version are you using?

@kloczek
Copy link
Contributor Author

kloczek commented Apr 7, 2021

My own :)
It doesn't matter which distribution I'm using.
In this case it is the issue with sssd which is nod ac +2.70 complinat.

@ikerexxe ikerexxe changed the title 2.4.2: build against samba 4.13.4 fails ssssd-2.4.2: build against autoconf 2.71 fails Apr 7, 2021
ikerexxe added a commit to ikerexxe/sssd that referenced this issue Apr 7, 2021
sssd build with an autoconf version greater than 2.70 fails because CPP
macro is empty. This change fixes this problem by setting the macro with
AC_PROG_CPP at the beginning of the configuration.

Resolves: SSSD#5563
@ikerexxe
Copy link
Contributor

ikerexxe commented Apr 7, 2021

I think that I solved the problem in PR5573, at least that's my case. Can you check if it works for you too?

@alexey-tikhonov alexey-tikhonov changed the title ssssd-2.4.2: build against autoconf 2.71 fails sssd-2.4.2: build using autoconf 2.71 fails Apr 7, 2021
@kloczek
Copy link
Contributor Author

kloczek commented Apr 7, 2021

#5573 works for me.

Feel free to cloese that ticket.
Thx.

@pbrezina
Copy link
Member

pbrezina commented Apr 8, 2021

Pushed PR: #5573

  • master
    • 49010b1 - configure: set CPP macro with AC_PROG_CPP

@pbrezina pbrezina added the Closed: Fixed Issue was closed as fixed. label Apr 8, 2021
akuster pushed a commit to akuster/sssd that referenced this issue May 18, 2021
sssd build with an autoconf version greater than 2.70 fails because CPP
macro is empty. This change fixes this problem by setting the macro with
AC_PROG_CPP at the beginning of the configuration.

Resolves: SSSD#5563

Reviewed-by: Sumit Bose <sbose@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants