Opened 10 years ago

Closed 10 years ago

#44945 closed defect (fixed)

py27-tables @3.1.1_3: build fails with py27-cython @0.21_0

Reported by: mndavidoff (Monte Davidoff) Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: haspatch Cc:
Port: py-tables

Description

Installing py27-tables @3.1.1_3 fails after I upgraded to py27-cython @0.21_0.

$ sudo port -vs install py27-tables
...
--->  Building py27-tables
* Using Python 2.7.8 (default, Aug 27 2014, 02:17:46) 
* Found numpy 1.8.2 package installed.
* Found numexpr 2.4 package installed.
.. ERROR:: You need Cython 0.13 or greater to compile PyTables!
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-tables/py27-tables/work/tables-3.1.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build_ext --inplace --hdf5=/opt/local --bzip2=/opt/local --lzo=/opt/local --blosc=/opt/local 
Exit code: 1
Error: org.macports.build for port py27-tables returned: command execution failed
Warning: targets not executed for py27-tables: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py27-tables for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-tables/py27-tables/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-tables failed

The attached patch appears to fix the problem.

Attachments (3)

main.log.gz (5.4 KB) - added by mndavidoff (Monte Davidoff) 10 years ago.
Portfile.diff (327 bytes) - added by mndavidoff (Monte Davidoff) 10 years ago.
patch-setup.py.diff (1008 bytes) - added by mndavidoff (Monte Davidoff) 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: patch-setup.py.diff added

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

Cc: mmoll@… removed
Owner: changed from macports-tickets@… to mmoll@…

comment:2 Changed 10 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed

Committed in r125305.

Note: See TracTickets for help on using tickets.