Skip to contentSkip to conversation

Fix build error

PATCH In review Lei Maohui 2 participants 10 messages May 21, 2018 – May 24, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

cover Fix build error

Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

Lei Maohui (8):
python-debtcollector Fix buid error as following:
python-keystone: Fix build error as following:
python-keystoneauth1: Fix build error as following:
python-positional: Fix build error as following:
python-oslo.concurrency: Fix build error as following:
python-cinderclient: Fix build error as following:
python-neutronclient: Fix build error as following:
python-novaclient: Fix build error as following:

 meta-openstack/recipes-devtools/python/python-cinderclient_git.bb  | 5 +++++
 .../recipes-devtools/python/python-debtcollector_1.17.1.bb         | 5 +++++
 meta-openstack/recipes-devtools/python/python-keystone_git.bb      | 5 +++++
 .../recipes-devtools/python/python-keystoneauth1_3.2.0.bb          | 5 +++++
 meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | 5 +++++
 meta-openstack/recipes-devtools/python/python-novaclient_git.bb    | 5 +++++
 .../recipes-devtools/python/python-oslo.concurrency_git.bb         | 5 +++++
 meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb  | 7 ++++++-
 8 files changed, 41 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/8 python-debtcollector Fix buid error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 .../recipes-devtools/python/python-debtcollector_1.17.1.bb           | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-debtcollector_1.17.1.bb +5 -0
index 8d74ace..52b1319 100644
@@ -14,6 +14,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 # RDEPENDS_default:
 RDEPENDS_${PN} += " \
         python-pbr \
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/8 python-keystone: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-keystone_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-keystone_git.bb +5 -0
index 118574b..b8b4fb0 100644
@@ -227,6 +227,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-babel \
         python-pbr \
Signature · 1 line
1.9.1
author
#3 lore raw

PATCH 3/8 python-keystoneauth1: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-keystoneauth1_3.2.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-keystoneauth1_3.2.0.bb +5 -0
index 9f545c1..6466056 100644
@@ -13,6 +13,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-iso8601 \
Signature · 1 line
1.9.1
author
#4 lore raw

PATCH 4/8 python-positional: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb +6 -1
index aee73f6..144b2cc 100644
@@ -11,6 +11,11 @@ inherit setuptools pypi
 
 CLEANBROKEN = "1"
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
     python-wrapt \
-"
\ No newline at end of file
+"
Signature · 1 line
1.9.1
author
#5 lore raw

PATCH 5/8 python-oslo.concurrency: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 .../recipes-devtools/python/python-oslo.concurrency_git.bb           | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-oslo.concurrency_git.bb +5 -0
index 16ebc89..fe095d0 100644
@@ -21,6 +21,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 # RDEPENDS_default: 
 RDEPENDS_${PN} += " \
         python-pbr \
Signature · 1 line
1.9.1
author
#6 lore raw

PATCH 6/8 python-cinderclient: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-cinderclient_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-cinderclient_git.bb +5 -0
index bf76e9d..e425237 100644
@@ -23,6 +23,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-prettytable \
Signature · 1 line
1.9.1
author
#7 lore raw

PATCH 7/8 python-neutronclient: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-neutronclient_git.bb +5 -0
index 5904e64..204f19b 100644
@@ -9,6 +9,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-cliff \
Signature · 1 line
1.9.1
author
#8 lore raw

PATCH 8/8 python-novaclient: Fix build error as following:

In reply to Lei Maohui

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

---
 meta-openstack/recipes-devtools/python/python-novaclient_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-openstack/recipes-devtools/python/python-novaclient_git.bb +5 -0
index dd89458..44f73fa 100644
@@ -20,6 +20,11 @@ DEPENDS += " \
         python-pbr \
         "
 
+# Satisfy setup.py 'setup_requires'
+DEPENDS += " \
+        python-pbr-native \
+        "
+
 RDEPENDS_${PN} += " \
         python-pbr \
         python-keystoneauth1 \
Signature · 1 line
1.9.1
#9 lore raw
In reply to Lei Maohui

merged.

Bruce

Quoted 44 lines · Lei Maohui

Fix build error as following:

"distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr>=2.0.0')"

Lei Maohui (8):
python-debtcollector Fix buid error as following:
python-keystone: Fix build error as following:
python-keystoneauth1: Fix build error as following:
python-positional: Fix build error as following:
python-oslo.concurrency: Fix build error as following:
python-cinderclient: Fix build error as following:
python-neutronclient: Fix build error as following:
python-novaclient: Fix build error as following:

 meta-openstack/recipes-devtools/python/python-cinderclient_git.bb  | 5
+++++
 .../recipes-devtools/python/python-debtcollector_1.17.1.bb         | 5
+++++
 meta-openstack/recipes-devtools/python/python-keystone_git.bb      | 5
+++++
 .../recipes-devtools/python/python-keystoneauth1_3.2.0.bb          | 5
+++++
 meta-openstack/recipes-devtools/python/python-neutronclient_git.bb | 5
+++++
 meta-openstack/recipes-devtools/python/python-novaclient_git.bb    | 5
+++++
 .../recipes-devtools/python/python-oslo.concurrency_git.bb         | 5
+++++
 meta-openstack/recipes-devtools/python/python-positional_1.1.1.bb  | 7
++++++-
 8 files changed, 41 insertions(+), 1 deletion(-)

--
1.9.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"