D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/mgba-0.6.3-7.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.2px7kJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mgba-0.6.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mgba-0.6.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mgba-0.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mgba-0.6.3-fix-build-with-qt-5.11.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf src/third-party/libpng src/third-party/sqlite3 src/third-party/zlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tXMEoG + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mgba-0.6.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 -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.2.0 -- The CXX compiler identification is GNU 10.2.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for snprintf_l -- Looking for snprintf_l - not found -- Looking for newlocale -- Looking for newlocale - found -- Looking for freelocale -- Looking for freelocale - found -- Looking for uselocale -- Looking for uselocale - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for chmod -- Looking for chmod - found -- Looking for umask -- Looking for umask - found -- Checking for one of the modules 'libedit' -- Checking for one of the modules 'libavcodec' -- Checking for one of the modules 'libavformat' -- Checking for one of the modules 'libavresample' -- Checking for one of the modules 'libavutil' -- Checking for one of the modules 'libswscale' -- Checking for one of the modules 'minizip' CMake Warning at CMakeLists.txt:136 (message): Requested module minizip missing for feature USE_MINIZIP. Feature disabled. Call Stack (most recent call first): CMakeLists.txt:420 (find_feature) CMake Error at /usr/lib64/cmake/libzip/libzip-targets.cmake:77 (message): The imported target "libzip::zipcmp" references the file "/usr/bin/zipcmp" 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/libzip/libzip-targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/libzip/libzip-config.cmake:42 (include) CMakeLists.txt:132 (find_package) CMakeLists.txt:422 (find_feature) -- Configuring incomplete, errors occurred! See also "/home/iurt/rpmbuild/BUILD/mgba-0.6.3/build/CMakeFiles/CMakeOutput.log". See also "/home/iurt/rpmbuild/BUILD/mgba-0.6.3/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tXMEoG (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tXMEoG (%build) I: [iurt_root_command] ERROR: chroot