Skip to contentSkip to conversation

bmap-tools: add missing runtime dependencies

PATCH In review Pascal Bach 3 participants 4 messages Oct 13, 2017 – Oct 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bmap-tools: add missing runtime dependencies

When running bmap on a target device the added dependncies are required.

---
 meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +11 -1
index 7454f9d..348c9e8 100644
@@ -14,7 +14,17 @@ SRCREV = "9dad724104df265442226972a1e310813f9ffcba"
 
 S = "${WORKDIR}/git"
 
-RDEPENDS_${PN} = "python-core python-compression python-mmap"
+RDEPENDS_${PN} = "\
+    python-core \
+    python-compression \
+    python-argparse \
+    python-shell \
+    python-fcntl \
+    python-threading \
+    python-xml \
+    python-subprocess \
+    python-mmap \
+    "
 
 inherit python3native
 inherit setuptools3
Signature · 1 line
2.1.4
#1 lore raw
Quoted 21 lines · Pascal Bach

When running bmap on a target device the added dependncies are required.

---
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 12 +++++++++++-

1 file changed, 11 insertions(+), 1 deletion(-)
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +0 -0
index 7454f9d..348c9e8 100644
@@ -14,7 +14,17 @@ SRCREV = "9dad724104df265442226972a1e310813f9ffcba"
 

S = "${WORKDIR}/git"

meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +1 -1
-RDEPENDS_${PN} = "python-core python-compression python-mmap"
+RDEPENDS_${PN} = "\

meta/recipes-support/bmap-tools/bmap-tools_3.4.bb SRCREV = "9dad724104df265442226972a1e310813f9ffcba"

Quoted 10 lines
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +10 -0
+    python-core \
+    python-compression \
+    python-argparse \
+    python-shell \
+    python-fcntl \
+    python-threading \
+    python-xml \
+    python-subprocess \
+    python-mmap \
+    “

These should all be the python3- version or ${PYTHON_PN}- (e.g. python3-core) should they not? Or is that an artifact of how the python module splitting is happening in oe-core?

Quoted 10 lines

inherit python3native
inherit setuptools3

Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#2 lore raw
Quoted 18 lines · Tim Orling
Quoted 18 lines · Pascal Bach

When running bmap on a target device the added dependncies are required.

---
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 12 +++++++++++-

1 file changed, 11 insertions(+), 1 deletion(-)
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +0 -0
index 7454f9d..348c9e8 100644
@@ -14,7 +14,17 @@ SRCREV = "9dad724104df265442226972a1e310813f9ffcba"
 

S = "${WORKDIR}/git"

Quoted 15 lines

meta/recipes-support/bmap-tools/bmap-tools_3.4.bb SRCREV = "9dad724104df265442226972a1e310813f9ffcba"

Quoted 13 lines
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +11 -1
-RDEPENDS_${PN} = "python-core python-compression python-mmap"
+RDEPENDS_${PN} = "\
+    python-core \
+    python-compression \
+    python-argparse \
+    python-shell \
+    python-fcntl \
+    python-threading \
+    python-xml \
+    python-subprocess \
+    python-mmap \
+    “

These should all be the python3- version or ${PYTHON_PN}- (e.g. python3-core) should they not? Or is that an artifact of how the python module splitting is happening in oe-core?

That is correct. This was forgotten when the recipe was moved to python3:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb?id=04ef46e2b2b753321408db02a2df3753b85ac0dd

Pascal, can you modify everything to python3-*, check that it still works, and resend the patch please?

Alex

#3 lore raw
Quoted 35 lines · Alexander Kanavin
Quoted 18 lines · Tim Orling
Quoted 18 lines · Pascal Bach

When running bmap on a target device the added dependncies are required.

---
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb | 12 +++++++++++-

1 file changed, 11 insertions(+), 1 deletion(-)
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +0 -0
index 7454f9d..348c9e8 100644
@@ -14,7 +14,17 @@ SRCREV = "9dad724104df265442226972a1e310813f9ffcba"
 

S = "${WORKDIR}/git"

Quoted 15 lines

meta/recipes-support/bmap-tools/bmap-tools_3.4.bb SRCREV = "9dad724104df265442226972a1e310813f9ffcba"

Quoted 13 lines
meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +11 -1
-RDEPENDS_${PN} = "python-core python-compression python-mmap"
+RDEPENDS_${PN} = "\
+    python-core \
+    python-compression \
+    python-argparse \
+    python-shell \
+    python-fcntl \
+    python-threading \
+    python-xml \
+    python-subprocess \
+    python-mmap \
+    “

These should all be the python3- version or ${PYTHON_PN}- (e.g. python3-core) should they not? Or is that an artifact of how the python module splitting is happening in oe-core?

Quoted 4 lines

That is correct. This was forgotten when the recipe was moved to python3:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb?id=04ef46e2b2b753321408db02a2df3753b85ac0dd

Pascal, can you modify everything to python3-*, check that it still works, and resend the patch please?

I will do that and send a new patch.