Bug 50065 - freeipa-4.11.1-alt2 не собирается с новой samba-4.20
Summary: freeipa-4.11.1-alt2 не собирается с новой samba-4.20
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: freeipa (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Stanislav Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 17:39 MSK by Evgeny Sinelnikov
Modified: 2024-05-03 23:28 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2024-04-17 17:39:44 MSK
В новой samba-4.20 изменения в именах библиотек.

FreeIPA версии 4.11.1 перестала собираться:
https://git.altlinux.org/tasks/342425/

2024-Apr-16 18:11:46 :: [x86_64] #1700 freeipa.git 4.11.1-alt2: build start
2024-Apr-16 18:12:18 :: [i586] #1500 admc.git 0.16.1-alt1: build OK
2024-Apr-16 18:12:18 :: [i586] #1600 gpui.git 0.2.44-alt1: build start
[x86_64] libtool: link: x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D__STDC_WANT_LIB_EXT1__=1 -D_DEFAULT_SOURCE=1 -D_POSIX_C_SOURCE=200809L -Werror=implicit-function-declaration -Wl,-rpath=/usr/lib64/samba -o ipa_kdb_tests tests/ipa_kdb_tests-ipa_kdb_tests.o ipa_kdb_tests-ipa_kdb.o ipa_kdb_tests-ipa_kdb_common.o ipa_kdb_tests-ipa_kdb_mkey.o ipa_kdb_tests-ipa_kdb_passwords.o ipa_kdb_tests-ipa_kdb_principals.o ipa_kdb_tests-ipa_kdb_pwdpolicy.o ipa_kdb_tests-ipa_kdb_mspac.o ipa_kdb_tests-ipa_kdb_delegation.o ipa_kdb_tests-ipa_kdb_audit_as.o ipa_kdb_tests-ipa_kdb_mspac_v9.o ipa_kdb_tests-ipa_kdb_certauth.o ipa_kdb_tests-ipa_kdb_kdcpolicy.o  -L/usr/lib64/samba -lcmocka -lndr-krb5pac -lndr-standard -lndr -lsamba-util -ltevent -ltalloc -lunistring -lsss_certmap ../../util/.libs/libutil.a -lcrypto -lkrb5 -lk5crypto -lcom_err -llber -lldap -lkdb5 -lsss_idmap -lsamba-security-samba4 -lsamba-errors
[x86_64] ld: cannot find -lsamba-security-samba4: No such file or directory
[x86_64] collect2: error: ld returned 1 exit status
[x86_64] make[3]: *** [Makefile:979: ipa_kdb_tests] Error 1
Comment 1 Evgeny Sinelnikov 2024-04-17 17:47:55 MSK
Исправления доступны в апстриме:

From: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue, 30 Jan 2024 19:58:05 +0200
Subject: [PATCH] ipa-kdb: support Samba 4.20 private libraries

Samba 4.20 will change name extension of the private libraries from
'samba4' to 'private-samba'. Detect private extension through configure
step and make sure to use the right library name in Makefile.
Comment 2 Repository Robot 2024-05-03 23:28:59 MSK
freeipa-4.11.1-alt3 -> sisyphus:

 Wed Apr 17 2024 Evgeny Sinelnikov <sin@altlinux> 4.11.1-alt3
 - Fixed compatibility with Samba 4.20 (closes: #50065).