Opened 7 years ago

Last modified 7 years ago

#54915 closed defect

serf1 @1.3.8_0 install error: Syntax error in serf-1.3.8/SConstruct — at Version 2

Reported by: trwyant Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: scons

Description (last modified by mf2k (Frank Schima))

Installation of serf1 failed with error

:info:build scons: Reading SConscript files ...
:info:build   File "/opt/local/var/macports/build
/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8/SConstruct", line 181
:info:build     print 'Unknown variables:', ', '.join(unknown.keys())
:info:build                              ^
:info:build SyntaxError: invalid syntax

The problem appears to be that the Python print command is a function, and requires parentheses. At any rate, I supplied parentheses around the print() arguments, and was able to install successfully. The full log file is attached.

$ uname -a Darwin <censored>.local 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64

Yes, this is High Sierra; I built MacPorts from source.

Change History (3)

Changed 7 years ago by trwyant

Attachment: main.log added

Log file of failed installation

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

Owner: set to blair
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers serf1), if any.

Last edited 7 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.