Skip to contentSkip to conversation

Python problem

Qemu-devel Programmingkid 3 participants 5 messages Sep 13, 2015

lore
Share & tools
lore
#0 lore raw

After a 'git pull' on 9/12/2015, I noticed that QEMU no longer builds on Mac OS 10.6. I think there is a problem with a python script. This is the error message:

GEN qmp-commands.h
Traceback (most recent call last):
File "/scripts/qapi-commands.py", line 352, in <module>
ret = gen_marshal_input(cmd['command'], arglist, ret_type, middle_mode) + "\n"

I'm using Python 2.6.1.

#1 lore raw
Quoted 8 lines · Programmingkid

After a 'git pull' on 9/12/2015, I noticed that QEMU no longer builds on Mac OS 10.6. I think there is a problem with a python script. This is the error message:

GEN qmp-commands.h
Traceback (most recent call last):
File "/scripts/qapi-commands.py", line 352, in <module>
ret = gen_marshal_input(cmd['command'], arglist, ret_type, middle_mode) + "\n"

I'm using Python 2.6.1.

This issue has been reported multiple times:

https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg02329.html

and the patch will hit the tree soon.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
Quoted 8 lines · Eric Blake
Quoted 7 lines · Programmingkid

After a 'git pull' on 9/12/2015, I noticed that QEMU no longer builds on Mac OS 10.6. I think there is a problem with a python script. This is the error message:

GEN qmp-commands.h
Traceback (most recent call last):
File "/scripts/qapi-commands.py", line 352, in <module>
ret = gen_marshal_input(cmd['command'], arglist, ret_type, middle_mode) + "\n"

Quoted 12 lines
Quoted 1 line

I'm using Python 2.6.1.

This issue has been reported multiple times:

https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg02329.html

and the patch will hit the tree soon.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Excellent. This fixed the problem. Thank you very much. The minimum version of python QEMU supports is 2.6?

#3 lore raw
Quoted 2 lines · Programmingkid

Excellent. This fixed the problem. Thank you very much. The minimum version of python QEMU supports is 2.6?

At the moment it should be 2.4, apart from this bug. However we're about to raise it to 2.6 (and there's a patch on the list that updates the version check in configure). We were only retaining Python 2.4 support for the benefit of RHEL5, and we stopped supporting RHEL5 in QEMU 2.5 when we raised our minimum glib version requirement.

thanks
-- PMM

#4 lore raw
Quoted 4 lines · Peter Maydell
Quoted 2 lines · Programmingkid

Excellent. This fixed the problem. Thank you very much. The minimum version of python QEMU supports is 2.6?

Quoted 8 lines

At the moment it should be 2.4, apart from this bug. However we're about to raise it to 2.6 (and there's a patch on the list that updates the version check in configure). We were only retaining Python 2.4 support for the benefit of RHEL5, and we stopped supporting RHEL5 in QEMU 2.5 when we raised our minimum glib version requirement.

thanks
-- PMM

This sounds like I need to add to the system requirements section of the documentation.

Python 2.6 or higher is needed. Any other system requirements you think should be added to QEMU's documentation.