D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/cgns-4.1.1-2.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.JLacHc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf CGNS-4.1.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/CGNS-4.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd CGNS-4.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/cgns-3.3.1-libdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dxK3Uf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd CGNS-4.1.1 + '[' 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 + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/cmake -Wno-dev -S . -B build -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 -DCGNS_ENABLE_FORTRAN:BOOL=ON -DCGNS_BUILD_CGNSTOOLS:BOOL=ON -DCGNS_ENABLE_HDF5:BOOL=ON -DCGNS_BUILD_SHARED:BOOL=ON -DHDF5_NEED_ZLIB:BOOL=ON -DCGNS_ENABLE_64BIT:BOOL=ON -- The C compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 long -- Check size of long - done -- Check size of off_t -- Check size of off_t - done -- The Fortran compiler identification is GNU 10.2.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /usr/bin/gfortran - skipped -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 - yes -- Detecting Fortran/C Interface -- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling -- Fortran name mangling convention: LOWERCASE_ -- HDF5 find comps: C;shared -- HDF5 C libs:1 static: and shared:1 CMake Error at CMakeLists.txt:207 (add_executable): add_executable cannot create imported target "h5dump" because another target with the same name already exists. -- HDF5-1.10.6 found: INC=/usr/include; TOOLS=/usr/bin -- HDF5-1.10.6 found: INC=/usr/include; TOOLS=/usr/bin HDF5_BUILD_SHARED_LIBS=YES -- HDF5 link libs: hdf5-shared -- Testing Fortran Fortran2003 - OK -- Testing Fortran Fortran2008TS - OK -- Testing Fortran Fortran2008 - OK -- Testing Fortran Sizeof_int - OK -- Testing Fortran FortranConcat - Fail -- Testing HDF5 Multi_Dataset - NOT FOUND -- Testing HDF5 Collective_metadata - NOT FOUND -- Testing HDF5 H5Pset_file_space_strategy - OK -- Performing Test CHECK_HAVE_STAT64_STRUCT -- Performing Test CHECK_HAVE_STAT64_STRUCT - Failed -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found Tclsh: /bin/tclsh (found version "8.6") -- Found TCL: /usr/lib64/libtcl.so -- Found TCLTK: /usr/lib64/libtcl.so -- Found TK: /usr/lib64/libtk.so -- Configuring incomplete, errors occurred! See also "/home/iurt/rpmbuild/BUILD/CGNS-4.1.1/build/CMakeFiles/CMakeOutput.log". See also "/home/iurt/rpmbuild/BUILD/CGNS-4.1.1/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.dxK3Uf (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.dxK3Uf (%build) I: [iurt_root_command] ERROR: chroot