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

Victor Toso victortoso at redhat.com
Wed May 9 16:27:10 UTC 2018


Hey,

On Wed, May 09, 2018 at 05:12:07PM +0100, Frediano Ziglio wrote:
> 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

I believe the builddep spice-gtk command should have installed it
but not a issue in installing it ourselves.

Acked-by: Victor Toso <victortoso at redhat.com>

>
> -- 
> 2.17.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180509/fbe4de2c/attachment.sig>


More information about the Spice-devel mailing list