Hi

On 2/19/21 5:34 PM, Khem Raj wrote:
On Fri, Feb 19, 2021 at 12:52 AM Christian B. Sørensen
<[email protected]> wrote:
Problem:
QA Issue: non -staticdev package contains static .a library

Reason:
Both /usr/lib/python3.8/site-packages/gpiod.a and
/usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python.

Signed-off-by: Christian Bräuner Sørensen <[email protected]>
---
  meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb 
b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
index aec50e7e6..ab9639fc2 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb
@@ -27,7 +27,8 @@ PACKAGES =+ "${PN}-tools libgpiodcxx"
  FILES_${PN}-tools = "${bindir}/*"
  FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"

-PACKAGES =+ "${PN}-python"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+PACKAGES =+ "${PN}-python ${PN}-python-staticdev"
why not put .a  file in ${PN}-staticdev

I was a bit unsure of whether to put it in PN-staticdev or in a specific python staticdev package, after looking ingo having a look a look into meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb which has a specific PYTHON_PN-staticdev package.

I'll create a new patch v2 with it being inserted into PN-staticdev

+FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
+FILES_${PN}-python-staticdev = "${PYTHON_SITEPACKAGES_DIR}/*.a"
  RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', 
'${PN}-python', '',d)}"
  RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
--
2.25.1







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

Reply via email to