Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [ openssl-libs                     x86_64 1:3.1.4-1.fc40             fedora       7.8 Mi]: [This line indicate that openssl 3.1.4 is used.]
=============
[
libtool: compile:  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 -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DRUNDIR=\"/run\" -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_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_certmap_la-cert\" -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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c src/util/cert/libcrypto/cert.c  -fPIC -DPIC -o src/util/cert/libcrypto/.libs/libsss_certmap_la-cert.o
src/util/cert/libcrypto/cert.c: In function 'ec_pub_key_to_ssh':
src/util/cert/libcrypto/cert.c:196:5: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  196 |     ec_key = EVP_PKEY_get1_EC_KEY(cert_pub_key);
      |     ^~~~~~
In file included from /usr/include/openssl/x509.h:29,
                 from src/util/cert/libcrypto/cert.c:20:
/usr/include/openssl/evp.h:1390:19: note: declared here
 1390 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
src/util/cert/libcrypto/cert.c:202:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  202 |     ec_group = EC_KEY_get0_group(ec_key);
      |     ^~~~~~~~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
src/util/cert/libcrypto/cert.c:227:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  227 |     ec_public_key = EC_KEY_get0_public_key(ec_key);
      |     ^~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
src/util/cert/libcrypto/cert.c:282:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  282 |     EC_KEY_free(ec_key);
      |     ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
src/util/cert/libcrypto/cert.c: In function 'rsa_pub_key_to_ssh':
src/util/cert/libcrypto/cert.c:307:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  307 |     rsa_pub_key = EVP_PKEY_get0_RSA(cert_pub_key);
      |     ^~~~~~~~~~~
/usr/include/openssl/evp.h:1362:22: note: declared here
 1362 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
src/util/cert/libcrypto/cert.c:313:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  313 |     RSA_get0_key(rsa_pub_key, &n, &e, NULL);
      |     ^~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36:
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~]: [The build process for the SSSD package is failing due to the use of deprecated functions from the OpenSSL library. The warnings indicate that several functions (EVP_PKEY_get1_EC_KEY, EC_KEY_get0_group, EC_KEY_get0_public_key, EC_KEY_free, EVP_PKEY_get0_RSA, RSA_get0_key) are deprecated as of OpenSSL 3.0.

To resolve this issue, you should update the source code of SSSD to use the new functions provided by OpenSSL 3.0 or later. The deprecated functions are related to handling EC (Elliptic Curve) and RSA keys. You should replace them with the appropriate non-deprecated functions. But this is merely warning and it is not a reason for build failure.]
=============
[
libtool: compile:  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 -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DRUNDIR=\"/run\" -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_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=\"pam_sss\" -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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c src/sss_client/pam_sss.c  -fPIC -DPIC -o src/sss_client/.libs/pam_sss.o
In file included from src/sss_client/pam_sss.c:41:
/usr/include/gdm/gdm-pam-extensions.h:24:10: fatal error: gdm-choice-list-pam-extension.h: No such file or directory
   24 | #include "gdm-choice-list-pam-extension.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated]: [This is the reason for failure. It is due to a missing header file: `gdm-choice-list-pam-extension.h`. This file is expected to be part of the GDM (GNOME Display Manager) development package but is not found in the standard include directories.]


Answer: Issue: You are missing the required header file `gdm-choice-list-pam-extension.h`. The file is likely provided by package `gdm-devel`.
Resolution: You need to add:
BuildRequires: gdm-devel
to your SPEC file.
To be sure you can run command: `dnf provides '*/gdm-choice-list-pam-extension.h'` to find which package contains the required file.