Opened 23 months ago
Closed 23 months ago
#66572 closed defect (fixed)
iulib @0.4-20141216_3: SyntaxError: Missing parentheses in call to 'print'.
Reported by: | cooljeanius (Eric Gallager) | Owned by: | Marius Schamschula <mschamschula@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: | iulib |
Description
Trying to rev-upgrade after the latest tiff update:
scons: Reading SConscript files ... File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_iulib/iulib/work/tmbdev-iulib-b2b66db/SConstruct", line 63 print "WARNING: compile with -DUNSAFE or high optimization only for production use" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_iulib/iulib/work/iulib-b2b66dbcbbbfcb4aac0784ea9f07db998077dbc1" && /opt/local/bin/scons -j16 Exit code: 2 Error: Failed to build iulib: command execution failed DEBUG: Error code: CHILDSTATUS 8744 2
I'm on Big Sur with Xcode 13.
Attachments (1)
Change History (5)
Changed 23 months ago by cooljeanius (Eric Gallager)
Attachment: | iulib_main.log added |
---|
comment:1 Changed 23 months ago by Schamschula (Marius Schamschula)
Apparently, there haven't been any updates since 2014. There were PRs in 2017, but they haven't been merged.
Also, see #42353
In other words, it needs to be fixed by patching in MacPorts.
comment:2 follow-up: 3 Changed 23 months ago by Schamschula (Marius Schamschula)
It was written for Python 2.7, but we're now using Python 3.x.
comment:3 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to Schamschula:
It
—the SConstruct file—
was written for Python 2.7, but we're now using Python 3.x.
—for scons. This is an example of the fallout I anticipated in #59303.
Adding the parentheses to the print
call is easy. Haven't checked yet if that's the only problem.
comment:4 Changed 23 months ago by Marius Schamschula <mschamschula@…>
Owner: | set to Marius Schamschula <mschamschula@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log for iulib