On Fri, Aug 15, 2014 at 10:43:24AM +0300, Riku Voipio wrote: > On Tue, Aug 12, 2014 at 01:37:33PM +0100, Stefan Hajnoczi wrote: > > There is one instance of any() in qapi.py that breaks builds on older > > distros that ship Python 2.4 (like RHEL5): > > > > GEN qmp-commands.h > > Traceback (most recent call last): > > File "build/scripts/qapi-commands.py", line 445, in ? > > exprs = parse_schema(input_file) > > File "build/scripts/qapi.py", line 329, in parse_schema > > schema = QAPISchema(open(input_file, "r")) > > File "build/scripts/qapi.py", line 110, in __init__ > > if any(include_path == elem[1] > > NameError: global name 'any' is not defined > > I tried building on RHEL5, and this patch gets a bit more forward. > However further down the build I get a similar error: > > Traceback (most recent call last): > File "/build/qemu/scripts/tracetool.py", line 139, in ? > main(sys.argv) > File "/build/qemu/scripts/tracetool.py", line 134, in main > binary=binary, probe_prefix=probe_prefix) > File "/build/qemu/scripts/tracetool/__init__.py", line 267, in generate > backend = tracetool.backend.Wrapper(backends, format) > File "/build/qemu/scripts/tracetool/backend/__init__.py", line 105, in > __init__ > assert all(exists(backend) for backend in self._backends) > > semi-related - since I'm building --disable-system --disable-tools > --enable-user, > is there any benefit of tracetool for this build config?
I will send a new revision with additional fixes.
pgpfxlqp9TIyM.pgp
Description: PGP signature