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 Initial Version
Reported by: | trwyant | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | scons |
Description
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.
Log file of failed installation