Erik Rull <erik.r...@rdsoftware.de> writes:

> Hi all,
>
> when using the released qemu-1.6.0.tar.bz2, I get the following error message:
>
> [...]
> ar: creating libfdt/libfdt.a
> a - libfdt/fdt.o
> a - libfdt/fdt_ro.o
> a - libfdt/fdt_wip.o
> a - libfdt/fdt_sw.o
> a - libfdt/fdt_rw.o
> a - libfdt/fdt_strerror.o
>   GEN   qemu-options.def
>   GEN   qmp-commands.h
> Traceback (most recent call last):
>   File "/home/erik/qemu-1.6.0/scripts/qapi-commands.py", line 14, in <module>
>     from qapi import *
>   File "/home/erik/qemu-1.6.0/scripts/qapi.py", line 164
>     except QAPISchemaError as e:
>                             ^
> SyntaxError: invalid syntax
> make: *** [qmp-commands.h] Error 1
>
> Any ideas how to fix that?

Output of "python --version", please.  Make sure to use the same python
as the build process (grep PYTHON config-host.mak).

Reply via email to