D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/freecad-0.18.3-1.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9PykA1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf FreeCAD-0.18.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/FreeCAD-0.18.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd FreeCAD-0.18.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/freecad-0.17-zipios.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/freecad-0.17-Version_h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix-fem-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/set_about_freecad.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix_gcc8_ftbfs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix_armel_FTBFS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fix-cmake-extra-license.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/do_not_install_binary_examples.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/exclude_ply.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/disable_memory_check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/remove_doc-files.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf src/zipios++ + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EJOFo1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd FreeCAD-0.18.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined' + export LDFLAGS + 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' + 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_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 -DCMAKE_INSTALL_PREFIX=/usr/lib64/freecad -DCMAKE_INSTALL_LIBDIR=/usr/lib64/freecad/lib -DCMAKE_INSTALL_DATADIR=/usr/share/freecad -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/freecad -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DRESOURCEDIR=/usr/share/freecad -DOpenGL_GL_PREFERENCE=GLVND -DCOIN3D_INCLUDE_DIR=/usr/include/Coin3 -DFREECAD_USE_EXTERNAL_PIVY=TRUE -DFREECAD_USE_EXTERNAL_SMESH=FALSE -DSMESH_INCLUDE_DIR=/usr/include/smesh -DFREECAD_USE_EXTERNAL_ZIPIOS=TRUE -DMEDFILE_INCLUDE_DIRS=/usr/include/med -DOPENMPI_INCLUDE_DIRS=/usr/include -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2/ -DSHIBOKEN_LIBRARY=/usr/lib64/libshiboken2.cpython-37m-x86_64-linux-gnu.so -DPYSIDE_INCLUDE_DIR=/usr/include/PySide2/ -DPYSIDE_LIBRARY=/usr/lib64/libpyside2.cpython-37m-x86_64-linux-gnu.so ../ -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- 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 -- Compiler: GNU, version: 8.3.1 -- Looking for GL/gl.h -- Looking for GL/gl.h - found -- Looking for C++ include istream -- Looking for C++ include istream - found -- Looking for C++ include ostream -- Looking for C++ include ostream - found -- Looking for C++ include fstream -- Looking for C++ include fstream - found -- Looking for C++ include sstream -- Looking for C++ include sstream - found -- Looking for C++ include ios -- Looking for C++ include ios - found -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Looking for C++ include iomanip -- Looking for C++ include iomanip - found -- Looking for C++ include iostream -- Looking for C++ include iostream - found -- Check for STD namespace -- Check for STD namespace - found -- prefix: /usr/lib64/freecad -- datadir: /usr/share/freecad -- docdir: /usr/share/doc/freecad -- includedir: /usr/include -- libdir: /usr/lib64/freecad/lib -- cmake: 3.15.2 -- Found PythonInterp: /usr/bin/python3 (found version "3.7.4") -- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable exact version "3.7.4") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- 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 -- Found Boost: /usr/include (found version "1.68.0") found components: filesystem program_options regex system thread chrono date_time atomic -- Found Xerces-C: /usr/lib64/libxerces-c.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- PyCXX found: -- Headers: /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/src -- Sources: /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/src/CXX -- Version: 6.2.8 -- -- OpenCASCADE Community Edition has been found. -- Found OCC: /usr/share/cmake/OCE/../../../include/opencascade (found version "6.9.1") -- -- Found OCE/OpenCASCADE version: 6.9.1 -- -- OCE/OpenCASCADE include directory: /usr/share/cmake/OCE/../../../include/opencascade -- -- OCE/OpenCASCADE shared libraries directory: -- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkFiltersParallelDIY2;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2 -- Check for medfile (libmed and libmedc) ... -- Found MEDFile: /usr/include/med -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- We guess that libmed was built using hdf5-serial version -- Checking for one of the modules 'hdf5-serial' -- Found HDF5: /usr/lib64/libhdf5.so (found version "") -- Checking for one of the modules 'ompi-cxx' -- Found SWIG: /usr/bin/swig (found version "3.0.12") -- Found Eigen3: /usr/include (Required is at least version "2.91.0") -- Found Freetype: /usr/lib64/libfreetype.so (found version "2.10.1") -- Found OpenGL: /usr/lib64/libGL.so -- Found OpenGLU: /usr/lib64/libGLU.so -- Checking for module 'Coin' -- Found Coin, version 3.1.3 -- Found Spnav: /usr/lib64/libspnav.so -- Shiboken2Config: Using default python: .cpython-37m-x86_64-linux-gnu -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.4", minimum required is "3") -- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable version "3.7.4", minimum required is "3") -- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.7m' -- SHIBOKEN_PYTHON_LIBRARIES computed to value: '' -- libshiboken built for RelWithDebInfo -- PYTHON_CONFIG_SUFFIX: .cpython-37m-x86_64-linux-gnu -- libshiboken built for RelWithDebInfo -- -- matplotlib-2.2.2 has been found. -- Platform is 64-bit, set -D_OCC64 -- Build type: RelWithDebInfo /bin/sh: git: command not found /bin/sh: bzr: command not found /bin/sh: svnversion: command not found /bin/sh: svn: command not found Unknown version control /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Build/Version.h.out written -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/BaseClassPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/BoundBoxPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/CoordinateSystemPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/PersistencePy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/VectorPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/MatrixPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/RotationPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/PlacementPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/AxisPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/UnitPy.cpp -- /home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/src/Base/QuantityPy.cpp -- Found zipios++: /usr/lib64/libzipios.so CMake Error at src/Base/CMakeLists.txt:381 (message): Using external zipios++ was specified but was not found. -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/FreeCAD-0.18.3/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EJOFo1 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EJOFo1 (%build) I: [iurt_root_command] ERROR: chroot