D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/lyx-2.3.0-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9pcKWi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lyx-2.3.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/lyx-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lyx-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aXDp0D + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lyx-2.3.0 + '[' 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 + /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_SKIP_RPATH:BOOL=ON -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 -DDBUS_SERVICES_DIR=/usr/share/dbus-1/services -DDBUS_INTERFACES_DIR=/usr/share/dbus-1/interfaces '-GUnix Makefiles' -DLYX_EXTERNAL_BOOST=ON -DLYX_ENCHANT=ON -DLYX_RELEASE=OFF -DLYX_PACKAGE_SUFFIX=OFF -DLYX_PROGRAM_SUFFIX=OFF -- TOP_SRC_DIR = /home/pterjan/rpmbuild/BUILD/lyx-2.3.0 -- -- Building out-of-source -- 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 -- -- CXX11_FLAG_DETECTED = "--std=c++14" -- Compiler supports std_regex -- Found CXX11Compiler: --std=c++14 -- Using GCC version 7.3.0 -- CMAKE_COMPILER_IS_GNUCXX = 1 -- CMAKE_CXX_STANDARD set to 14 -- Qt5Core_VERSION = 5.11.0 -- Found Qt-Version 5.11.0 -- Looking for magic_file -- Looking for magic_file - found -- Looking for magic_open -- Looking for magic_open - found -- Looking for magic_load -- Looking for magic_load - found -- Looking for magic_close -- Looking for magic_close - found -- Looking for magic_error -- Looking for magic_error - found -- Found Magic: /usr/include -- Could NOT find MYTHESLIB (missing: MYTHESLIB_LIBRARY MYTHESLIB_INCLUDE_DIR) -- Could NOT find ASPELL (missing: ASPELL_LIBRARY ASPELL_INCLUDE_DIR) -- ASPELL not found, building without ASPELL support -- Found ENCHANT: /usr/lib64/libenchant.so -- Building with USE_ENCHANT -- Could NOT find HUNSPELL (missing: HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR) -- HUNSPELL not found, building without Hunspell support -- Could NOT find LYX_PY_polib (missing: LYX_PY_POLIB) -- You will be unable to update layouttranslations file -- Looking for iconv -- Looking for iconv - found -- Found iconv library: -- Found Z: /usr/lib64/libz.so -- -- ----- PACKAGE : lyx -- ----- PACKAGE_VERSION : 2.3.0 -- ----- PROGRAM_SUFFIX : -- ----- LYX_DATE : 2018-02-24 -- ----- LYX_DIR_VER : LYX_DIR_23x -- ----- LYX_USERDIR_VER : LYX_USERDIR_23x -- ----- LYX_ABS_TOP_SRCDIR : /home/pterjan/rpmbuild/BUILD/lyx-2.3.0 -- ----- LYX_ABS_INSTALLED_DATADIR : /usr -- ----- LYX_ABS_INSTALLED_LOCALEDIR : /usr/share/locale -- ----- LYX_INSTALL_SUFFIX : 2.3 -- -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Looking for include file aspell.h -- Looking for include file aspell.h - not found -- Looking for include file aspell/aspell.h -- Looking for include file aspell/aspell.h - not found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/utime.h -- Looking for include file sys/utime.h - not found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file argz.h -- Looking for include file argz.h - found -- Looking for C++ include regex -- Looking for C++ include regex - found -- Looking for alloca -- Looking for alloca - not found -- Looking for __argz_count -- Looking for __argz_count - found -- Looking for __argz_next -- Looking for __argz_next - found -- Looking for __argz_stringify -- Looking for __argz_stringify - found -- Looking for chmod -- Looking for chmod - found -- Looking for close -- Looking for close - found -- Looking for _close -- Looking for _close - not found -- Looking for dcgettext -- Looking for dcgettext - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for fork -- Looking for fork - found -- Looking for __fsetlocking -- Looking for __fsetlocking - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for getegid -- Looking for getegid - found -- Looking for getgid -- Looking for getgid - found -- Looking for getpid -- Looking for getpid - found -- Looking for _getpid -- Looking for _getpid - not found -- Looking for gettext -- Looking for gettext - found -- Looking for getuid -- Looking for getuid - found -- Looking for lstat -- Looking for lstat - found -- Looking for lockf -- Looking for lockf - found -- Looking for mempcpy -- Looking for mempcpy - found -- Looking for mkdir -- Looking for mkdir - found -- Looking for _mkdir -- Looking for _mkdir - not found -- Looking for mkfifo -- Looking for mkfifo - found -- Looking for open -- Looking for open - found -- Looking for _open -- Looking for _open - not found -- Looking for pclose -- Looking for pclose - found -- Looking for _pclose -- Looking for _pclose - not found -- Looking for popen -- Looking for popen - found -- Looking for _popen -- Looking for _popen - not found -- Looking for putenv -- Looking for putenv - found -- Looking for readlink -- Looking for readlink - found -- Looking for setenv -- Looking for setenv - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for tsearch -- Looking for tsearch - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for wcslen -- Looking for wcslen - found -- Looking for alloca -- Looking for alloca - not found -- Looking for asprintf -- Looking for asprintf - not found -- Looking for wprintf -- Looking for wprintf - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for printf -- Looking for printf - found -- Looking for pid_t -- Looking for pid_t - not found -- Looking for intmax_t -- Looking for intmax_t - not found -- Looking for uintmax_t -- Looking for uintmax_t - not found -- Looking for LC_MESSAGES -- Looking for LC_MESSAGES - found -- Looking for PATH_MAX -- Looking for PATH_MAX - found -- Check size of intmax_t -- Check size of intmax_t - done -- Check size of long double -- Check size of long double - done -- Check size of long long -- Check size of long long - done -- Check size of wchar_t -- Check size of wchar_t - done -- Check size of wint_t -- Check size of wint_t - failed -- Performing Test HAVE_ICONV_CONST -- Performing Test HAVE_ICONV_CONST - Failed -- Performing Test SIZEOF_WCHAR_T_IS_2 -- Performing Test SIZEOF_WCHAR_T_IS_2 - Failed -- Performing Test SIZEOF_WCHAR_T_IS_4 -- Performing Test SIZEOF_WCHAR_T_IS_4 - Success -- Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG -- Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG - Failed -- Performing Test LYX_CALLSTACK_PRINTING -- Performing Test LYX_CALLSTACK_PRINTING - Success -- Performing Test lyx_cv_lib_stdcxx -- Performing Test lyx_cv_lib_stdcxx - Success -- Performing Test USE_GLIBCXX_CXX11_ABI -- Performing Test USE_GLIBCXX_CXX11_ABI - Success -- Performing Test lyx_cv_prog_clang -- Performing Test lyx_cv_prog_clang - Failed -- Performing Test HAVE_DEF_MAKE_UNIQUE -- Performing Test HAVE_DEF_MAKE_UNIQUE - Success -- Performing Test LYX_USE_STD_CALL_ONCE -- Performing Test LYX_USE_STD_CALL_ONCE - Success -- Looking for C++ include QtGui/qtgui-config.h -- Looking for C++ include QtGui/qtgui-config.h - found -- Performing Test QT_USES_X11 -- Performing Test QT_USES_X11 - Success -- Performing Test QT_HAS_X11_EXTRAS -- Performing Test QT_HAS_X11_EXTRAS - Success CMake Error at CMakeLists.txt:664 (qt5_use_modules): Unknown CMake command "qt5_use_modules". Call Stack (most recent call first): src/frontends/qt4/CMakeLists.txt:64 (qt_use_modules) -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/lyx-2.3.0/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/lyx-2.3.0/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.aXDp0D (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.aXDp0D (%build) I: [iurt_root_command] ERROR: chroot