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/libgit2.spec'], chrootPath='/var/lib/mock/dist-an23-build-250355-63372/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/libgit2.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=1681084800 Wrote: /builddir/build/SRPMS/libgit2-1.5.1-2.an23.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/libgit2.spec'], chrootPath='/var/lib/mock/dist-an23-build-250355-63372/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/libgit2.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=1681084800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3tOV88 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgit2-1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-skipping-online-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find examples -name .gitignore -delete -print + rm -vr deps removed 'deps/chromium-zlib/CMakeLists.txt' removed directory 'deps/chromium-zlib' removed 'deps/http-parser/CMakeLists.txt' removed 'deps/http-parser/COPYING' removed 'deps/http-parser/http_parser.c' removed 'deps/http-parser/http_parser.h' removed directory 'deps/http-parser' removed 'deps/ntlmclient/CMakeLists.txt' removed 'deps/ntlmclient/compat.h' removed 'deps/ntlmclient/crypt.h' removed 'deps/ntlmclient/crypt_commoncrypto.c' removed 'deps/ntlmclient/crypt_commoncrypto.h' removed 'deps/ntlmclient/crypt_mbedtls.c' removed 'deps/ntlmclient/crypt_mbedtls.h' removed 'deps/ntlmclient/crypt_openssl.c' removed 'deps/ntlmclient/crypt_openssl.h' removed 'deps/ntlmclient/ntlm.c' removed 'deps/ntlmclient/ntlm.h' removed 'deps/ntlmclient/ntlmclient.h' removed 'deps/ntlmclient/unicode.h' removed 'deps/ntlmclient/unicode_builtin.c' removed 'deps/ntlmclient/unicode_builtin.h' removed 'deps/ntlmclient/unicode_iconv.c' removed 'deps/ntlmclient/unicode_iconv.h' removed 'deps/ntlmclient/utf8.h' removed 'deps/ntlmclient/util.c' removed 'deps/ntlmclient/util.h' removed directory 'deps/ntlmclient' removed 'deps/pcre/CMakeLists.txt' removed 'deps/pcre/COPYING' removed 'deps/pcre/LICENCE' removed 'deps/pcre/cmake/COPYING-CMAKE-SCRIPTS' removed 'deps/pcre/cmake/FindEditline.cmake' removed 'deps/pcre/cmake/FindPackageHandleStandardArgs.cmake' removed 'deps/pcre/cmake/FindReadline.cmake' removed directory 'deps/pcre/cmake' removed 'deps/pcre/config.h.in' removed 'deps/pcre/pcre.h' removed 'deps/pcre/pcre_byte_order.c' removed 'deps/pcre/pcre_chartables.c' removed 'deps/pcre/pcre_compile.c' removed 'deps/pcre/pcre_config.c' removed 'deps/pcre/pcre_dfa_exec.c' removed 'deps/pcre/pcre_exec.c' removed 'deps/pcre/pcre_fullinfo.c' removed 'deps/pcre/pcre_get.c' removed 'deps/pcre/pcre_globals.c' removed 'deps/pcre/pcre_internal.h' removed 'deps/pcre/pcre_jit_compile.c' removed 'deps/pcre/pcre_maketables.c' removed 'deps/pcre/pcre_newline.c' removed 'deps/pcre/pcre_ord2utf8.c' removed 'deps/pcre/pcre_printint.c' removed 'deps/pcre/pcre_refcount.c' removed 'deps/pcre/pcre_string_utils.c' removed 'deps/pcre/pcre_study.c' removed 'deps/pcre/pcre_tables.c' removed 'deps/pcre/pcre_ucd.c' removed 'deps/pcre/pcre_valid_utf8.c' removed 'deps/pcre/pcre_version.c' removed 'deps/pcre/pcre_xclass.c' removed 'deps/pcre/pcreposix.c' removed 'deps/pcre/pcreposix.h' removed 'deps/pcre/ucp.h' removed directory 'deps/pcre' removed 'deps/winhttp/CMakeLists.txt' removed 'deps/winhttp/COPYING.GPL' removed 'deps/winhttp/COPYING.LGPL' removed 'deps/winhttp/urlmon.h' removed 'deps/winhttp/winhttp.def' removed 'deps/winhttp/winhttp.h' removed 'deps/winhttp/winhttp64.def' removed directory 'deps/winhttp' removed 'deps/zlib/CMakeLists.txt' removed 'deps/zlib/COPYING' removed 'deps/zlib/adler32.c' removed 'deps/zlib/crc32.c' removed 'deps/zlib/crc32.h' removed 'deps/zlib/deflate.c' removed 'deps/zlib/deflate.h' removed 'deps/zlib/gzguts.h' removed 'deps/zlib/infback.c' removed 'deps/zlib/inffast.c' removed 'deps/zlib/inffast.h' removed 'deps/zlib/inffixed.h' removed 'deps/zlib/inflate.c' removed 'deps/zlib/inflate.h' removed 'deps/zlib/inftrees.c' removed 'deps/zlib/inftrees.h' removed 'deps/zlib/trees.c' removed 'deps/zlib/trees.h' removed 'deps/zlib/zconf.h' removed 'deps/zlib/zlib.h' removed 'deps/zlib/zutil.c' removed 'deps/zlib/zutil.h' removed directory 'deps/zlib' removed directory 'deps' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8dENCt + RPM_EC=0 ++ jobs -p + exit 0 + 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 -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 -I/usr/lib64/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/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 libgit2-1.5.1 + 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 -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 -I/usr/lib64/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/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 -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGEX_BACKEND=pcre2 -DUSE_HTTP_PARSER=system -DUSE_SHA1=HTTPS -DUSE_HTTPS=OpenSSL -DUSE_NTLMCLIENT=OFF -- The C 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STRUCT_STAT_ST_MTIM -- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Success -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Failed -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC -- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_NSEC -- Performing Test HAVE_STRUCT_STAT_NSEC - Success -- Looking for futimens -- Looking for futimens - found -- Performing Test IS_WALL_SUPPORTED -- Performing Test IS_WALL_SUPPORTED - Success -- Performing Test IS_WEXTRA_SUPPORTED -- Performing Test IS_WEXTRA_SUPPORTED - Success -- Performing Test IS_FVISIBILITY_HIDDEN_SUPPORTED -- Performing Test IS_FVISIBILITY_HIDDEN_SUPPORTED - Success -- Performing Test IS_WDOCUMENTATION_SUPPORTED -- Performing Test IS_WDOCUMENTATION_SUPPORTED - Failed -- Performing Test IS_WNO_DOCUMENTATION_DEPRECATED_SYNC_SUPPORTED -- Performing Test IS_WNO_DOCUMENTATION_DEPRECATED_SYNC_SUPPORTED - Success -- Performing Test IS_WNO_MISSING_FIELD_INITIALIZERS_SUPPORTED -- Performing Test IS_WNO_MISSING_FIELD_INITIALIZERS_SUPPORTED - Success -- Performing Test IS_WMISSING_DECLARATIONS_SUPPORTED -- Performing Test IS_WMISSING_DECLARATIONS_SUPPORTED - Success -- Performing Test IS_WSTRICT_ALIASING_SUPPORTED -- Performing Test IS_WSTRICT_ALIASING_SUPPORTED - Success -- Performing Test IS_WSTRICT_PROTOTYPES_SUPPORTED -- Performing Test IS_WSTRICT_PROTOTYPES_SUPPORTED - Success -- Performing Test IS_WDECLARATION_AFTER_STATEMENT_SUPPORTED -- Performing Test IS_WDECLARATION_AFTER_STATEMENT_SUPPORTED - Success -- Performing Test IS_WSHIFT_COUNT_OVERFLOW_SUPPORTED -- Performing Test IS_WSHIFT_COUNT_OVERFLOW_SUPPORTED - Success -- Performing Test IS_WUNUSED_CONST_VARIABLE_SUPPORTED -- Performing Test IS_WUNUSED_CONST_VARIABLE_SUPPORTED - Success -- Performing Test IS_WUNUSED_FUNCTION_SUPPORTED -- Performing Test IS_WUNUSED_FUNCTION_SUPPORTED - Success -- Performing Test IS_WINT_CONVERSION_SUPPORTED -- Performing Test IS_WINT_CONVERSION_SUPPORTED - Success -- Performing Test IS_WC11_EXTENSIONS_SUPPORTED -- Performing Test IS_WC11_EXTENSIONS_SUPPORTED - Failed -- Performing Test IS_WC99_C11_COMPAT_SUPPORTED -- Performing Test IS_WC99_C11_COMPAT_SUPPORTED - Success -- Performing Test IS_WFORMAT_SUPPORTED -- Performing Test IS_WFORMAT_SUPPORTED - Success -- Performing Test IS_WFORMAT_SECURITY_SUPPORTED -- Performing Test IS_WFORMAT_SECURITY_SUPPORTED - Success -- Checking for module 'heimdal-gssapi' -- Package 'heimdal-gssapi', required by 'virtual:world', not found -- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIR) -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.7") CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (HTTP_Parser) does not match the name of the calling package (HTTPParser). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindHTTPParser.cmake:30 (find_package_handle_standard_args) cmake/SelectHTTPParser.cmake:3 (find_package) src/CMakeLists.txt:42 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found HTTP_Parser: /usr/include -- Could NOT find PCRE (missing: PCRE_LIBRARY PCRE_INCLUDE_DIR) -- Found PCRE2: /usr/lib64/libpcre2-8.so -- LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of the default search path. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Checking prototype qsort_r for GIT_QSORT_R_BSD -- Checking prototype qsort_r for GIT_QSORT_R_BSD - False -- Checking prototype qsort_r for GIT_QSORT_R_GNU -- Checking prototype qsort_r for GIT_QSORT_R_GNU - True -- Looking for qsort_s -- Looking for qsort_s - not found -- Looking for getentropy -- Looking for getentropy - found -- Looking for getloadavg -- Looking for getloadavg - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found CMake Error at tests/libgit2/CMakeLists.txt:72: Parse error. Function missing ending ")". End of file reached. -- Found PythonInterp: /usr/bin/python3 (found version "3.10.10") -- Enabled features: * nanoseconds, support nanosecond precision file mtimes and ctimes * HTTPS, using OpenSSL * SHA1, using OpenSSL * SHA256, using OpenSSL * http-parser, http-parser support (system) * regex, using system PCRE2 * zlib, using system zlib * futimens, futimens support * threadsafe, threadsafe support -- Disabled features: * debugpool, debug pool allocator * debugalloc, debug strict allocators * debugopen, path validation in open * SPNEGO, SPNEGO authentication support * SSH, SSH transport support * ntlmclient, NTLM authentication support for Unix * iconv, iconv encoding conversion support -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.8dENCt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8dENCt (%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/libgit2.spec