pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50251: devel/py-h5py fails to build due to H5FD_MPIPOSIX undeclared



>Number:         50251
>Category:       pkg
>Synopsis:       devel/py-h5py fails to build due to H5FD_MPIPOSIX undeclared
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 17 13:50:00 +0000 2015
>Originator:     Sergey Litvinov
>Release:        LInux
>Organization:
ETH
>Environment:
Linux 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>Description:
bmake in
devel/py-h5py

fails with the following error

In file included from /home/lisergey/gerris-deploy/pkgsrc/devel/py-h5py/work/.buildlink/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1804:0,
                 from /home/lisergey/gerris-deploy/pkgsrc/devel/py-h5py/work/.buildlink/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /home/lisergey/gerris-deploy/pkgsrc/devel/py-h5py/work/.buildlink/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from h5py/api_compat.h:21,
                 from h5py/h5fd.c:259:
/home/lisergey/gerris-deploy/pkgsrc/devel/py-h5py/work/.buildlink/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]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
h5py/h5fd.c: In function 'inith5fd':
h5py/h5fd.c:857:39: error: 'H5FD_MPIPOSIX' undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_to_py_hid_t(H5FD_MPIPOSIX); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                       ^
h5py/h5fd.c:857:39: note: each undeclared identifier is reported only once for each function it appears in
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.
bmake: stopped in /home/lisergey/gerris-deploy/pkgsrc/devel/py-h5py
*** Error code 1

It looks like this problem:
https://github.com/h5py/h5py/issues/446

>How-To-Repeat:
bmake in
devel/py-h5py
>Fix:
I can compile if I update the version
DISTNAME=	h5py-2.3.1


Home | Main Index | Thread Index | Old Index