Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678410161.789798/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pyopencl-2022.3.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678410161.789798/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pyopencl-2022.3.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678410161.789798/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2r80q1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyopencl-2022.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyopencl-2022.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyopencl-2022.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QhPaEd + umask 022 + cd /builddir/build/BUILD + cd pyopencl-2022.3.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' --------------------------------------------------------------------------- Pybind11 is not installed. --------------------------------------------------------------------------- Very likely, the build process after this message will fail. Simply press Ctrl+C and type python -m pip install pybind11 to fix this. If you don't, the build will continue in a few seconds. [1] https://pybind11.readthedocs.io/en/stable/ --------------------------------------------------------------------------- Continuing in 10 seconds... Continuing in 9 seconds... Continuing in 8 seconds... Continuing in 7 seconds... Continuing in 6 seconds... Continuing in 5 seconds... Continuing in 4 seconds... Continuing in 3 seconds... Continuing in 2 seconds... Continuing in 1 seconds... /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/17/4e/9b2f39b5d0ae5f81541e03a98379462871ccfbadfa315d24b3d8854c6a9f/pybind11-2.10.3-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/17/4e/9b2f39b5d0ae5f81541e03a98379462871ccfbadfa315d24b3d8854c6a9f/pybind11-2.10.3-py3-none-any.whl running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/cache.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/bitonic_sort.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/array.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/scan.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/invoker.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/bitonic_sort_templates.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/version.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/ipython_ext.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/algorithm.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/_mymako.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/clmath.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/_cluda.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/tools.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/reduction.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/__init__.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/capture_call.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/cltypes.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/elementwise.py -> build/lib.linux-x86_64-3.9/pyopencl copying pyopencl/clrandom.py -> build/lib.linux-x86_64-3.9/pyopencl creating build/lib.linux-x86_64-3.9/pyopencl/compyte copying pyopencl/compyte/array.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte copying pyopencl/compyte/dtypes.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte copying pyopencl/compyte/__init__.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte creating build/lib.linux-x86_64-3.9/pyopencl/characterize copying pyopencl/characterize/__init__.py -> build/lib.linux-x86_64-3.9/pyopencl/characterize copying pyopencl/characterize/performance.py -> build/lib.linux-x86_64-3.9/pyopencl/characterize creating build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/test_gpu_ndarray.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/gen_elemwise.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/test_gpu_elemwise.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/gen_reduction.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/setup_opencl.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray copying pyopencl/compyte/ndarray/__init__.py -> build/lib.linux-x86_64-3.9/pyopencl/compyte/ndarray running egg_info writing pyopencl.egg-info/PKG-INFO writing dependency_links to pyopencl.egg-info/dependency_links.txt writing requirements to pyopencl.egg-info/requires.txt writing top-level names to pyopencl.egg-info/top_level.txt reading manifest file 'pyopencl.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory '_skbuild' adding license file 'LICENSE' writing manifest file 'pyopencl.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-airy.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-j-complex.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-j.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-bessel-y.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-complex.h -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-eval-tbl.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-hankel-complex.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl copying pyopencl/cl/pyopencl-ranluxcl.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl creating build/lib.linux-x86_64-3.9/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/array.h -> build/lib.linux-x86_64-3.9/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/openclfeatures.h -> build/lib.linux-x86_64-3.9/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/philox.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl/pyopencl-random123 copying pyopencl/cl/pyopencl-random123/threefry.cl -> build/lib.linux-x86_64-3.9/pyopencl/cl/pyopencl-random123 running build_ext creating tmp gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c /tmp/tmp41sob5rx.cpp -o tmp/tmp41sob5rx.o -std=gnu++14 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c /tmp/tmprr7_rb26.cpp -o tmp/tmprr7_rb26.o -fvisibility=hidden building 'pyopencl._cl' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/builddir/build/BUILD/pyopencl-2022.3.1/.eggs/pybind11-2.10.3-py3.9.egg/pybind11/include -I/builddir/build/BUILD/pyopencl-2022.3.1/.eggs/numpy-1.24.2-py3.9-linux-x86_64.egg/numpy/core/include -I/usr/include/python3.9 -c -std=gnu++14 src/bitlog.cpp -o build/temp.linux-x86_64-3.9/src/bitlog.o -fvisibility=hidden -DVERSION_INFO="2022.3.1" -fvisibility=hidden gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Ipybind11/include -I/builddir/build/BUILD/pyopencl-2022.3.1/.eggs/pybind11-2.10.3-py3.9.egg/pybind11/include -I/builddir/build/BUILD/pyopencl-2022.3.1/.eggs/numpy-1.24.2-py3.9-linux-x86_64.egg/numpy/core/include -I/usr/include/python3.9 -c -std=gnu++14 src/wrap_cl.cpp -o build/temp.linux-x86_64-3.9/src/wrap_cl.o -fvisibility=hidden -DVERSION_INFO="2022.3.1" -fvisibility=hidden In file included from src/wrap_cl.cpp:29: src/wrap_cl.hpp:70:10: fatal error: CL/cl.h: No such file or directory 70 | #include | ^~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.QhPaEd (%build) Bad exit status from /var/tmp/rpm-tmp.QhPaEd (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pyopencl.spec