h5py build is failing with python 3.5:
creating build/temp.linux-x86_64-3.5/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fopenmp -fPIC -DH5_USE_16_API -I/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/lzf -I/opt/local/include -I/usr/local/include -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c /builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.c -o build/temp.linux-x86_64-3.5/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.o In file included from /usr/include/python3.5m/pyatomic.h:12:0, from /usr/include/python3.5m/Python.h:53, from /builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.c:36: /usr/lib/gcc/x86_64-redhat-linux/5.2.1/include/stdatomic.h:40:1: sorry, unimplemented: '_Atomic' with OpenMP typedef _Atomic _Bool atomic_bool; ^ /usr/lib/gcc/x86_64-redhat-linux/5.2.1/include/stdatomic.h:41:1: sorry, unimplemented: '_Atomic' with OpenMP typedef _Atomic char atomic_char; ^
This appears to be https://bugs.python.org/issue25150 for which there appears to be a patch. Could this be applied please?
Thanks.
----- Original Message -----
From: "Orion Poplawski" orion@cora.nwra.com To: "Fedora Python SIG" python-devel@lists.fedoraproject.org, "Robert Kuska" rkuska@redhat.com, "Matej Stuchlik" mstuchli@redhat.com, "Development discussions related to Fedora" devel@lists.fedoraproject.org Sent: Tuesday, November 10, 2015 10:43:21 PM Subject: python 3.5 openmp issue
h5py build is failing with python 3.5:
creating build/temp.linux-x86_64-3.5/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fopenmp -fPIC -DH5_USE_16_API -I/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/lzf -I/opt/local/include -I/usr/local/include -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c /builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.c -o build/temp.linux-x86_64-3.5/builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.o In file included from /usr/include/python3.5m/pyatomic.h:12:0, from /usr/include/python3.5m/Python.h:53, from /builddir/build/BUILD/python3-h5py-2.5.0-5.fc24/h5py/defs.c:36: /usr/lib/gcc/x86_64-redhat-linux/5.2.1/include/stdatomic.h:40:1: sorry, unimplemented: '_Atomic' with OpenMP typedef _Atomic _Bool atomic_bool; ^ /usr/lib/gcc/x86_64-redhat-linux/5.2.1/include/stdatomic.h:41:1: sorry, unimplemented: '_Atomic' with OpenMP typedef _Atomic char atomic_char; ^
This appears to be https://bugs.python.org/issue25150 for which there appears to be a patch. Could this be applied please?
Thanks.
Here you go http://koji.fedoraproject.org/koji/buildinfo?buildID=698435
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
Regards,
Robert Kuska {rkuska}
On 11/11/2015 03:28 AM, Robert Kuska wrote:
----- Original Message -----
From: "Orion Poplawski" orion@cora.nwra.com
This appears to be https://bugs.python.org/issue25150 for which there appears to be a patch. Could this be applied please?
Thanks.
Here you go http://koji.fedoraproject.org/koji/buildinfo?buildID=698435
Thanks! Looks like that worked.
python-devel@lists.fedoraproject.org