[MacPorts] #45936: Problems with py27-tables and openmpi

MacPorts noreply at macports.org
Tue Nov 18 19:34:46 PST 2014


#45936: Problems with py27-tables and openmpi
------------------------+---------------------
  Reporter:  citibob@…  |      Owner:  mmoll@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.0
Resolution:             |   Keywords:
      Port:  py-tables  |
------------------------+---------------------
Changes (by larryv@…):

 * owner:  macports-tickets@… => mmoll@…


Old description:

> The Portfile failed to add the appropriate include/openmpi-xxx directory
> to the command line, or to use the mpi wrappers.  This problem happens
> whether using the standard (Clang) variant, or the +gcc48 variant.  This
> is happening with the LATEST py-tables Portfile (120497).  This is
> apparently a DIFFERENT problem than the similar MPI problem with py-
> tables that was fixed 2 years ago (MPI configuration in the Portfile has
> been upgraded since then).
>
> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
> -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> # $Id: Portfile 120497 2014-05-30 14:18:34Z mmoll at macports.org $
>
> ...
>

> :info:build
> /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
> warning: #warning "Using deprecated NumPy API, disable it by " "#defining
> NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
> :info:build  #warning "Using deprecated NumPy API, disable it by " \
> :info:build   ^
> :info:build In file included from
> /Users/rpfische/macports/include/hdf5.h:24:0,
> :info:build                  from tables/utilsextension.c:317:
> :info:build /Users/rpfische/macports/include/H5public.h:61:20: fatal
> error: mpi.h: No such file or directory
> :info:build  #   include <mpi.h>
> :info:build                     ^
> :info:build compilation terminated.
> :info:build error: Command "/Users/rpfische/macports/bin/gcc-mp-4.8
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNDEBUG=1
> -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5
> -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/numpy/core/include -I/Users/rpfische/macports/include
> -I/usr/local/include -I/sw/include -I/opt/include -I/opt/local/include
> -I/usr/include -I/include
> -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c tables/utilsextension.c -o
> build/temp.macosx-10.9-x86_64-2.7/tables/utilsextension.o -Isrc
> -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2
> -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2
> -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2
> -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2
> -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2
> -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2
> -DH5_NO_DEPRECATED_SYMBOLS" failed with exit status 1
> :info:build Command failed:  cd
> "/Users/rpfische/macports/var/macports/build/_Users_rpfische_macports_var_macports_sources_distfiles.macports
> .org_ports_python_py-tables/py27-tables/work/tables-3.1.1" &&
> /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py --no-user-cfg build_ext --inplace
> --hdf5=/Users/rpfische/macports --bzip2=/Users/rpfische/macports
> --lzo=/Users/rpfische/macports --blosc=/Users/rpfische/macports
> :info:build Exit code: 1

New description:

 The Portfile failed to add the appropriate include/openmpi-xxx directory
 to the command line, or to use the mpi wrappers.  This problem happens
 whether using the standard (Clang) variant, or the +gcc48 variant.  This
 is happening with the LATEST py-tables Portfile (120497).  This is
 apparently a DIFFERENT problem than the similar MPI problem with py-tables
 that was fixed 2 years ago (MPI configuration in the Portfile has been
 upgraded since then).
 {{{
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
 -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id: Portfile 120497 2014-05-30 14:18:34Z mmoll at macports.org $
 }}}
 ...
 {{{
 :info:build
 /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
 warning: #warning "Using deprecated NumPy API, disable it by " "#defining
 NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 :info:build  #warning "Using deprecated NumPy API, disable it by " \
 :info:build   ^
 :info:build In file included from
 /Users/rpfische/macports/include/hdf5.h:24:0,
 :info:build                  from tables/utilsextension.c:317:
 :info:build /Users/rpfische/macports/include/H5public.h:61:20: fatal
 error: mpi.h: No such file or directory
 :info:build  #   include <mpi.h>
 :info:build                     ^
 :info:build compilation terminated.
 :info:build error: Command "/Users/rpfische/macports/bin/gcc-mp-4.8
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNDEBUG=1
 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5
 -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include -I/Users/rpfische/macports/include
 -I/usr/local/include -I/sw/include -I/opt/include -I/opt/local/include
 -I/usr/include -I/include
 -I/Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c tables/utilsextension.c -o
 build/temp.macosx-10.9-x86_64-2.7/tables/utilsextension.o -Isrc
 -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2
 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2
 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2
 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2
 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2
 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2
 -DH5_NO_DEPRECATED_SYMBOLS" failed with exit status 1
 :info:build Command failed:  cd
 "/Users/rpfische/macports/var/macports/build/_Users_rpfische_macports_var_macports_sources_distfiles.macports
 .org_ports_python_py-tables/py27-tables/work/tables-3.1.1" &&
 /Users/rpfische/macports/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build_ext --inplace --hdf5=/Users/rpfische/macports
 --bzip2=/Users/rpfische/macports --lzo=/Users/rpfische/macports
 --blosc=/Users/rpfische/macports
 :info:build Exit code: 1
 }}}

--

Comment:

 Thanks for the report. In future tickets, please Cc relevant port
 maintainers (`port info --maintainers py-tables`).

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


More information about the macports-tickets mailing list