Opened 10 years ago

Closed 10 years ago

#20868 closed defect (fixed)

py25-numpy fails in staging on 10.6

Reported by: jowens (John Owens) Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: py25-numpy, py26-numpy

Description (last modified by ryandesign (Ryan Schmidt))

First the non-verbose, then the verbose.

$ sudo port install py25-numpy
--->  Computing dependencies for py25-numpy
--->  Staging py25-numpy into destroot
Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/bin/f2py": no such file or directory
$ sudo port -v install py25-numpy
--->  Computing dependencies for py25-numpy.
--->  Staging py25-numpy into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']

lapack_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3']

running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
building py_modules sources
building library "npymath" sources
building extension "numpy.core._sort" sources
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.multiarray" sources
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/src' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.6-i386-2.5/numpy/core/src/scalartypes.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/src/arraytypes.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core.umath" sources
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__ufunc_api.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/src' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.6-i386-2.5/numpy/core/src/scalartypes.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/src/arraytypes.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/src/umath_funcs.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/src/umath_loops.inc', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core.scalarmath" sources
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h' to sources.
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
  adding 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__ufunc_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/config.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/numpyconfig.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h', 'build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._dotblas" sources
  adding 'numpy/core/blasdot/_dotblas.c' to sources.
building extension "numpy.core.umath_tests" sources
building extension "numpy.lib._compiled_base" sources
building extension "numpy.numarray._capi" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
  adding 'numpy/linalg/lapack_litemodule.c' to sources.
  adding 'numpy/linalg/python_xerbla.c' to sources.
building extension "numpy.random.mtrand" sources
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.3.0/numpy/distutils/command/config.py:39: DeprecationWarning: 
+++++++++++++++++++++++++++++++++++++++++++++++++
Usage of try_run is deprecated: please do not 
use it anymore, and avoid configuration checks 
involving running executable on the target machine.
+++++++++++++++++++++++++++++++++++++++++++++++++

  DeprecationWarning)
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Could not locate executable gfortran
customize G95FCompiler
Could not locate executable g95
don't know how to compile Fortran code on platform 'posix'
C compiler: /usr/bin/gcc-4.2 -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/src -Inumpy/core/include -I/opt/local/include/python2.5 -c'
gcc-4.2: _configtest.c
/usr/bin/gcc-4.2 _configtest.o -o _configtest
_configtest
failure.
removing: _configtest.c _configtest.o _configtest
building data_files sources
running build_py
copying numpy/version.py -> build/lib.macosx-10.6-i386-2.5/numpy
copying build/src.macosx-10.6-i386-2.5/numpy/__config__.py -> build/lib.macosx-10.6-i386-2.5/numpy
copying build/src.macosx-10.6-i386-2.5/numpy/distutils/__config__.py -> build/lib.macosx-10.6-i386-2.5/numpy/distutils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
running scons
running build_scripts
  adding 'build/scripts.macosx-10.6-i386-2.5/f2py2.5' to scripts
running install_lib
copying build/lib.macosx-10.6-i386-2.5/numpy/__config__.py -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy
copying build/lib.macosx-10.6-i386-2.5/numpy/distutils/__config__.py -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/distutils
copying build/lib.macosx-10.6-i386-2.5/numpy/version.py -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy
byte-compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/__config__.py to __config__.pyc
byte-compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/distutils/__config__.py to __config__.pyc
byte-compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/version.py to version.pyc
running install_scripts
changing mode of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/bin/f2py2.5 to 755
running install_data
copying build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__multiarray_api.h -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/core/include/numpy
copying build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/multiarray_api.txt -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/core/include/numpy
copying build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/__ufunc_api.h -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/core/include/numpy
copying build/src.macosx-10.6-i386-2.5/numpy/core/include/numpy/ufunc_api.txt -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy/core/include/numpy
running install_egg_info
Removing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy-1.3.0-py2.5.egg-info
Writing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/lib/python2.5/site-packages/numpy-1.3.0-py2.5.egg-info
Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/destroot/opt/local/bin/f2py": no such file or directory
Warning: the following items did not execute (for py25-numpy): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 10 years ago by jowens (John Owens)

Check out #15865, seems similar (but wasn't really resolved there).

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:3 Changed 10 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ram@…

comment:4 Changed 10 years ago by skymoo (Adam Mercer)

Status: newassigned

comment:5 Changed 10 years ago by skymoo (Adam Mercer)

Port: py26-numpy added

this should be fixed in r56539

I'm going to leave this ticket open to remind me that py26-numpy may have the same issue once #20284 is resolved.

comment:6 Changed 10 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.