+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/catimg.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.pAtbYd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf catimg-2.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/catimg-2.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd catimg-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vFIWp1 + umask 022 + cd /builddir/build/BUILD + cd catimg-2.4.0 + mkdir -p riscv64-redhat-linux-gnu + pushd riscv64-redhat-linux-gnu ~/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu ~/build/BUILD/catimg-2.4.0 + 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 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMAN_OUTPUT_PATH=/usr/share/man/man1 .. -- 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 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_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/catimg-2.4.0/riscv64-redhat-linux-gnu + popd ~/build/BUILD/catimg-2.4.0 + /usr/bin/make -O -j4 -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -H/builddir/build/BUILD/catimg-2.4.0 -B/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/catimg.dir/build.make CMakeFiles/catimg.dir/depend make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/catimg-2.4.0 /builddir/build/BUILD/catimg-2.4.0 /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/catimg.dir/DependInfo.cmake --color= Scanning dependencies of target catimg make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/catimg.dir/build.make CMakeFiles/catimg.dir/build make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 60%] Building C object CMakeFiles/catimg.dir/src/sh_utils.c.o /usr/bin/cc -I/builddir/build/BUILD/catimg-2.4.0/src -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 -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -o CMakeFiles/catimg.dir/src/sh_utils.c.o -c /builddir/build/BUILD/catimg-2.4.0/src/sh_utils.c /builddir/build/BUILD/catimg-2.4.0/src/sh_utils.c: In function 'read_stdin': /builddir/build/BUILD/catimg-2.4.0/src/sh_utils.c:45:14: warning: implicit declaration of function 'fileno'; did you mean 'fopen'? [-Wimplicit-function-declaration] int fd = fileno(stdin); ^~~~~~ fopen make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 20%] Building C object CMakeFiles/catimg.dir/src/catimg.c.o /usr/bin/cc -I/builddir/build/BUILD/catimg-2.4.0/src -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 -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -o CMakeFiles/catimg.dir/src/catimg.c.o -c /builddir/build/BUILD/catimg-2.4.0/src/catimg.c /builddir/build/BUILD/catimg-2.4.0/src/catimg.c: In function 'main': /builddir/build/BUILD/catimg-2.4.0/src/catimg.c:138:21: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] usleep(img.delays[frame - 1] * 10000); ^~~~~~ sleep make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 40%] Building C object CMakeFiles/catimg.dir/src/sh_color.c.o /usr/bin/cc -I/builddir/build/BUILD/catimg-2.4.0/src -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 -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -o CMakeFiles/catimg.dir/src/sh_color.c.o -c /builddir/build/BUILD/catimg-2.4.0/src/sh_color.c make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 80%] Building C object CMakeFiles/catimg.dir/src/sh_image.c.o /usr/bin/cc -I/builddir/build/BUILD/catimg-2.4.0/src -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 -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -o CMakeFiles/catimg.dir/src/sh_image.c.o -c /builddir/build/BUILD/catimg-2.4.0/src/sh_image.c In file included from /builddir/build/BUILD/catimg-2.4.0/src/sh_image.c:4:0: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__convert_format': /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1356:10: note: in expansion of macro 'CASE' CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1356:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1357:10: note: in expansion of macro 'CASE' CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1357:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1358:10: note: in expansion of macro 'CASE' CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1358:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1359:10: note: in expansion of macro 'CASE' CASE(2,1) dest[0]=src[0]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1359:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,1) dest[0]=src[0]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1360:10: note: in expansion of macro 'CASE' CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1360:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1361:10: note: in expansion of macro 'CASE' CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1361:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1362:10: note: in expansion of macro 'CASE' CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1362:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1363:10: note: in expansion of macro 'CASE' CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1363:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1364:10: note: in expansion of macro 'CASE' CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1364:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1365:10: note: in expansion of macro 'CASE' CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1365:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1366:10: note: in expansion of macro 'CASE' CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1366:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1367:10: note: in expansion of macro 'CASE' CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1367:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__build_fast_ac': /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1571:33: warning: left shift of negative value [-Wshift-negative-value] if (k < m) k += (-1 << magbits) + 1; ^~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__create_png_image_raw': /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4045:13: note: in expansion of macro 'CASE' CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4045:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4046:13: note: in expansion of macro 'CASE' CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4046:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4047:13: note: in expansion of macro 'CASE' CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4047:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4048:13: note: in expansion of macro 'CASE' CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4048:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4049:13: note: in expansion of macro 'CASE' CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4049:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4050:13: note: in expansion of macro 'CASE' CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4050:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4061:13: note: in expansion of macro 'CASE' CASE(STBI__F_none) cur[k] = raw[k]; break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4061:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_none) cur[k] = raw[k]; break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4062:13: note: in expansion of macro 'CASE' CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4062:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4063:13: note: in expansion of macro 'CASE' CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4063:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4064:13: note: in expansion of macro 'CASE' CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4064:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4065:13: note: in expansion of macro 'CASE' CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4065:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4066:13: note: in expansion of macro 'CASE' CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4066:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4067:13: note: in expansion of macro 'CASE' CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; ^~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4067:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; ^~~~~ /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__gif_load_next': /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:5752:84: warning: unused parameter 'req_comp' [-Wunused-parameter] static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp) ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [100%] Linking C executable bin/catimg /usr/bin/cmake -E cmake_link_script CMakeFiles/catimg.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 -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/catimg.dir/src/catimg.c.o CMakeFiles/catimg.dir/src/sh_color.c.o CMakeFiles/catimg.dir/src/sh_image.c.o CMakeFiles/catimg.dir/src/sh_utils.c.o -o bin/catimg -rdynamic -lm make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[1]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [100%] Built target catimg make[1]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles 0 make: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Kiemo9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 + cd catimg-2.4.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 'INSTALL=/usr/bin/install -p' -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -H/builddir/build/BUILD/catimg-2.4.0 -B/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/catimg.dir/build.make CMakeFiles/catimg.dir/depend make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/catimg-2.4.0 /builddir/build/BUILD/catimg-2.4.0 /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/catimg.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/make -f CMakeFiles/catimg.dir/build.make CMakeFiles/catimg.dir/build make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[2]: Nothing to be done for 'CMakeFiles/catimg.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [100%] Built target catimg make[1]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/bin/catimg -- Installing: /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/man/man1/catimg.1 make: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' + /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: catimg-2.4.0-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5ANuR5 + umask 022 + cd /builddir/build/BUILD + cd catimg-2.4.0 + DOCDIR=/builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/doc/catimg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/doc/catimg + cp -pr README.md /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/doc/catimg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LT7jbf + umask 022 + cd /builddir/build/BUILD + cd catimg-2.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/licenses/catimg + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/licenses/catimg + cp -pr LICENSE /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64/usr/share/licenses/catimg + exit 0 Provides: catimg = 2.4.0-1.fc28 catimg(riscv-64) = 2.4.0-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/catimg-2.4.0-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/catimg-2.4.0-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1gmlyf + umask 022 + cd /builddir/build/BUILD + cd catimg-2.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/catimg-2.4.0-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff