+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/gifticlib.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QwhjhM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gifticlib-1.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/gifticlib-1.0.9.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gifticlib-1.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/FIND_PACKAGE(ITK)/d' -e '/SET(GIFTI_INSTALL_LIB_DIR/s/lib/lib64/' CMakeLists.txt + rm -rf build/ + mkdir -p build/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Zl6yIR + umask 022 + cd /builddir/build/BUILD + cd gifticlib-1.0.9 + pushd build/ ~/build/BUILD/gifticlib-1.0.9/build ~/build/BUILD/gifticlib-1.0.9 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../ -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.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 -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.5") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/gifticlib-1.0.9/build + popd ~/build/BUILD/gifticlib-1.0.9 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pMaLra + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 + cd gifticlib-1.0.9 + pushd build/ ~/build/BUILD/gifticlib-1.0.9/build ~/build/BUILD/gifticlib-1.0.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/gifticlib-1.0.9 -B/builddir/build/BUILD/gifticlib-1.0.9/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/make -f CMakeFiles/giftiio_static.dir/build.make CMakeFiles/giftiio_static.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' cd /builddir/build/BUILD/gifticlib-1.0.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles/giftiio_static.dir/DependInfo.cmake --color= Scanning dependencies of target giftiio_static make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/make -f CMakeFiles/giftiio_static.dir/build.make CMakeFiles/giftiio_static.dir/build make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 10%] Building C object CMakeFiles/giftiio_static.dir/gifti_io.c.o /usr/bin/cc -DHAVE_ZLIB -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o CMakeFiles/giftiio_static.dir/gifti_io.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'gifti_compare_nvpairs': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:3091:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] int c, len, diffs = 0; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'compare_labeltables': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:3186:12: warning: variable 'roff' set but not used [-Wunused-but-set-variable] int c, roff, offset, diffs = 0; ^~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'gifti_clear_gifti_image': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:4093:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(gim, 0, sizeof(gim)); ^ [ 20%] Building C object CMakeFiles/giftiio_static.dir/gifti_xml.c.o /usr/bin/cc -DHAVE_ZLIB -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o CMakeFiles/giftiio_static.dir/gifti_xml.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c: In function 'append_to_xform': /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:1984:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( xd->verb > 5 ) ^~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:1988:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' memmove(xd->xdata, xd->xdata+xd->xlen -(unused+1) -xd->doff, ^~~~~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c: In function 'decode_b64': /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:2056:29: warning: variable 'c' set but not used [-Wunused-but-set-variable] unsigned char a, b, c; ^ [ 30%] Linking C static library libgiftiio.a /usr/bin/cmake -P CMakeFiles/giftiio_static.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/giftiio_static.dir/link.txt --verbose=1 /usr/bin/ar qc libgiftiio.a CMakeFiles/giftiio_static.dir/gifti_io.c.o CMakeFiles/giftiio_static.dir/gifti_xml.c.o /usr/bin/ranlib libgiftiio.a make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 30%] Built target giftiio_static /usr/bin/make -f CMakeFiles/giftiio.dir/build.make CMakeFiles/giftiio.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' cd /builddir/build/BUILD/gifticlib-1.0.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles/giftiio.dir/DependInfo.cmake --color= Scanning dependencies of target giftiio make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/make -f CMakeFiles/giftiio.dir/build.make CMakeFiles/giftiio.dir/build make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 40%] Building C object CMakeFiles/giftiio.dir/gifti_io.c.o /usr/bin/cc -DHAVE_ZLIB -Dgiftiio_EXPORTS -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -o CMakeFiles/giftiio.dir/gifti_io.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'gifti_compare_nvpairs': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:3091:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] int c, len, diffs = 0; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'compare_labeltables': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:3186:12: warning: variable 'roff' set but not used [-Wunused-but-set-variable] int c, roff, offset, diffs = 0; ^~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c: In function 'gifti_clear_gifti_image': /builddir/build/BUILD/gifticlib-1.0.9/gifti_io.c:4093:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(gim, 0, sizeof(gim)); ^ [ 50%] Building C object CMakeFiles/giftiio.dir/gifti_xml.c.o /usr/bin/cc -DHAVE_ZLIB -Dgiftiio_EXPORTS -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -o CMakeFiles/giftiio.dir/gifti_xml.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c: In function 'append_to_xform': /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:1984:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( xd->verb > 5 ) ^~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:1988:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' memmove(xd->xdata, xd->xdata+xd->xlen -(unused+1) -xd->doff, ^~~~~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c: In function 'decode_b64': /builddir/build/BUILD/gifticlib-1.0.9/gifti_xml.c:2056:29: warning: variable 'c' set but not used [-Wunused-but-set-variable] unsigned char a, b, c; ^ [ 60%] Linking C shared library libgiftiio.so /usr/bin/cmake -E cmake_link_script CMakeFiles/giftiio.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libgiftiio.so.0 -o libgiftiio.so.0.0.0 CMakeFiles/giftiio.dir/gifti_io.c.o CMakeFiles/giftiio.dir/gifti_xml.c.o -lexpat -lniftiio -lznz -lm -lz /usr/bin/cmake -E cmake_symlink_library libgiftiio.so.0.0.0 libgiftiio.so.0 libgiftiio.so make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 60%] Built target giftiio /usr/bin/make -f CMakeFiles/gifti_tool.dir/build.make CMakeFiles/gifti_tool.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' cd /builddir/build/BUILD/gifticlib-1.0.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles/gifti_tool.dir/DependInfo.cmake --color= Scanning dependencies of target gifti_tool make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/make -f CMakeFiles/gifti_tool.dir/build.make CMakeFiles/gifti_tool.dir/build make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 70%] Building C object CMakeFiles/gifti_tool.dir/gifti_tool.c.o /usr/bin/cc -DHAVE_ZLIB -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o CMakeFiles/gifti_tool.dir/gifti_tool.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c: In function 'ewrite_data_line': /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c:1776:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c:1776:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c:1821:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_tool.c:1821:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~~~ [ 80%] Linking C executable gifti_tool /usr/bin/cmake -E cmake_link_script CMakeFiles/gifti_tool.dir/link.txt --verbose=1 /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/gifti_tool.dir/gifti_tool.c.o -o gifti_tool -L/builddir/build/BUILD/gifticlib-1.0.9/build -Wl,-rpath,/builddir/build/BUILD/gifticlib-1.0.9/build: libgiftiio.so.0.0.0 -lexpat -lz -lniftiio -lznz -lm make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 80%] Built target gifti_tool /usr/bin/make -f CMakeFiles/gifti_test.dir/build.make CMakeFiles/gifti_test.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' cd /builddir/build/BUILD/gifticlib-1.0.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9 /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles/gifti_test.dir/DependInfo.cmake --color= Scanning dependencies of target gifti_test make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/make -f CMakeFiles/gifti_test.dir/build.make CMakeFiles/gifti_test.dir/build make[2]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [ 90%] Building C object CMakeFiles/gifti_test.dir/gifti_test.c.o /usr/bin/cc -DHAVE_ZLIB -I/usr/include/nifti -I/External -I/builddir/build/BUILD/gifticlib-1.0.9 -I/builddir/build/BUILD/gifticlib-1.0.9/build -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o CMakeFiles/gifti_test.dir/gifti_test.c.o -c /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c: In function 'ewrite_data_line': /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c:277:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c:277:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c:319:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~ /builddir/build/BUILD/gifticlib-1.0.9/gifti_test.c:319:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(c = 0; c < 2*cols; c+=2)fprintf(fp, "%f %f ",ptr[c],ptr[c+1]); break; ^~~~~ [100%] Linking C executable gifti_test /usr/bin/cmake -E cmake_link_script CMakeFiles/gifti_test.dir/link.txt --verbose=1 /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/gifti_test.dir/gifti_test.c.o -o gifti_test -L/builddir/build/BUILD/gifticlib-1.0.9/build -Wl,-rpath,/builddir/build/BUILD/gifticlib-1.0.9/build: libgiftiio.so.0.0.0 -lexpat -lz -lniftiio -lznz -lm make[2]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' [100%] Built target gifti_test make[1]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/gifticlib-1.0.9/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/gifticlib-1.0.9/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/gifticlib-1.0.9/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/lib64/libgiftiio.so.0.0.0 -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/lib64/libgiftiio.so.0 -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/lib64/libgiftiio.so -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/lib64/libgiftiio.a -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/bin/gifti_tool -- Set runtime path of "/builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/bin/gifti_tool" to "" -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/bin/gifti_test -- Set runtime path of "/builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/bin/gifti_test" to "" -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/include/gifti/gifti_io.h -- Installing: /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/include/gifti/gifti_xml.h + popd ~/build/BUILD/gifticlib-1.0.9 + rm -f /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/lib64/libgiftiio.a + mkdir -p /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/man/man1/ + install -p -m0644 /builddir/build/SOURCES/gifti_test.1 /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/man/man1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gifticlib-1.0.9-5.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9UKT7T + umask 022 + cd /builddir/build/BUILD + cd gifticlib-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/licenses/gifticlib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/licenses/gifticlib + cp -pr LICENSE.gifti /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/licenses/gifticlib + exit 0 Provides: gifti = 1.0.9-5.fc28 gifticlib = 1.0.9-5.fc28 gifticlib(riscv-64) = 1.0.9-5.fc28 libgiftiio.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libexpat.so.1()(64bit) libgiftiio.so.0()(64bit) libm.so.6()(64bit) libniftiio.so.2()(64bit) libz.so.1()(64bit) libznz.so.2()(64bit) rtld(GNU_HASH) Processing files: gifticlib-devel-1.0.9-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YSjByh + umask 022 + cd /builddir/build/BUILD + cd gifticlib-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/doc/gifticlib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/doc/gifticlib-devel + cp -pr README.gifti /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64/usr/share/doc/gifticlib-devel + exit 0 Provides: gifti-devel = 1.0.9-5.fc28 gifticlib-devel = 1.0.9-5.fc28 gifticlib-devel(riscv-64) = 1.0.9-5.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libgiftiio.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/gifticlib-1.0.9-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/gifticlib-1.0.9-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/gifticlib-devel-1.0.9-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WKFNHX + umask 022 + cd /builddir/build/BUILD + cd gifticlib-1.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gifticlib-1.0.9-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync Terminated +++ sleep 5 +++ sync +++ poweroff