Skip to contentSkip to conversation

python3-h5py: remove unneeded CFLAGS

PATCH New [email protected] 1 participant 1 message Jul 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-h5py: remove unneeded CFLAGS

From: Changqing Li <[email protected]>

Following errors already fixed in 3.11.0, refer[1][2], so remove the
unneeded CFLAGS:
h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]

[1] https://github.com/h5py/h5py/pull/2382/commits/387a22b8c1513800c0401f496b4ed512c1639798
[2] https://github.com/h5py/h5py/pull/2380/commits/704e13ac83b42898514610c4df9f32f367e767e4

---
 meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb | 5 -----
 1 file changed, 5 deletions(-)
meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb +0 -5
index e0ceafca1..1cf5f5638 100644
@@ -37,8 +37,3 @@ RDEPENDS:${PN} = "python3-numpy \
                  "
 
 export HDF5_VERSION="1.14.0"
-
-# http://errors.yoctoproject.org/Errors/Details/766919/
-# h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
-# h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
-CFLAGS += "-Wno-error=incompatible-pointer-types"
Signature · 1 line
2.25.1