Hi, In order to be able to build sssd for multilib, libunistring needs to be build for multilib too. Otherwise i would get following build error: 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... 4 checking size of ssize_t... 4 checking for intptr_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes 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 configure: WARNING: Cannot build PAC responder without Samba checking for sigprocmask... yes checking for sigblock... yes checking for sigaction... yes checking for getpgrp... yes checking for prctl... yes checking for struct PAC_LOGON_INFO.resource_groups... no checking for SASL... yes checking for ns_name_compress in -lresolv... yes checking for fakeroot... no checking for unistr.h... yes checking for u8_strlen in -lunistring... no configure: error: No usable libunistring library found !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-auth/sssd-2.6.0-r2/work/sssd-2.6.0-abi_x86_32.x86/config.log * ERROR: sys-auth/sssd-2.6.0-r2::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 4379: Called multilib-minimal_src_configure * environment, line 3059: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 3309: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 3014: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 3012: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 630: Called multilib-minimal_abi_src_configure * environment, line 3053: Called multilib_src_configure * environment, line 3549: Called econf '--localstatedir=/var' '--runstatedir=/run' '--with-pid-path=/run' '--with-plugin-path=/usr/lib/sssd' '--enable-pammoddir=//lib/security' '--with-ldb-lib-dir=/usr/lib/samba/ldb' '--with-db-path=/var/lib/sss/db' '--with-gpo-cache-path=/var/lib/sss/gpo_cache' '--with-pubconf-path=/var/lib/sss/pubconf' '--with-pipe-path=/var/lib/sss/pipes' '--with-mcache-path=/var/lib/sss/mc' '--with-secrets-db-path=/var/lib/sss/secrets' '--with-log-path=/var/log/sssd' '--with-os=gentoo' '--disable-rpath' '--disable-static' '--sbindir=/usr/sbin' '--without-kcm' '--without-samba' '--with-smb-idmap-interface-version=6' '--disable-cifs-idmap-plugin' '--without-selinux' '--without-semanage' '--disable-krb5-locator-plugin' '--disable-pac-responder' '--without-nfsv4-idmapd-plugin' '--enable-nls' '--without-libnl' '--without-manpages' '--without-sudo' '--without-autofs' '--without-ssh' '--disable-systemtap' '--disable-valgrind' '--without-python2-bindings' '--without-python3-bindings' '--with-initscript=sysv' 'POPT_CFLAGS= ' 'POPT_LIBS= ' 'TALLOC_CFLAGS= ' 'TALLOC_LIBS= ' 'TDB_CFLAGS= ' 'TDB_LIBS= ' 'TEVENT_CFLAGS= ' 'TEVENT_LIBS= ' 'LDB_CFLAGS= ' 'LDB_LIBS= ' 'DHASH_CFLAGS= ' 'DHASH_LIBS= ' 'COLLECTION_CFLAGS= ' 'COLLECTION_LIBS= ' 'INI_CONFIG_V0_CFLAGS= ' 'INI_CONFIG_V0_LIBS= ' 'INI_CONFIG_V1_CFLAGS= ' 'INI_CONFIG_V1_LIBS= ' 'INI_CONFIG_V1_1_CFLAGS= ' 'INI_CONFIG_V1_1_LIBS= ' 'INI_CONFIG_V1_3_CFLAGS= ' 'INI_CONFIG_V1_3_LIBS= ' 'PCRE_CFLAGS= ' 'PCRE_LIBS= ' 'CARES_CFLAGS= ' 'CARES_LIBS= ' 'SYSTEMD_LOGIN_CFLAGS= ' 'SYSTEMD_LOGIN_LIBS= ' 'SASL_CFLAGS= ' 'SASL_LIBS= ' 'GLIB2_CFLAGS= ' 'GLIB2_LIBS= ' 'DBUS_CFLAGS= ' 'DBUS_LIBS= ' 'CRYPTO_CFLAGS= ' 'CRYPTO_LIBS= ' 'P11_KIT_CFLAGS= ' 'P11_KIT_LIBS= ' 'NDR_NBT_CFLAGS= ' 'NDR_NBT_LIBS= ' 'SMBCLIENT_CFLAGS= ' 'SMBCLIENT_LIBS= ' 'NDR_KRB5PAC_CFLAGS= ' 'NDR_KRB5PAC_LIBS= ' 'DBUS_CFLAGS=-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ' 'ac_cv_lib_ldap_ldap_search=yes' '--without-kcm' * phase-helpers.sh, line 730: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sys-auth/sssd-2.6.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/sssd-2.6.0-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-auth/sssd-2.6.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/sssd-2.6.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/sssd-2.6.0-r2/work/sssd-2.6.0-abi_x86_32.x86' * S: '/var/tmp/portage/sys-auth/sssd-2.6.0-r2/work/sssd-2.6.0'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e446ceef146a87ec68f2629ea69674a8393dc43 commit 1e446ceef146a87ec68f2629ea69674a8393dc43 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2023-09-06 08:29:13 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-09-06 08:29:13 +0000 sys-auth/sssd: add 2.9.1 Closes: https://bugs.gentoo.org/499578 Closes: https://bugs.gentoo.org/542324 Closes: https://bugs.gentoo.org/592402 Closes: https://bugs.gentoo.org/640760 Closes: https://bugs.gentoo.org/752978 Closes: https://bugs.gentoo.org/878177 Closes: https://bugs.gentoo.org/880097 Closes: https://bugs.gentoo.org/904280 Closes: https://bugs.gentoo.org/906292 Closes: https://github.com/gentoo/gentoo/pull/32466 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> sys-auth/sssd/Manifest | 1 + .../sssd/files/sssd-2.8.2-krb5_pw_locked.patch | 12 + ...ept-krb5-1.21-for-building-the-PAC-plugin.patch | 31 ++ ...9.1-certmap-fix-partial-string-comparison.patch | 87 ++++++ .../sssd-2.9.1-conditional-python-install.patch | 19 ++ ...-cert-show-and-cert-eval-rule-as-non-root.patch | 39 +++ sys-auth/sssd/metadata.xml | 10 + sys-auth/sssd/sssd-2.9.1.ebuild | 330 +++++++++++++++++++++ 8 files changed, 529 insertions(+)