D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/luminance-hdr-2.5.1-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GbZblJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf luminance-hdr-2.5.1 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/luminance-hdr-2.5.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd luminance-hdr-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv Changelog Changelog.old + iconv --from-code=ISO-8859-1 --to-code=UTF-8 --output Changelog Changelog.old + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DvmGBl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd luminance-hdr-2.5.1 + '[' 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 -DBUILD_SHARED_LIBS:BOOL=OFF -- 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 CMake Deprecation Warning at CMakeLists.txt:3 (CMAKE_POLICY): The OLD behavior for policy CMP0043 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- C++11 activated for GCC 7.3.0 -- GCC >= 4.3 -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Performing Test HAS_BRANCH_PREDICTION -- Performing Test HAS_BRANCH_PREDICTION - Success -- Found Git: /usr/bin/git (found version "2.17.1") -- Found LIBRAW: /usr/lib64/libraw_r.so -- Found LibRAW (LIBRAW_INCLUDE_DIR = /usr/include) -- Found LibRAW (LIBRAW_LIBRARIES = /usr/lib64/libraw_r.so) -- Found demosaicing pack GPL2 -- Found demosaicing pack GPL3 -- Found FFTW3F (FFTWF_INCLUDE_DIR = /usr/include) -- Found FFTW3F (FFTWF_LIBRARIES = /usr/lib64/libfftw3f.so;/usr/lib64/libfftw3f_threads.so) -- Found LCMS2: /usr/lib64/liblcms2.so -- Found LCMS2 (LCMS2_LIBRARIES = /usr/lib64/liblcms2.so) -- Found LCMS2 (LCMS2_INCLUDE_DIR = /usr/include) -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- program_options -- thread -- chrono -- system -- date_time -- atomic -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'exiv2' -- Found exiv2, version 0.26 -- Found Exiv2: /usr/lib64/libexiv2.so (Required is at least version "0.21") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.9") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.34") -- Found OpenEXR: /usr/lib64/libHalf.so;/usr/lib64/libIex.so;/usr/lib64/libIlmImf.so;/usr/lib64/libIlmThread.so;/usr/lib64/libImath.so -- OpenEXR found -- Found GNU Scientific Library (GSL_LIBRARY = /usr/lib64/libgsl.so) -- Found GNU Scientific Library: (GSL_CBLAS_LIBRARY = /usr/lib64/libgslcblas.so) -- Found GNU Scientific Library: (GSL_INCLUDE_DIR = /usr/include) -- Found JPEG: /usr/lib64/libjpeg.so -- Found CFITSIO: /usr/lib64/libcfitsio.so CMake Error at src/Libpfs/CMakeLists.txt:15 (qt5_use_modules): Unknown CMake command "qt5_use_modules". -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/luminance-hdr-2.5.1/build/CMakeFiles/CMakeOutput.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DvmGBl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DvmGBl (%build) I: [iurt_root_command] ERROR: chroot