Skip to contentSkip to conversation

libtalloc: fix pytalloc package ordering

PATCH Superseded [email protected] 2 participants 3 messages Nov 9, 2025 – Nov 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtalloc: fix pytalloc package ordering

From: Moraless Philius <[email protected]>

The libtalloc recipe did not properly populate the pytalloc package because pytalloc was listed after the main libtalloc package in the PACKAGES variable. As a result, the pytalloc package contained only talloc.so and was missing other required files.

---
 .../recipes-support/libtalloc/libtalloc_2.4.2.bb       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb +6 -4
index b617f097cf..177872fd60 100644
@@ -49,13 +49,15 @@ do_install_ptest() {
     install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/
 }
 
-PACKAGES += "pytalloc pytalloc-dev"
+PACKAGES =+ "pytalloc pytalloc-dev"
 
 RPROVIDES:${PN}-dbg += "pytalloc-dbg"
 
 FILES:pytalloc = "${PYTHON_SITEPACKAGES_DIR}/* \
-                  ${libdir}/libpytalloc-util.so.2 \
-                  ${libdir}/libpytalloc-util.so.2.1.1 \
+                  ${libdir}/libpytalloc-util.so.* \
                  "
-FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so"
+FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so \
+                      ${includedir}/pytalloc.h \
+                      ${libdir}/pkgconfig/pytalloc.pc \
+                     "
 RDEPENDS:pytalloc = "python3"
Signature · 1 line
2.43.0
#1 lore raw

please rebase it on master-next and resend

Quoted 52 lines · On Sun, Nov 9, 2025 at 11:22 AM moraless.philius5 via lists.openembedded.org…

From: Moraless Philius <[email protected]>

The libtalloc recipe did not properly populate the pytalloc package because pytalloc was listed after the main libtalloc package in the PACKAGES variable. As a result, the pytalloc package contained only talloc.so and was missing other required files.

---
 .../recipes-support/libtalloc/libtalloc_2.4.2.bb       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
meta-networking/recipes-support/libtalloc/libtalloc_2.4.2.bb +6 -5
index b617f097cf..177872fd60 100644
@@ -49,13 +49,15 @@ do_install_ptest() {
     install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/
 }
 
-PACKAGES += "pytalloc pytalloc-dev"
+PACKAGES =+ "pytalloc pytalloc-dev"
 
 RPROVIDES:${PN}-dbg += "pytalloc-dbg"
 
 FILES:pytalloc = "${PYTHON_SITEPACKAGES_DIR}/* \
-                  ${libdir}/libpytalloc-util.so.2 \
-                  ${libdir}/libpytalloc-util.so.2.1.1 \
+                  ${libdir}/libpytalloc-util.so.* \
                  "
-FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so"
+FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so \
+                      ${includedir}/pytalloc.h \
+                      ${libdir}/pkgconfig/pytalloc.pc \
+                     "
 RDEPENDS:pytalloc = "python3"
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#121445):
https://lists.openembedded.org/g/openembedded-devel/message/121445
Mute This Topic: https://lists.openembedded.org/mt/116207686/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

PATCH v2 1/1 libtalloc: fix pytalloc package ordering

In reply to [email protected]

From: Moraless Philius <[email protected]>

The libtalloc recipe did not properly populate the pytalloc package because pytalloc was listed after the main libtalloc package in the PACKAGES variable. As a result, the pytalloc package contained only talloc.so and was missing other required files.

---
 .../recipes-support/libtalloc/libtalloc_2.4.3.bb       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
meta-networking/recipes-support/libtalloc/libtalloc_2.4.3.bb +6 -4
index ff36a61d15..254d94064f 100644
@@ -49,13 +49,15 @@ do_install_ptest() {
     install -m 0755 ${B}/bin/*_testsuite ${D}${PTEST_PATH}/tests/
 }
 
-PACKAGES += "pytalloc pytalloc-dev"
+PACKAGES =+ "pytalloc pytalloc-dev"
 
 RPROVIDES:${PN}-dbg += "pytalloc-dbg"
 
 FILES:pytalloc = "${PYTHON_SITEPACKAGES_DIR}/* \
-                  ${libdir}/libpytalloc-util.so.2 \
-                  ${libdir}/libpytalloc-util.so.2.1.1 \
+                  ${libdir}/libpytalloc-util.so.* \
                  "
-FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so"
+FILES:pytalloc-dev = "${libdir}/libpytalloc-util.so \
+                      ${includedir}/pytalloc.h \
+                      ${libdir}/pkgconfig/pytalloc.pc \
+                     "
 RDEPENDS:pytalloc = "python3"
Signature · 1 line
2.43.0