Bug 101682

Summary: spice-jhbuild and archlinux
Product: Spice Reporter: Thiago Mendes <thiago>
Component: spice-gtkAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: trivial    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The lines I used on my jhbuildrc

Description Thiago Mendes 2017-07-03 23:11:06 UTC
ArchLinux comes with python3 as default and jhbuild fails on compiling libxml2 and qemu using it.

To fix this issue it is necessarie to add a few lines to the jhbuildrc telling it to use the python2 instead of the default python3.
Comment 1 Thiago Mendes 2017-07-03 23:13:14 UTC
libxml2 and qemu will need Python2 and ArchLinux comes with Python3.                                             
To solve this we will need to edit our jhbuild configuration file located                                        
t $HOME/.config/jhbuildrc.                                                                                      
All we need to do is add the next 2 lines to our configuration file:                                            

------------------------------------------------------------------                                              
module_autogenargs['qemu', 'libxml2' ] = 'PYTHON=/usr/bin/python2'                                              
os.environ['PYTHON'] = '/usr/bin/python2'                                                                       ------------------------------------------------------------------
Comment 2 Thiago Mendes 2017-07-03 23:26:37 UTC
Created attachment 132419 [details] [review]
The lines I used on my jhbuildrc

The lines I used on my jhbuildrc to fix the issue with archlinux and spice-jhbuild
Comment 3 GitLab Migration User 2018-06-03 10:21:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/25.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.