Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-336375-69536/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.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 setting SOURCE_DATE_EPOCH=1590624000 Wrote: /builddir/build/SRPMS/lucene++-3.0.7-24.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-336375-69536/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.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 setting SOURCE_DATE_EPOCH=1590624000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mjNFu3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf LucenePlusPlus-rel_3.0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lucene++-3.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd LucenePlusPlus-rel_3.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-FSDirectory-sync-to-sync-writes-to-disk.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-minor-fix-to-allow-full-lines-to-be-input-to-demo-qu.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Use-maxSize-of-BooleanQuery-as-base-for-the-queue-si.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Fix-packageconfig-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-boost-1.58-variant.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Hptk4L + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd LucenePlusPlus-rel_3.0.7 + mkdir x86_64-anolis-linux-gnu + pushd x86_64-anolis-linux-gnu ~/build/BUILD/LucenePlusPlus-rel_3.0.7/x86_64-anolis-linux-gnu ~/build/BUILD/LucenePlusPlus-rel_3.0.7 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -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_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -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 .. -DCMAKE_BUILD_TYPE:String=release CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/LucenePlusPlus-rel_3.0.7/x86_64-anolis-linux-gnu" CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at cmake/cotire.cmake:42 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Call Stack (most recent call first): CMakeLists.txt:21 (include) -- cotire 1.6.6 loaded. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Boost: /usr/include (found version "1.81.0") found components: date_time filesystem iostreams regex system thread chrono atomic -- C CXX target lucene++ cotired. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:453 (cotire_get_target_compile_flags) cmake/cotire.cmake:1927 (cotire_get_target_include_directories) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/core/CMakeLists.txt:42 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:607 (cotire_get_target_compile_flags) cmake/cotire.cmake:1931 (cotire_get_target_compiler_flags) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/core/CMakeLists.txt:42 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:453 (cotire_get_target_compile_flags) cmake/cotire.cmake:1927 (cotire_get_target_include_directories) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/core/CMakeLists.txt:42 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:607 (cotire_get_target_compile_flags) cmake/cotire.cmake:1931 (cotire_get_target_compiler_flags) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/core/CMakeLists.txt:42 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. -- C CXX target lucene++-contrib cotired. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:453 (cotire_get_target_compile_flags) cmake/cotire.cmake:1927 (cotire_get_target_include_directories) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/contrib/CMakeLists.txt:53 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:607 (cotire_get_target_compile_flags) cmake/cotire.cmake:1931 (cotire_get_target_compiler_flags) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/contrib/CMakeLists.txt:53 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:453 (cotire_get_target_compile_flags) cmake/cotire.cmake:1927 (cotire_get_target_include_directories) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/contrib/CMakeLists.txt:53 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:607 (cotire_get_target_compile_flags) cmake/cotire.cmake:1931 (cotire_get_target_compiler_flags) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/contrib/CMakeLists.txt:53 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Deprecation Warning at src/test/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.13") -- CXX target lucene++-tester cotired. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:453 (cotire_get_target_compile_flags) cmake/cotire.cmake:1927 (cotire_get_target_include_directories) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/test/CMakeLists.txt:54 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/cotire.cmake:378 (get_directory_property): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/cotire.cmake:607 (cotire_get_target_compile_flags) cmake/cotire.cmake:1931 (cotire_get_target_compiler_flags) cmake/cotire.cmake:2517 (cotire_generate_target_script) cmake/cotire.cmake:2831 (cotire_process_target_language) cmake/cotire.cmake:2972 (cotire_target) src/test/CMakeLists.txt:54 (cotire) This warning is for project developers. Use -Wno-dev to suppress it. ** Build Summary ** Version: 3.0.7 Prefix: /usr Build Type: release Architecture: x86_64 System: Linux Boost Include: /usr/include Boost Library: /usr/lib64 -- Configuring done (1.2s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/LucenePlusPlus-rel_3.0.7/x86_64-anolis-linux-gnu/anolis-linux-build + /usr/bin/make -O -j80 V=1 VERBOSE=1 lucene++ lucene++-contrib make: *** No rule to make target 'lucene++'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.Hptk4L (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Hptk4L (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.spec\n', 1)] 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 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/lucene++.spec