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.
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' ------------------------------------------------------------------
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
-- 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.