D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/cgal-4.11-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X9DrMr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf CGAL-4.11 + /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/CGAL-4.11.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd CGAL-4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/README.Mageia . + sed -i -e s/LIBNAME/lib64cgal13/g -e s/DEVNAME/lib64cgal-devel/g README.Mageia + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ld1lbl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd CGAL-4.11 + '[' 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 + 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 -DCMAKE_BUILD_TYPE=Release -DCGAL_INSTALL_LIB_DIR=lib64 -DCGAL_INSTALL_DOC_DIR= -- The CXX compiler identification is GNU 7.3.0 -- The C compiler identification is GNU 7.3.0 -- 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 -- 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 CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy): The OLD behavior for policy CMP0042 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. == Setting paths == -- Build CGAL from release in directory CGAL-4.11 -- Packagenames: CGAL-4.11 == Setting paths (DONE) == == Generate version files == -- CGAL_MAJOR_VERSION=4 -- CGAL_MINOR_VERSION=11 -- CGAL_BUGFIX_VERSION=0 -- CGAL_SONAME_VERSION=13 -- CGAL_SOVERSION =13.0.1 -- CGAL_REFERENCE_CACHE_DIR= -- Building shared libraries -- Targetting Unix Makefiles -- Using /usr/bin/c++ compiler. -- USING CMake version: 3.11.2 -- System: Linux -- USING GCC_VERSION = '7.3.0' -- Using gcc version 4 or later. Adding -frounding-math == Generate version files (DONE) == == Set up flags == -- Build type: Release -- USING CXXFLAGS = '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -frounding-math -O3 -DNDEBUG' -- USING LDFLAGS = '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' == Set up flags (DONE) == == Detect external libraries == -- External libraries supported: GMP;GMPXX;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE -- Preconfiguring library: GMP ... -- Found GMP: /usr/lib64/libgmp.so -- GMP has been preconfigured: -- UseGMP-file: -- GMP include: /usr/include -- GMP libraries: /usr/lib64/libgmp.so -- GMP definitions: -- USING GMP_VERSION = '6.1.2' -- Preconfiguring library: MPFR ... -- Found MPFR: /usr/lib64/libmpfr.so -- MPFR has been preconfigured: -- UseMPFR-file: -- MPFR include: /usr/include -- MPFR libraries: /usr/lib64/libmpfr.so -- MPFR definitions: -- USING MPFR_VERSION = '4.0.1' -- __cplusplus is 201402 -- --> Do not link with Boost.Thread -- Boost version: 1.66.0 -- Boost include: /usr/include -- Boost libraries: -- Boost definitions: -- USING BOOST_VERSION = '1.66.0' == Detect external libraries (DONE) == == Write compiler_config.h == -- Performing Test CGAL_CFG_DENORMALS_COMPILE_BUG - Success -- Performing Test CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG - Success -- Performing Test CGAL_CFG_IEEE_754_BUG - Success -- Performing Test CGAL_CFG_ISTREAM_INT_BUG - Success -- Performing Test CGAL_CFG_MATCHING_BUG_5 - Success -- Performing Test CGAL_CFG_MATCHING_BUG_6 - Success -- Performing Test CGAL_CFG_MATCHING_BUG_7 - Success -- Performing Test CGAL_CFG_MATCHING_BUG_8 - Success -- Performing Test CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG - Success -- Performing Test CGAL_CFG_NO_LIMITS - Success -- Performing Test CGAL_CFG_NO_NEXTAFTER - Success -- Performing Test CGAL_CFG_NO_STL - Success -- Performing Test CGAL_CFG_NUMERIC_LIMITS_BUG - Success -- Performing Test CGAL_CFG_OUTOFLINE_MEMBER_DEFINITION_BUG - Success -- Performing Test CGAL_CFG_TEMPLATE_IN_DEFAULT_PARAMETER_BUG - Success -- Performing Test CGAL_CFG_TYPENAME_BEFORE_DEFAULT_ARGUMENT_BUG - Success -- Performing Test CGAL_CFG_USING_BASE_MEMBER_BUG_2 - Success == Write compiler_config.h (DONE) == == Generating build files == Configuring libCGAL -- Requested component: MPFR -- Requested component: GMP libCGAL is configured -- Sources for CGAL component library 'CGAL_Core' detected Configuring libCGAL_Core -- Requested component: MPFR -- Requested component: GMP -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- 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 -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- system -- chrono -- date_time -- atomic libCGAL_Core is configured -- Sources for CGAL component library 'CGAL_ImageIO' detected Configuring libCGAL_ImageIO -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- USING ZLIB_VERSION = '1.2.11' -- Requested component: MPFR -- Requested component: GMP libCGAL_ImageIO is configured -- Sources for CGAL component library 'CGAL_Qt5' detected Configuring libCGAL_Qt5 CMake Deprecation Warning at src/CGAL_Qt5/CMakeLists.txt:4 (cmake_policy): The OLD behavior for policy CMP0053 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. CMake Deprecation Warning at src/CGAL_Qt5/CMakeLists.txt:7 (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. -- USING Qt5_VERSION = '5.11.0' -- OpenGL include: /usr/include -- OpenGL libraries: /usr/lib64/libGL.so;/usr/lib64/libGLU.so -- OpenGL definitions: -- Qt5Core include: /usr/lib64/qt5/include/;/usr/lib64/qt5/include/QtCore;/usr/lib64/qt5/.//mkspecs/linux-g++ -- Qt5 libraries: Qt5::Core Qt5::Gui Qt5::Svg Qt5::OpenGL -- Qt5Core definitions: -DQT_CORE_LIB -- moc executable: /usr/lib64/qt5/bin/moc -- uic executable: /usr/lib64/qt5/bin/uic -- Requested component: MPFR -- Requested component: GMP CMake Error at src/CGAL_Qt5/CMakeLists.txt:97 (qt5_use_modules): Unknown CMake command "qt5_use_modules". -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/CGAL-4.11/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/CGAL-4.11/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ld1lbl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ld1lbl (%build) I: [iurt_root_command] ERROR: chroot