"[meta-oe][PATCH] libgpiod: packageqa problem => static python lib to ${PN}-python-staticdev
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.
--- meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +3 -2
@@ -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" +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}"
Signature · 1 line
2.25.1
Quoted 18 lines · Christian B. Sørensen
Problem:
QA Issue: non -staticdev package contains static .a libraryReason:
Both/usr/lib/python3.8/site-packages/gpiod.aand/usr/lib/python3.8/site-packages/gpiod.soare 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(-)meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +0
-0
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb PACKAGES =+ "${PN}-tools libgpiodcxx" · line 30
Quoted 6 lines
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +1
-2@@ -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
Quoted 10 lines
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +2
-1+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
Hi
Quoted 22 lines · Khem Raj
Quoted 20 lines · Christian B. Sørensen
Problem:
QA Issue: non -staticdev package contains static .a libraryReason:
Both/usr/lib/python3.8/site-packages/gpiod.aand/usr/lib/python3.8/site-packages/gpiod.soare 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(-)meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +0
-0@@ -27,7 +27,8 @@ PACKAGES =+ "${PN}-tools libgpiodcxx" FILES_${PN}-tools = "${bindir}/*" FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
Quoted 4 lines
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb PACKAGES =+ "${PN}-tools libgpiodcxx" · line 30
Quoted 3 lines
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +1
-2-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
Quoted 13 lines
Quoted 13 lines
meta-oe/recipes-support/libgpiod/libgpiod_1.4.5.bb +2
-1+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