#66973 closed defect (fixed)

field3d @1.7.3_5: SyntaxError: Missing parentheses in call to 'print'.

Reported by: cooljeanius (Eric Gallager) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: field3d

Description

rev-upgrade attempts to rebuild field3d and fails with:

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_field3d/field3d/work/Field3D-1.7.3" && /opt/local/bin/scons -j16 verbose=1 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_field3d/field3d/work/Field3D-1.7.3" && /opt/local/bin/scons -j16 verbose=1 
scons: Reading SConscript files ...
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_field3d/field3d/work/Field3D-1.7.3/BuildSupport.py", line 276

    print cmd

    ^^^^^^^^^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_field3d/field3d/work/Field3D-1.7.3" && /opt/local/bin/scons -j16 verbose=1 
Exit code: 2
Error: Failed to build field3d: command execution failed
DEBUG: Error code: CHILDSTATUS 55786 2

I'm on Big Sur with Xcode 13.

Attachments (1)

field3d-main.log (19.9 KB) - added by cooljeanius (Eric Gallager) 15 months ago.
main.log for field3d

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by cooljeanius (Eric Gallager)

Attachment: field3d-main.log added

main.log for field3d

comment:1 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

This is a consequence of switching scons to python3.

I reported the bug to the developers of field3d.

field3d also has a cmake build system that we could use instead of scons, but who knows what other unintended changes that will bring.

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In ae99c5b73d78710494896addf622c50a866edafb/macports-ports (master):

field3d: Fix build with python 3

Closes: #66973

Note: See TracTickets for help on using tickets.