[MacPorts] #54915: serf1 @1.3.8_0 install error: Syntax error in serf-1.3.8/SConstruct
MacPorts
noreply at macports.org
Wed Sep 27 14:23:21 UTC 2017
#54915: serf1 @1.3.8_0 install error: Syntax error in serf-1.3.8/SConstruct
----------------------+----------------------
Reporter: trwyant | Owner: blair
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: serf1 |
----------------------+----------------------
Description changed by mf2k:
Old description:
> Installation of serf1 failed with error
>
> :info:build scons: Reading SConscript files ...[[BR]]
> :info:build File "/opt/local/var/macports/build[[BR]]
> /_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8/SConstruct",
> line 181[[BR]]
> :info:build print 'Unknown variables:', ',
> '.join(unknown.keys())[[BR]]
> :info:build ^[[BR]]
> :info:build SyntaxError: invalid syntax[[BR]]
>
> 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.
New 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.
--
--
Ticket URL: <https://trac.macports.org/ticket/54915#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list