Opened 10 years ago

Closed 10 years ago

#46673 closed defect (fixed)

py-urlwatch: py34 subport fails to build

Reported by: betrussell23@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr
Port: py-urlwatch

Description (last modified by petrrr)

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.

Attachments (1)

py34_urlwatch.log (5.0 KB) - added by betrussell23@… 10 years ago.
py34-urlwatch_error_log

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by betrussell23@…

Attachment: py34_urlwatch.log added

py34-urlwatch_error_log

comment:1 Changed 10 years ago by petrrr

Cc: betrussell23@… removed
Description: modified (diff)
Keywords: snowleopard added; py34-urlwatch python snow leopard removed
Port: py-urlwatch added; py34 removed
Summary: py34-urlwatch fails to build on Snow Leopard 10.6.8py34-urlwatch: fails to build on Snow Leopard 10.6.8

Please use Wiki formatting, set the port field and use only defined tags as keywords. As reporter you do not need to CC yourself.

comment:2 Changed 10 years ago by petrrr

This looks like urlwatch is not Py3k compatible.

comment:3 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 10 years ago by petrrr

r132176 fixes the above one, but the build still fails. It now terminates with

--->  Building py34-urlwatch
Traceback (most recent call last):
  File "setup.py", line 46, in <module>
    os.unlink(script+'c')
FileNotFoundError: [Errno 2] No such file or directory: 'urlwatchc'
Command failed:  cd "/opt/local/var/macports/build/_Users_petr_sandbox_SVN-repos_macports_dports_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.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py34-urlwatch for details:
    /opt/local/var/macports/logs/_Users_petr_sandbox_SVN-repos_macports_dports_python_py-urlwatch/py34-urlwatch/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py-urlwatch failed

comment:5 Changed 10 years ago by petrrr

Maybe this could be solved by an update:

py-urlwatch seems to have been updated (port version: 1.15, new version: 1.17)

comment:6 Changed 10 years ago by petrrr

Keywords: snowleopard removed

Removing keyword, not Snow leopard specific.

comment:7 Changed 10 years ago by petrrr

Summary: py34-urlwatch: fails to build on Snow Leopard 10.6.8py-urlwatch: py34 subport fails to build

comment:8 Changed 10 years ago by petrrr

Resolution: fixed
Status: newclosed

Update to 1.17 done in r132210. Now the port builds and installs correctly. Closing as fixed. Please report if you should observe issues when using it.

Note: See TracTickets for help on using tickets.