[MacPorts] #48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable

MacPorts noreply at macports.org
Tue Aug 25 05:20:30 PDT 2015


#48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python
install path being added to the PATH variable
----------------------------+-------------------
  Reporter:  c.roger.day@…  |      Owner:  dh@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  py27-numpy     |
----------------------------+-------------------

Comment (by c.roger.day@…):

 The install was failing here:


 :debug:build Assembled command: 'cd "/opt/local/var/macports/build
 /_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build'

 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg build

 :info:build Running from numpy source directory.

 :info:build

 :info:build Error compiling Cython file:

 :info:build ------------------------------------------------------------

 :info:build ...

 :info:build             i = 0

 :info:build             while i < sz:

 :info:build                 Sum = 1.0

 :info:build                 dn = n

 :info:build                 for j from 0 <= j < d-1:

 :info:build                     mnix[i+j] =
 rk_binomial(self.internal_state, dn, pix[j]/Sum)

 :info:build
 ^

 :info:build ------------------------------------------------------------

 :info:build

 :info:build mtrand.pyx:4426:75: Pythonic division not allowed without gil,
 consider using cython.cdivision(True)

 :info:build Processing numpy/random/mtrand/mtrand.pyx

 :info:build Traceback (most recent call last):

 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-
 numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 199, in
 <module>

 :info:build     main()

 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-
 numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 195, in main

 :info:build     find_process_files(root_dir)

 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-
 numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 187, in
 find_process_files

 :info:build     process(cur_dir, fromfile, tofile, function, hash_db)

 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-
 numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 161, in
 process

 :info:build     processor_function(fromfile, tofile)

 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2bash-3.2#
 port

 However, since uninstalling py-numpy (and all the variants I had), and py-
 scipy just in case, I have re-installed py-numpy successfully.

 The bug can be closed.

-- 
Ticket URL: <https://trac.macports.org/ticket/48695#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list