[Spice-devel] [PATCH spice-gtk] ci: Install pyparsing correctly

Frediano Ziglio fziglio at redhat.com
Wed May 9 16:12:07 UTC 2018


Now that spice-gtk is in Gitlab CI is run but using Fedora 28 is
failing during configure phase with:

  checking for PROTOCOL... yes
  checking python3 module: six... yes
  checking python3 module: pyparsing... no
  checking python2 module: six... no
  checking python2 module: pyparsing... yes
  configure: error: Python modules six and pyparsing are required
  configure: error: ./configure failed for spice-common
  ERROR: Job failed: exit code 1

Install Python 3 packages needed.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77762f1..a34eb0e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,10 @@
 image: fedora:latest
 
 before_script:
-  - dnf install 'dnf-command(copr)' git libtool make pyparsing redhat-rpm-config -y
+  - >
+    dnf install 'dnf-command(copr)' git libtool make redhat-rpm-config
+    python3 python3-six python3-pyparsing
+    -y
   - dnf copr enable @spice/nightly -y
   - dnf builddep spice-gtk -y
 
-- 
2.17.0



More information about the Spice-devel mailing list