Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'], chrootPath='/var/lib/mock/f33-build-122073-38180/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=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': 'C.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'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/catimg.spec'], chrootPath='/var/lib/mock/f33-build-122073-38180/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=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': 'C.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.018wTN + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OYSpYM + 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 BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: BUILD_SHARED_LIBS BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: 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' [ 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 -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' BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/sh_utils.c: In function 'read_stdin': BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/sh_utils.c:45:14: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] BUILDSTDERR: 45 | int fd = fileno(stdin); BUILDSTDERR: | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 40%] 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' BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/catimg.c: In function 'main': BUILDSTDERR: /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] BUILDSTDERR: 138 | usleep(img.delays[frame - 1] * 10000); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | sleep make[2]: Entering directory '/builddir/build/BUILD/catimg-2.4.0/riscv64-redhat-linux-gnu' [ 20%] 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' [ 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 -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' BUILDSTDERR: In file included from /builddir/build/BUILD/catimg-2.4.0/src/sh_image.c:4: BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__convert_format': BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1356:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1356 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1356 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1357:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1357 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1357 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1358:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1358 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1358 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1359:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1359 | CASE(2,1) dest[0]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1359 | CASE(2,1) dest[0]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1360:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1360 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1360 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1361:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1361 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1361 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1362:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1362 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1362 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1363:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1363 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1363 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1364:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1364 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1364 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1365:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1365 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1365 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1366:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1366 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1366 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1352:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1352 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1367:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1367 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 1367 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__build_fast_ac': BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:1571:33: warning: left shift of negative value [-Wshift-negative-value] BUILDSTDERR: 1571 | if (k < m) k += (-1 << magbits) + 1; BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__create_png_image_raw': BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4045:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4045 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4045 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4046:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4046 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4046 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4047:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4047 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4047 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4048:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4048 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4048 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4049:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4049 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4049 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4041:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4041 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4050:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4050 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4050 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4061:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4061 | CASE(STBI__F_none) cur[k] = raw[k]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4061 | CASE(STBI__F_none) cur[k] = raw[k]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4062:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4062 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4062 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4063:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4063 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4063 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4064:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4064 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4064 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4065:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4065 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4065 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4066:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4066 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4066 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4059:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4059 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:4067:13: note: in expansion of macro 'CASE' BUILDSTDERR: 4067 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: /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' BUILDSTDERR: 4067 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h: In function 'stbi__gif_load_next': BUILDSTDERR: /builddir/build/BUILD/catimg-2.4.0/src/stb_image.h:5752:84: warning: unused parameter 'req_comp' [-Wunused-parameter] BUILDSTDERR: 5752 | static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp) BUILDSTDERR: | ~~~~^~~~~~~~ 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' BUILDSTDERR: /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_color.c.o: in function `.LANCHOR0': BUILDSTDERR: /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 BUILDSTDERR: /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_color.c.o: in function `.LANCHOR1': BUILDSTDERR: /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 BUILDSTDERR: /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_image.c.o: in function `.LANCHOR0': BUILDSTDERR: /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 BUILDSTDERR: /usr/bin/ld: CMakeFiles/catimg.dir/src/sh_image.c.o: in function `.LANCHOR0': BUILDSTDERR: /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 BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [CMakeFiles/catimg.dir/build.make:132: bin/catimg] Error 1 RPM build errors: BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:79: CMakeFiles/catimg.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.OYSpYM (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OYSpYM (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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