Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/he-toolkit.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-175718-59076/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/he-toolkit.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/he-toolkit-2.0.1-1.an8.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/he-toolkit.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-175718-59076/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/he-toolkit.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PNDiWd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf he-toolkit-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd he-toolkit-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/1001-bugfix-the-error-in-check-the-python3-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-remove-third-part-of-ext_gflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1003-remove-pip-requires-in-datasets.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1004-fix-the-link-error-in-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1005-fix-the-files-install-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1006-change-the-python3-to-python3.8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-change-the-datasets-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pimrBO + umask 022 ~/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression ~/build/BUILD/he-toolkit-2.0.1 + cd /builddir/build/BUILD + cd he-toolkit-2.0.1 + pushd he-samples/examples/logistic-regression + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. -- The CXX compiler identification is GNU 8.5.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Intel HEXL found -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Microsoft SEAL -> Version 3.7.2 detected -- Microsoft SEAL -> Targets available: SEAL::seal_shared -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found Python3: /usr/bin/python3.8 (found version "3.8.12") found components: Interpreter Development Development.Module Development.Embed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression + /usr/bin/cmake --build . -j64 --verbose /usr/bin/cmake -S/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression -B/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression/CMakeFiles /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' /usr/bin/gmake -f datasets/CMakeFiles/genSyntheticData.dir/build.make datasets/CMakeFiles/genSyntheticData.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' cd /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression/datasets /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression/datasets /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression/datasets/CMakeFiles/genSyntheticData.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' /usr/bin/gmake -f datasets/CMakeFiles/genSyntheticData.dir/build.make datasets/CMakeFiles/genSyntheticData.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' [ 11%] Generating gendata.stamp cd /builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression/datasets && /usr/bin/python3.8 generate_data.py Traceback (most recent call last): File "generate_data.py", line 16, in import sklearn.datasets File "/usr/lib64/python3.8/site-packages/sklearn/__init__.py", line 82, in from .base import clone File "/usr/lib64/python3.8/site-packages/sklearn/base.py", line 17, in from .utils import _IS_32BIT File "/usr/lib64/python3.8/site-packages/sklearn/utils/__init__.py", line 28, in from .fixes import np_version, parse_version File "/usr/lib64/python3.8/site-packages/sklearn/utils/fixes.py", line 22, in import threadpoolctl ModuleNotFoundError: No module named 'threadpoolctl' gmake[2]: *** [datasets/CMakeFiles/genSyntheticData.dir/build.make:76: datasets/gendata.stamp] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' gmake[1]: Leaving directory '/builddir/build/BUILD/he-toolkit-2.0.1/he-samples/examples/logistic-regression' gmake[1]: *** [CMakeFiles/Makefile2:129: datasets/CMakeFiles/genSyntheticData.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.pimrBO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pimrBO (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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/he-toolkit.spec