[MacPorts] #46673: py34-urlwatch: fails to build on Snow Leopard 10.6.8 (was: py34-urlwatch fails to build on Snow Leopard 10.6.8)
MacPorts
noreply at macports.org
Sun Jan 25 15:36:26 PST 2015
#46673: py34-urlwatch: fails to build on Snow Leopard 10.6.8
-----------------------------+--------------------------------
Reporter: betrussell23@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: snowleopard
Port: py-urlwatch |
-----------------------------+--------------------------------
Changes (by petr@…):
* cc: betrussell23@… (removed)
* keywords: py34-urlwatch, python, snow leopard => snowleopard
* port: py34 => py-urlwatch
Old description:
> Friends,
>
> I am trying to upgrade outdated ports. I am encountering the following
> error message:
>
> ########################
>
> x
> ./opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/easy_install
> x
> ./opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/easy_install-3.4
> x ./opt/local/bin/easy_install-3.4
> ---> Cleaning py34-setuptools
> ---> Removing work directory for py34-setuptools
> ---> Computing dependencies for py34-urlwatch.
> ---> Building py34-urlwatch
> Traceback (most recent call last):
> File "setup.py", line 44, in <module>
> s = imp.load_source('s', script)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py",
> line 171, in load_source
> module = methods.load()
> File "<frozen importlib._bootstrap>", line 1220, in load
> File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
> File "<frozen importlib._bootstrap>", line 1129, in _exec
> File "<frozen importlib._bootstrap>", line 1467, in exec_module
> File "<frozen importlib._bootstrap>", line 1572, in get_code
> File "<frozen importlib._bootstrap>", line 1532, in source_to_code
> File "<frozen importlib._bootstrap>", line 321, in
> _call_with_frames_removed
> File "urlwatch", line 181
> print 'Error: %s is not a file' % options.urls
> ^
> SyntaxError: Missing parentheses in call to 'print'
> Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-urlwatch/py34-urlwatch/work/urlwatch-1.15"
> &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4
> setup.py --no-user-cfg build
> Exit code: 1
> Error: org.macports.build for port py34-urlwatch returned: command
> execution failed
> Warning: targets not executed for py34-urlwatch: org.macports.install
> org.macports.build org.macports.destroot
> Please see the log file for port py34-urlwatch for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_python_py-urlwatch/py34-urlwatch/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> ###################################
>
> Any help on how to get this issue solved? Many thanks in advance.
New description:
Friends,
I am trying to upgrade outdated ports. I am encountering the following
error message:
{{{
x
./opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/easy_install
x
./opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/easy_install-3.4
x ./opt/local/bin/easy_install-3.4
---> Cleaning py34-setuptools
---> Removing work directory for py34-setuptools
---> Computing dependencies for py34-urlwatch.
---> Building py34-urlwatch
Traceback (most recent call last):
File "setup.py", line 44, in <module>
s = imp.load_source('s', script)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/imp.py",
line 171, in load_source
module = methods.load()
File "<frozen importlib._bootstrap>", line 1220, in load
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1467, in exec_module
File "<frozen importlib._bootstrap>", line 1572, in get_code
File "<frozen importlib._bootstrap>", line 1532, in source_to_code
File "<frozen importlib._bootstrap>", line 321, in
_call_with_frames_removed
File "urlwatch", line 181
print 'Error: %s is not a file' % options.urls
^
SyntaxError: Missing parentheses in call to 'print'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-urlwatch/py34-urlwatch/work/urlwatch-1.15" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4
setup.py --no-user-cfg build
Exit code: 1
Error: org.macports.build for port py34-urlwatch returned: command
execution failed
Warning: targets not executed for py34-urlwatch: org.macports.install
org.macports.build org.macports.destroot
Please see the log file for port py34-urlwatch for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-urlwatch/py34-urlwatch/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
Any help on how to get this issue solved? Many thanks in advance.
--
Comment:
Please use Wiki formatting, set the port field and use only
[https://trac.macports.org/wiki/DraftKeywordGuidelines defined tags] as
keywords. As reporter you do not need to CC yourself.
--
Ticket URL: <https://trac.macports.org/ticket/46673#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list