Bug 101682 - spice-jhbuild and archlinux
Summary: spice-jhbuild and archlinux
Status: RESOLVED MOVED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium trivial
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-03 23:11 UTC by Thiago Mendes
Modified: 2018-06-03 10:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The lines I used on my jhbuildrc (1000 bytes, patch)
2017-07-03 23:26 UTC, Thiago Mendes
Details | Splinter Review

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.