D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/nextcloud-client-2.3.3-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DyhJKy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf client_theming-2.3.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/client_theming-2.3.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd client_theming-2.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + cd client_theming-2.3.3 + /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/owncloudclient-2.3.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -Rf client + mv owncloudclient-2.3.3 client + pushd client ~/rpmbuild/BUILD/client_theming-2.3.3/client ~/rpmbuild/BUILD/client_theming-2.3.3 + echo 'Patch #0 (nextcloud-client-2.3.3-syslibs.patch):' Patch #0 (nextcloud-client-2.3.3-syslibs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/3rdparty/qtsingleapplication/qtlocalpeer.h patching file src/gui/application.cpp Hunk #1 succeeded at 95 (offset 3 lines). patching file src/gui/application.h patching file src/gui/CMakeLists.txt + popd ~/rpmbuild/BUILD/client_theming-2.3.3 + echo 'Patch #1 (nextcloud-client-icon.patch):' Patch #1 (nextcloud-client-icon.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file client/mirall.desktop.in patching file nextcloudtheme/OEM.cmake + rm -rf src/3rdparty/qtlockedfile src/3rdparty/qtsingleapplication + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VN24ud + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd client_theming-2.3.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + QTDIR=/usr/lib64/qt5 + export QTDIR + PATH=/usr/lib64/qt5/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt5/bin:/home/pterjan/.local/bin:/home/pterjan/bin + export PATH + 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 + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build ++ pwd + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -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 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_BINDIR=/usr/bin -DCMAKE_INSTALL_FULL_LIBEXECDIR=/usr/libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR_KF5=/usr/libexec/kf5 -DCMAKE_USE_RELATIVE_PATHS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBIN_INSTALL_DIR:PATH=/usr/bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=lib64 -DKCFG_INSTALL_DIR:PATH=/usr/share/config.kcfg -DPLUGIN_INSTALL_DIR:PATH=/usr/lib64/qt5/plugins -DQT_PLUGIN_INSTALL_DIR:PATH=/usr/lib64/qt5/plugins -DQML_INSTALL_DIR:PATH=/usr/lib64/qt5/qml -DIMPORTS_INSTALL_DIR:PATH=/usr/lib64/qt5/imports -DECM_MKSPECS_INSTALL_DIR:PATH=/usr/lib64/qt5/mkspecs/modules -DSYSCONF_INSTALL_DIR:PATH=/etc -DLIBEXEC_INSTALL_DIR:PATH=/usr/libexec -DKF5_LIBEXEC_INSTALL_DIR=/usr/libexec/kf5 -DKF5_INCLUDE_INSTALL_DIR=/usr/include/KF5 -DDBUS_INTERFACES_INSTALL_DIR=share/dbus-1/interfaces -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/appdata -DKDE_INSTALL_PLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON -DKDE_INSTALL_BINDIR:PATH=/usr/bin -DKDE_INSTALL_INCLUDEDIR:PATH=/usr/include -DKDE_INSTALL_KCFGDIR:PATH=/usr/share/config.kcfg -DKDE_INSTALL_LIBDIR:PATH=/usr/lib64 -DKDE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/appdata -DKDE_INSTALL_PLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QMLDIR:PATH=/usr/lib64/qt5/qml -DKDE_INSTALL_QTPLUGINDIR:PATH=/usr/lib64/qt5/plugins -DKDE_INSTALL_QTQUICKIMPORTSDIR:PATH=/usr/lib64/qt5/imports -DKDE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -DOEM_THEME_DIR=/home/pterjan/rpmbuild/BUILD/client_theming-2.3.3/build/../nextcloudtheme ../client -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build of crashreporter disabled. 57bc7918d7b0650c116f3512787f7677d4e5ab17 -- GIT_SHA1 57bc7918d7b0650c116f3512787f7677d4e5ab17 -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "1.1.0h", minimum required is "1.0.0") -- Could NOT find INOTIFY (missing: INOTIFY_LIBRARY_DIR) -- Found Sphinx: /usr/bin/sphinx-build -- Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'sqlite3' -- Found sqlite3, version 3.24.0 -- Found SQLite3: /usr/lib64/libsqlite3.so (Required is at least version "3.8.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Performing Test WITH_FPIC -- Performing Test WITH_FPIC - Success -- Performing Test WITH_STACK_PROTECTOR -- Performing Test WITH_STACK_PROTECTOR - Success -- Performing Test WITH_FORTIFY_SOURCE -- Performing Test WITH_FORTIFY_SOURCE - Success -- Looking for iconv.h -- Looking for iconv.h - found -- Looking for sys/iconv.h -- Looking for sys/iconv.h - not found -- Looking for iconv -- Looking for iconv - found -- Checking prototype iconv for HAVE_ICONV_CONST - False -- Found Iconv: /usr/include -- Found SQLite3: /usr/lib64/libsqlite3.so;/usr/lib64/libsqlite3.so (Required is at least version "3.8.0") -- Looking for argp.h -- Looking for argp.h - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for fnmatch -- Looking for fnmatch - found -- Looking for timegm -- Looking for timegm - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for utimes -- Looking for utimes - found -- Looking for lstat -- Looking for lstat - found -- Copy file from /home/pterjan/rpmbuild/BUILD/client_theming-2.3.3/client/csync/CTestCustom.cmake to /home/pterjan/rpmbuild/BUILD/client_theming-2.3.3/build/csync/CTestCustom.cmake -- 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 -- Found Qt5 core, checking for further dependencies... -- Using Qt 5! -- Found Qt5Keychain: /usr/lib64/libqt5keychain.so CMake Error at src/libsync/CMakeLists.txt:142 (qt5_use_modules): Unknown CMake command "qt5_use_modules". -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/client_theming-2.3.3/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/client_theming-2.3.3/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VN24ud (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VN24ud (%build) I: [iurt_root_command] ERROR: chroot