* [Qemu-devel] Python problem
@ 2015-09-13 1:57 Programmingkid
2015-09-13 2:04 ` Eric Blake
0 siblings, 1 reply; 5+ messages in thread
From: Programmingkid @ 2015-09-13 1:57 UTC (permalink / raw)
To: Peter Maydell, qemu-devel qemu-devel
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Python problem
2015-09-13 1:57 [Qemu-devel] Python problem Programmingkid
@ 2015-09-13 2:04 ` Eric Blake
2015-09-13 2:19 ` Programmingkid
0 siblings, 1 reply; 5+ messages in thread
From: Eric Blake @ 2015-09-13 2:04 UTC (permalink / raw)
To: Programmingkid, Peter Maydell, qemu-devel qemu-devel
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
On 09/12/2015 07:57 PM, Programmingkid wrote:
> 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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Python problem
2015-09-13 2:04 ` Eric Blake
@ 2015-09-13 2:19 ` Programmingkid
2015-09-13 11:28 ` Peter Maydell
0 siblings, 1 reply; 5+ messages in thread
From: Programmingkid @ 2015-09-13 2:19 UTC (permalink / raw)
To: Eric Blake; +Cc: Peter Maydell, qemu-devel qemu-devel
On Sep 12, 2015, at 10:04 PM, Eric Blake wrote:
> On 09/12/2015 07:57 PM, Programmingkid wrote:
>> 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.
>
> --
> 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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Python problem
2015-09-13 2:19 ` Programmingkid
@ 2015-09-13 11:28 ` Peter Maydell
2015-09-13 14:27 ` Programmingkid
0 siblings, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2015-09-13 11:28 UTC (permalink / raw)
To: Programmingkid; +Cc: qemu-devel qemu-devel
On 13 September 2015 at 03:19, Programmingkid <programmingkidx@gmail.com> wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Python problem
2015-09-13 11:28 ` Peter Maydell
@ 2015-09-13 14:27 ` Programmingkid
0 siblings, 0 replies; 5+ messages in thread
From: Programmingkid @ 2015-09-13 14:27 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel qemu-devel
On Sep 13, 2015, at 7:28 AM, Peter Maydell wrote:
> On 13 September 2015 at 03:19, Programmingkid <programmingkidx@gmail.com> wrote:
>> 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
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-13 14:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 1:57 [Qemu-devel] Python problem Programmingkid
2015-09-13 2:04 ` Eric Blake
2015-09-13 2:19 ` Programmingkid
2015-09-13 11:28 ` Peter Maydell
2015-09-13 14:27 ` Programmingkid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).