Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-55200-2196/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '29d5db5cdf3044219bbbe5c36f4b585d', '-D', '/var/lib/mock/dist-ocs23-python311-build-55200-2196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-Keras-Preprocessing-1.1.2-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-55200-2196/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '901bea182e7a468ba4514b6d2191f4dd', '-D', '/var/lib/mock/dist-ocs23-python311-build-55200-2196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ioY3I9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Keras_Preprocessing-1.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Keras_Preprocessing-1.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Keras_Preprocessing-1.1.2 + /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.kjJ7Uw + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Keras_Preprocessing-1.1.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/keras_preprocessing copying keras_preprocessing/sequence.py -> build/lib/keras_preprocessing copying keras_preprocessing/__init__.py -> build/lib/keras_preprocessing copying keras_preprocessing/text.py -> build/lib/keras_preprocessing creating build/lib/keras_preprocessing/image copying keras_preprocessing/image/numpy_array_iterator.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/utils.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/__init__.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/image_data_generator.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/directory_iterator.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/dataframe_iterator.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/iterator.py -> build/lib/keras_preprocessing/image copying keras_preprocessing/image/affine_transformations.py -> build/lib/keras_preprocessing/image + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YJZJWk + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch + cd Keras_Preprocessing-1.1.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing copying build/lib/keras_preprocessing/sequence.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing copying build/lib/keras_preprocessing/__init__.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing copying build/lib/keras_preprocessing/text.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing creating /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/numpy_array_iterator.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/utils.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/__init__.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/image_data_generator.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/directory_iterator.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/dataframe_iterator.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/iterator.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image copying build/lib/keras_preprocessing/image/affine_transformations.py -> /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/sequence.py to sequence.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/text.py to text.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/numpy_array_iterator.py to numpy_array_iterator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/image_data_generator.py to image_data_generator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/directory_iterator.py to directory_iterator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/dataframe_iterator.py to dataframe_iterator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/iterator.py to iterator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/keras_preprocessing/image/affine_transformations.py to affine_transformations.cpython-311.pyc writing byte-compilation script '/tmp/tmpx3epb5mg.py' /usr/bin/python3 /tmp/tmpx3epb5mg.py removing /tmp/tmpx3epb5mg.py running install_egg_info running egg_info writing Keras_Preprocessing.egg-info/PKG-INFO writing dependency_links to Keras_Preprocessing.egg-info/dependency_links.txt writing requirements to Keras_Preprocessing.egg-info/requires.txt writing top-level names to Keras_Preprocessing.egg-info/top_level.txt reading manifest file 'Keras_Preprocessing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'Keras_Preprocessing.egg-info/SOURCES.txt' Copying Keras_Preprocessing.egg-info to /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11/site-packages/Keras_Preprocessing-1.1.2-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.2-3.ocs23 --unique-debug-suffix -1.1.2-3.ocs23.noarch --unique-debug-src-base python-Keras-Preprocessing-1.1.2-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/Keras_Preprocessing-1.1.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-Keras-Preprocessing-1.1.2-3.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2GpqzK + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Keras_Preprocessing-1.1.2 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing Keras_Preprocessing.egg-info/PKG-INFO writing dependency_links to Keras_Preprocessing.egg-info/dependency_links.txt writing requirements to Keras_Preprocessing.egg-info/requires.txt writing top-level names to Keras_Preprocessing.egg-info/top_level.txt reading manifest file 'Keras_Preprocessing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'Keras_Preprocessing.egg-info/SOURCES.txt' running build_ext sequence (unittest.loader._FailedTest.sequence) ... ERROR text (unittest.loader._FailedTest.text) ... ERROR image (unittest.loader._FailedTest.image) ... ERROR keras_preprocessing.image (unittest.loader._FailedTest.keras_preprocessing.image) ... ERROR ====================================================================== ERROR: sequence (unittest.loader._FailedTest.sequence) ---------------------------------------------------------------------- ImportError: Failed to import test module: sequence Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 23, in from . import multiarray File "/usr/lib64/python3.10/site-packages/numpy/core/multiarray.py", line 10, in from . import overrides File "/usr/lib64/python3.10/site-packages/numpy/core/overrides.py", line 8, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/sequence.py", line 8, in import numpy as np File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 139, in from . import core File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 49, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from "/usr/bin/python3" * The NumPy version is: "1.25.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath' ====================================================================== ERROR: text (unittest.loader._FailedTest.text) ---------------------------------------------------------------------- ImportError: Failed to import test module: text Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 23, in from . import multiarray File "/usr/lib64/python3.10/site-packages/numpy/core/multiarray.py", line 10, in from . import overrides File "/usr/lib64/python3.10/site-packages/numpy/core/overrides.py", line 8, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/text.py", line 16, in import numpy as np File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 139, in from . import core File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 49, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from "/usr/bin/python3" * The NumPy version is: "1.25.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath' ====================================================================== ERROR: image (unittest.loader._FailedTest.image) ---------------------------------------------------------------------- ImportError: Failed to import test module: image Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 23, in from . import multiarray File "/usr/lib64/python3.10/site-packages/numpy/core/multiarray.py", line 10, in from . import overrides File "/usr/lib64/python3.10/site-packages/numpy/core/overrides.py", line 8, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/image/__init__.py", line 5, in from .affine_transformations import * File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/image/affine_transformations.py", line 7, in import numpy as np File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 139, in from . import core File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 49, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from "/usr/bin/python3" * The NumPy version is: "1.25.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath' ====================================================================== ERROR: keras_preprocessing.image (unittest.loader._FailedTest.keras_preprocessing.image) ---------------------------------------------------------------------- ImportError: Failed to import test module: keras_preprocessing.image Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 23, in from . import multiarray File "/usr/lib64/python3.10/site-packages/numpy/core/multiarray.py", line 10, in from . import overrides File "/usr/lib64/python3.10/site-packages/numpy/core/overrides.py", line 8, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 440, in _find_test_path package = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/image/__init__.py", line 5, in from .affine_transformations import * File "/builddir/build/BUILD/Keras_Preprocessing-1.1.2/keras_preprocessing/image/affine_transformations.py", line 7, in import numpy as np File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 139, in from . import core File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 49, in raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from "/usr/bin/python3" * The NumPy version is: "1.25.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy.core._multiarray_umath' ---------------------------------------------------------------------- Ran 4 tests in 0.001s FAILED (errors=4) Test failed: error: Test failed: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2GpqzK (%check) Bad exit status from /var/tmp/rpm-tmp.2GpqzK (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 901bea182e7a468ba4514b6d2191f4dd -D /var/lib/mock/dist-ocs23-python311-build-55200-2196/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 901bea182e7a468ba4514b6d2191f4dd -D /var/lib/mock/dist-ocs23-python311-build-55200-2196/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.s9z_jkxi:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-Keras-Preprocessing.spec