Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'], chrootPath='/var/lib/mock/f33-build-205499-48291/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/catimg-2.4.0-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'], chrootPath='/var/lib/mock/f33-build-205499-48291/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i9mAHG + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yxOlsF + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /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 10.0.1 -- The CXX compiler identification is GNU 10.0.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 V=1 VERBOSE=1 -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/cmake -S/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= Dependee "/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/catimg.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/catimg.dir/depend.internal". Dependee "/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu/CMakeFiles/catimg.dir/depend.internal". 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' [ 80%] 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /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' [-Wimplicit-function-declaration] 45 | int fd = fileno(stdin); | ^~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /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] 138 | usleep(img.delays[frame - 1] * 10000); | ^~~~~~ | sleep make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 60%] 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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' [ 40%] 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' In file included from /builddir/build/BUILD/catimg-2.4.0/src/sh_image.c:4: /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] 1352 | #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' 1356 | 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' 1356 | 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] 1352 | #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' 1357 | 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' 1357 | 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] 1352 | #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' 1358 | 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' 1358 | 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] 1352 | #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' 1359 | 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' 1359 | 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] 1352 | #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' 1360 | 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' 1360 | 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] 1352 | #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' 1361 | 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' 1361 | 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] 1352 | #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' 1362 | 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' 1362 | 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] 1352 | #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' 1363 | 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' 1363 | 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] 1352 | #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' 1364 | 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' 1364 | 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] 1352 | #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' 1365 | 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' 1365 | 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] 1352 | #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' 1366 | 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' 1366 | 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] 1352 | #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' 1367 | 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' 1367 | 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] 1571 | 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] 4041 | 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' 4045 | 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' 4045 | 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] 4041 | 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' 4046 | 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' 4046 | 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] 4041 | 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' 4047 | 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' 4047 | 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] 4041 | 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' 4048 | 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' 4048 | 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] 4041 | 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' 4049 | 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' 4049 | 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] 4041 | 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' 4050 | 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' 4050 | 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] 4059 | 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' 4061 | 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' 4061 | 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] 4059 | 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' 4062 | 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' 4062 | 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] 4059 | 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' 4063 | 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' 4063 | 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] 4059 | 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' 4064 | 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' 4064 | 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] 4059 | 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' 4065 | 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' 4065 | 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] 4059 | 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' 4066 | 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' 4066 | 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] 4059 | 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' 4067 | 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' 4067 | 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] 5752 | static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp) | ~~~~^~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wextra -Os -std=c99 -Wno-unused-result -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic 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 -lm make[2]: Leaving directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_color.c.o: in function `.LANCHOR0': /builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:41: multiple definition of `yuv_color_map'; CMakeFiles/catimg.dir/src/catimg.c.o:/builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:41: first defined here /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_color.c.o: in function `.LANCHOR1': /builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:39: multiple definition of `color_map'; CMakeFiles/catimg.dir/src/catimg.c.o:/builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:39: first defined here /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_image.c.o: in function `.LANCHOR0': /builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:41: multiple definition of `yuv_color_map'; CMakeFiles/catimg.dir/src/catimg.c.o:/builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:41: first defined here /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_image.c.o: in function `.LANCHOR0': /builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:39: multiple definition of `color_map'; CMakeFiles/catimg.dir/src/catimg.c.o:/builddir/build/BUILD/catimg-2.4.0/src/sh_color.h:39: first defined here collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/catimg.dir/build.make:152: bin/catimg] Error 1 make[1]: *** [CMakeFiles/Makefile2:99: CMakeFiles/catimg.dir/all] Error 2 make: *** [Makefile:153: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.yxOlsF (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yxOlsF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec