Skip to contentSkip to conversation

dstat: Add missing python-six runtime dependency

PATCH In review Marek Vasut 2 participants 3 messages Sep 20, 2021 – Sep 21, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dstat: Add missing python-six runtime dependency

The tool depends on the six module, add it, otherwise the following traceback happens when running it on the target:

Traceback (most recent call last):
File "/usr/bin/dstat", line 32, in <module>
import six
ModuleNotFoundError: No module named 'six'

Cc Khem Raj <[email protected]>
Cc Martin Jansa <[email protected]>
---
 meta-oe/recipes-support/dstat/dstat_0.7.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/dstat/dstat_0.7.4.bb +1 -1
index 74af54ca5..0e314b8ee 100644
@@ -21,4 +21,4 @@ do_install() {
     oe_runmake 'DESTDIR=${D}' install
 }
 
-RDEPENDS_${PN} += "python3-core python3-misc python3-resource python3-shell python3-unixadmin"
+RDEPENDS_${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin"
Signature · 1 line
2.33.0
#1 lore raw

Merek,

Quoted 7 lines · Marek Vasut

The tool depends on the six module, add it, otherwise the following traceback happens when running it on the target:

Traceback (most recent call last):
File "/usr/bin/dstat", line 32, in <module>
import six
ModuleNotFoundError: No module named 'six'

Thanks for the fix. I will backport to hardknott once in Master before Dunfell can take it.

-armin

Quoted 18 lines
Cc Khem Raj <[email protected]>
Cc Martin Jansa <[email protected]>
---
 meta-oe/recipes-support/dstat/dstat_0.7.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/dstat/dstat_0.7.4.bb +1 -1
index 74af54ca5..0e314b8ee 100644
@@ -21,4 +21,4 @@ do_install() {
     oe_runmake 'DESTDIR=${D}' install
 }
 
-RDEPENDS_${PN} += "python3-core python3-misc python3-resource python3-shell python3-unixadmin"
+RDEPENDS_${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin"
#2 lore raw
Quoted 7 lines · On 9/21/21 12:42 AM, akuster808 wrote:

Merek,

Quoted 3 lines · Marek Vasut

The tool depends on the six module, add it, otherwise the following traceback happens when running it on the target:

Quoted 6 lines
Quoted 4 lines

Traceback (most recent call last):

   File "/usr/bin/dstat", line 32, in <module>
     import six

ModuleNotFoundError: No module named 'six'

Thanks for the fix. I will backport to hardknott once in Master before Dunfell can take it.

Thanks

Does anyone still care about gatesgarth as well ?