D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/exiv2-0.27.3-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dfv0Qb + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf exiv2-0.27.3-Source + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/exiv2-0.27.3-Source.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd exiv2-0.27.3-Source + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/exiv2-0.27.1-fix-pkgconfig-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/exiv2-0.27.3-fcf-protection.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + find . -type f -name '._*' -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.itjXzl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd exiv2-0.27.3-Source + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CPPFLAGS=-DBanAllEntityUsage=1 + CPPFLAGS=-DBanAllEntityUsage=1 + export 'MAKEFILES_TYPE=Unix Makefiles' + MAKEFILES_TYPE='Unix Makefiles' + 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 -G 'Unix Makefiles' -DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_BUILD_PO=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_XMP=ON -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_NLS=ON -DEXIV2_ENABLE_PRINTUCS2=ON -DEXIV2_ENABLE_LENSDATA=ON -DEXIV2_ENABLE_VIDEO=OFF -DEXIV2_ENABLE_WEBREADY=OFF -DEXIV2_ENABLE_CURL=OFF -DEXIV2_ENABLE_SSH=OFF -- The CXX compiler identification is GNU 10.3.0 -- The C compiler identification is GNU 10.3.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 -- 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 -- 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 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.3.0") -- Found Intl: built in to C library -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib64/libc.so -- ICONV_INCLUDE_DIR : -- ICONV_LIBRARIES : /usr/lib64/libc.so -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for mmap -- Looking for mmap - found -- Looking for munmap -- Looking for munmap - found -- Looking for strerror_r -- Looking for strerror_r - found -- Performing Test EXV_STRERROR_R_CHAR_P -- Performing Test EXV_STRERROR_R_CHAR_P - Success -- Looking for C++ include memory.h -- Looking for C++ include memory.h - found -- Looking for C++ include process.h -- Looking for C++ include process.h - not found -- Looking for C++ include stdbool.h -- Looking for C++ include stdbool.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include strings.h -- Looking for C++ include strings.h - found -- Looking for C++ include sys/stat.h -- Looking for C++ include sys/stat.h - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include inttypes.h -- Looking for C++ include inttypes.h - found -- Looking for C++ include unistd.h -- Looking for C++ include unistd.h - found -- Looking for C++ include sys/mman.h -- Looking for C++ include sys/mman.h - found -- Looking for C++ include regex.h -- Looking for C++ include regex.h - found -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success 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) unitTests/CMakeLists.txt:1 (find_package) -- Configuring incomplete, errors occurred! See also "/home/iurt/rpmbuild/BUILD/exiv2-0.27.3-Source/build/CMakeFiles/CMakeOutput.log". See also "/home/iurt/rpmbuild/BUILD/exiv2-0.27.3-Source/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.itjXzl (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.itjXzl (%build) I: [iurt_root_command] ERROR: chroot