D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/apt-mga-2.1.8-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1Ass8O + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf apt-2.1.8 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/apt_2.1.8.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apt-2.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/apt_0.8.9-fix-build.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VQdo2x + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd apt-2.1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + perl -pi -e 's/^\[type: docbook\]/#[type: docbook]/' doc/po4a.conf + perl -pi -e 's/^\[type: sgml\]/#[type: sgml]/' doc/po4a.conf + mkdir -p build/doc/doxygen + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -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 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for native LFS support -- Looking for native LFS support - found -- Found LFS: TRUE -- Looking for iconv_open -- Looking for iconv_open - found -- Found Iconv: /usr/include -- Found Perl: /usr/bin/perl (found version "5.32.1") -- Found Intl: built in to C library -- Performing Test have-compiler-flag:-Wall -- Performing Test have-compiler-flag:-Wall - Success -- Performing Test have-compiler-flag:-Wextra -- Performing Test have-compiler-flag:-Wextra - Success -- Performing Test have-compiler-flag:-Wcast-align -- Performing Test have-compiler-flag:-Wcast-align - Success -- Performing Test have-compiler-flag:-Wlogical-op -- Performing Test have-compiler-flag:-Wlogical-op - Success -- Performing Test have-compiler-flag:-Wredundant-decls -- Performing Test have-compiler-flag:-Wredundant-decls - Success -- Performing Test have-compiler-flag:-Wmissing-declarations -- Performing Test have-compiler-flag:-Wmissing-declarations - Success -- Performing Test have-compiler-flag:-Wunsafe-loop-optimizations -- Performing Test have-compiler-flag:-Wunsafe-loop-optimizations - Success -- Performing Test have-compiler-flag:-Wctor-dtor-privacy -- Performing Test have-compiler-flag:-Wctor-dtor-privacy - Success -- Performing Test have-compiler-flag:-Wdisabled-optimization -- Performing Test have-compiler-flag:-Wdisabled-optimization - Success -- Performing Test have-compiler-flag:-Winit-self -- Performing Test have-compiler-flag:-Winit-self - Success -- Performing Test have-compiler-flag:-Wmissing-include-dirs -- Performing Test have-compiler-flag:-Wmissing-include-dirs - Success -- Performing Test have-compiler-flag:-Wnoexcept -- Performing Test have-compiler-flag:-Wnoexcept - Success -- Performing Test have-compiler-flag:-Wsign-promo -- Performing Test have-compiler-flag:-Wsign-promo - Success -- Performing Test have-compiler-flag:-Wundef -- Performing Test have-compiler-flag:-Wundef - Success -- Performing Test have-compiler-flag:-Wdouble-promotion -- Performing Test have-compiler-flag:-Wdouble-promotion - Success -- Performing Test have-compiler-flag:-Wsuggest-override -- Performing Test have-compiler-flag:-Wsuggest-override - Success -- Performing Test have-compiler-flag:-Werror=suggest-override -- Performing Test have-compiler-flag:-Werror=suggest-override - Success -- Performing Test have-compiler-flag:-Werror=return-type -- Performing Test have-compiler-flag:-Werror=return-type - Success -- Found Berkeley: /usr/include -- Found GnuTLS: /usr/lib64/libgnutls.so (found version "3.7.1") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Checking for module 'liblzma' -- Found liblzma, version 5.2.5 -- Found LZMA: /usr/include -- Checking for module 'liblz4' -- Found liblz4, version 1.9.3 -- Found LZ4: /usr/include -- Checking for module 'libzstd' -- Package 'libzstd', required by 'virtual:world', not found -- Could NOT find ZSTD (missing: ZSTD_INCLUDE_DIRS ZSTD_LIBRARIES) -- Checking for module 'libudev' -- Package 'libudev', required by 'virtual:world', not found -- Could NOT find Udev (missing: UDEV_INCLUDE_DIRS UDEV_LIBRARIES) -- Checking for module 'libsystemd' -- Package 'libsystemd', required by 'virtual:world', not found -- Could NOT find Systemd (missing: SYSTEMD_INCLUDE_DIRS SYSTEMD_LIBRARIES) -- Checking for module 'libseccomp' -- Package 'libseccomp', required by 'virtual:world', not found -- Could NOT find SECCOMP (missing: SECCOMP_INCLUDE_DIRS SECCOMP_LIBRARIES) -- Checking for module 'libgcrypt' -- Found libgcrypt, version 1.9.3 -- Found GCRYPT: /usr/include -- Looking for statfs -- Looking for statfs - found -- Looking for include file sys/params.h -- Looking for include file sys/params.h - not found -- Looking for statfs -- Looking for statfs - not found -- Looking for statvfs -- Looking for statvfs - found -- Performing Test HAVE_STRUCT_STATFS_F_TYPE -- Performing Test HAVE_STRUCT_STATFS_F_TYPE - Success -- Looking for getresuid -- Looking for getresuid - found -- Looking for getresgid -- Looking for getresgid - found -- Looking for setresuid -- Looking for setresuid - found -- Looking for setresgid -- Looking for setresgid - found -- Looking for ptsname_r -- Looking for ptsname_r - found -- Looking for timegm -- Looking for timegm - found -- Looking for include file machine/endian.h -- Looking for include file machine/endian.h - not found -- Looking for include file sys/endian.h -- Looking for include file sys/endian.h - not found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of sig_t -- Check size of sig_t - done -- Check size of sighandler_t -- Check size of sighandler_t - done -- Looking for res_ninit -- Looking for res_ninit - not found -- Performing Test HAVE_FMV_SSE42_AND_CRC32 -- Performing Test HAVE_FMV_SSE42_AND_CRC32 - Failed -- Performing Test HAVE_FMV_SSE42_AND_CRC32DI -- Performing Test HAVE_FMV_SSE42_AND_CRC32DI - Failed -- Found dpkg data dir: /usr/share/dpkg -- Found root group: root /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 11: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 11: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 11: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 11: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 11: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 23: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 23: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 23: dpkg-vendor: command not found /home/iurt/rpmbuild/BUILD/apt-2.1.8/vendor/getinfo: line 30: dpkg-vendor: command not found -- Detected vendor: debian -- Building libapt-pkg 6.0 (release 0) -- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen dot CMake Error at /usr/lib64/cmake/GTest/GTestTargets.cmake:97 (message): The imported target "GTest::gmock" references the file "/usr/lib64/libgmock.so.0.0.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/GTest/GTestTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/GTest/GTestConfig.cmake:42 (include) /usr/share/cmake/Modules/FindGTest.cmake:187 (find_package) test/libapt/CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! See also "/home/iurt/rpmbuild/BUILD/apt-2.1.8/build/CMakeFiles/CMakeOutput.log". See also "/home/iurt/rpmbuild/BUILD/apt-2.1.8/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VQdo2x (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VQdo2x (%build) I: [iurt_root_command] ERROR: chroot