Skip to contentSkip to conversation

hwlatdetect: fix RDEPENDS to avoid QA failures

PATCH In review Alejandro Hernandez 3 participants 4 messages Aug 21, 2017 – Sep 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwlatdetect: fix RDEPENDS to avoid QA failures

When listing python3 as an RDEPENDS, the image will in fact contain python3-modules, but the QA check fails to get RPROVIDERS correctly (since the python3 package does not actually exist), /usr/bin/python3 is provided by the python3-core package, so by fixing the RDEPENDS and listing python3-creo instead of python3, the QA check works correctly and we avoid failures

---
 meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb +1 -1
index 60b44a4d258..5f61c4ecddc 100644
@@ -22,5 +22,5 @@ do_install() {
 }
 
 FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py"
-RDEPENDS_${PN} = "python3 "
+RDEPENDS_${PN} = "python3-core "
 RRECOMMENDS_${PN} = "kernel-module-hwlat-detector"
Signature · 1 line
2.12.3
#1 lore raw

✗ patchtest: failure for hwlatdetect: fix RDEPENDS to avoid QA failures

== Series Details ==

Series: hwlatdetect: fix RDEPENDS to avoid QA failures
Revision: 1
URL : https://patchwork.openembedded.org/series/8407/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 5c9ef0734d)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
#2 lore raw
In reply to Alejandro Hernandez

This doesn't apply to master, do you have some local Python patches?

Ross

Quoted 35 lines · Alejandro Hernandez

When listing python3 as an RDEPENDS, the image will in fact contain python3-modules, but the QA check fails to get RPROVIDERS correctly (since the python3 package does not actually exist), /usr/bin/python3 is provided by the python3-core package, so by fixing the RDEPENDS and listing python3-creo instead of python3, the QA check works correctly and we avoid failures

---
 meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb +0 -0
index 60b44a4d258..5f61c4ecddc 100644
@@ -22,5 +22,5 @@ do_install() {
 }
 
 FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/

hwlatdetect.py"

meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb +1 -2
-RDEPENDS_${PN} = "python3 "
+RDEPENDS_${PN} = "python3-core "
 RRECOMMENDS_${PN} = "kernel-module-hwlat-detector"
--

2.12.3

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

Yes, this was applied on top of master-next when the python manifest patches were there, Richard decided to delay those for 2.5 M1

Alejandro

Quoted 51 lines · Ross

This doesn't apply to master, do you have some local Python patches?

Ross

On 21 August 2017 at 23:11, Alejandro Hernandez <[email protected] <mailto:[email protected]>> wrote:

    When listing python3 as an RDEPENDS, the image will in fact
    contain python3-modules, but the QA check fails to get
    RPROVIDERS correctly (since the python3 package does not
    actually exist), /usr/bin/python3 is provided by the
    python3-core package, so by fixing the RDEPENDS and listing
    python3-creo instead of python3, the QA check works correctly
    and we avoid failures

    Signed-off-by: Alejandro Hernandez
    <[email protected]
    <mailto:[email protected]>>
    ---
     meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb
    <http://hwlatdetect_1.1.bb> | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb
    <http://hwlatdetect_1.1.bb>
    b/meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb
    <http://hwlatdetect_1.1.bb>
    index 60b44a4d258..5f61c4ecddc 100644
    --- a/meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb
    <http://hwlatdetect_1.1.bb>
    +++ b/meta/recipes-rt/rt-tests/hwlatdetect_1.1.bb
    <http://hwlatdetect_1.1.bb>
    @@ -22,5 +22,5 @@ do_install() {
     }

     FILES_${PN} +=
    "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py"
    -RDEPENDS_${PN} = "python3 "
    +RDEPENDS_${PN} = "python3-core "
     RRECOMMENDS_${PN} = "kernel-module-hwlat-detector"
    --
    2.12.3

    --
    _______________________________________________
    Openembedded-core mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
    <http://lists.openembedded.org/mailman/listinfo/openembedded-core>