Opened 13 years ago

Closed 12 years ago

#34471 closed defect (fixed)

qemu @1.0.1_0+target_i386+target_x86_64 - build fails when python 3.x is selected

Reported by: asbjorn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc:
Port: qemu

Description

Qemu fails, and blocks for further upgrades.

:info:build   GEN   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/qapi-generated/qga-qapi-types.h
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/scripts/qapi-commands.py", line 376
:info:build     except getopt.GetoptError, err:
:info:build                              ^
:info:build SyntaxError: invalid syntax
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/scripts/qapi-types.py", line 167
:info:build     except getopt.GetoptError, err:
:info:build                              ^
:info:build SyntaxError: invalid syntax
:info:build make: *** [qmp-commands.h] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [qapi-types.h] Error 1
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/scripts/qapi-types.py", line 167
:info:build     except getopt.GetoptError, err:
:info:build                              ^
:info:build SyntaxError: invalid syntax
:info:build make: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/qapi-generated/qga-qapi-types.h] Error 1
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_qemu/qemu/work/qemu-1.0.1/scripts/qapi-visit.py", line 143
:info:build     except getopt.GetoptError, err:
:info:build                              ^
:info:build SyntaxError: invalid syntax
:info:build make: *** [qapi-visit.h] Error 1}}}

Attachments (1)

main.log (16.9 KB) - added by asbjorn@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by asbjorn@…

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Port: qemu added

comment:2 Changed 12 years ago by asbjorn@…

I solved this by changing the Python to 2.7 apple, afterwards everything was fine. port select python python27-apple

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Summary: qemu @1.0.1_0+target_i386+target_x86_64 - Error: Unable to upgrade port: 1qemu @1.0.1_0+target_i386+target_x86_64 - build fails when python 3.x is selected

comment:4 Changed 12 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Fixed in r100690.

Note: See TracTickets for help on using tickets.