Skip to contentSkip to conversation

krb5: fix packaging with ldap PACKAGECONFIG

PATCH New Gyorgy Sarvari 1 participant 1 message Sep 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 krb5: fix packaging with ldap PACKAGECONFIG

In case ldap PACKAGECONFIG is enabled, poackaging fails with the following error:

ERROR: krb5-1.17.2-r0 do_package: QA Issue: krb5: Files/directories were installed but not shipped in any package:
/usr/lib/libkdb_ldap.so.1.0
/usr/lib/libkdb_ldap.so.1

Fix it by adding the file to the krb5-kdc-ldap package (the same that Debian also uses to ship this file).

---
 meta-oe/recipes-connectivity/krb5/krb5_1.17.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/krb5/krb5_1.17.2.bb +2 -1
index 99ba9eaa9c..d889855649 100644
@@ -163,7 +163,8 @@ FILES:${PN}-kdc = "${libdir}/krb5/plugins/kdb/db2.so \
 
 FILES:${PN}-kdc-ldap = "${libdir}/krb5/libkdb_ldap${SOLIBS} \
                         ${libdir}/krb5/plugins/kdb/kldap.so \
-                        ${sbindir}/kdb5_ldap_util"
+                        ${sbindir}/kdb5_ldap_util \
+                        ${libdir}/libkdb_ldap${SOLIBS}"
 
 FILES:${PN}-kpropd = "${sbindir}/kpropd"
 FILES:${PN}-otp = "${libdir}/krb5/plugins/preauth/otp.so"