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/xkb-switch.spec'], chrootPath='/var/lib/mock/f33-build-137167-41779/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/xkb-switch.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=1580428800 Wrote: /builddir/build/SRPMS/xkb-switch-1.6.0-2.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/xkb-switch.spec'], chrootPath='/var/lib/mock/f33-build-137167-41779/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/xkb-switch.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=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.utdFDe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xkb-switch-1.6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xkb-switch-1.6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xkb-switch-1.6.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.WLPcKe + umask 022 + cd /builddir/build/BUILD + cd xkb-switch-1.6.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 -DBUILD_XKBSWITCH_LIB:BOOL=OFF . -- 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 -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/xkb-switch-1.6.0 + make -j4 /usr/bin/cmake -S/builddir/build/BUILD/xkb-switch-1.6.0 -B/builddir/build/BUILD/xkb-switch-1.6.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/xkb-switch-1.6.0/CMakeFiles /builddir/build/BUILD/xkb-switch-1.6.0/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/xkb-switch-1.6.0' make -f CMakeFiles/man_xkb-switch_1.dir/build.make CMakeFiles/man_xkb-switch_1.dir/depend make -f CMakeFiles/xkb-switch.dir/build.make CMakeFiles/xkb-switch.dir/depend make[2]: Entering directory '/builddir/build/BUILD/xkb-switch-1.6.0' cd /builddir/build/BUILD/xkb-switch-1.6.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0/CMakeFiles/man_xkb-switch_1.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/xkb-switch-1.6.0' cd /builddir/build/BUILD/xkb-switch-1.6.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0 /builddir/build/BUILD/xkb-switch-1.6.0/CMakeFiles/xkb-switch.dir/DependInfo.cmake --color= Scanning dependencies of target man_xkb-switch_1 make[2]: Leaving directory '/builddir/build/BUILD/xkb-switch-1.6.0' make -f CMakeFiles/man_xkb-switch_1.dir/build.make CMakeFiles/man_xkb-switch_1.dir/build make[2]: Entering directory '/builddir/build/BUILD/xkb-switch-1.6.0' Scanning dependencies of target xkb-switch make[2]: Leaving directory '/builddir/build/BUILD/xkb-switch-1.6.0' make -f CMakeFiles/xkb-switch.dir/build.make CMakeFiles/xkb-switch.dir/build make[2]: Entering directory '/builddir/build/BUILD/xkb-switch-1.6.0' [ 25%] Compressing man file man/xkb-switch.1 to /builddir/build/BUILD/xkb-switch-1.6.0/xkb-switch.1.xz cat man/xkb-switch.1 | /usr/bin/xz > /builddir/build/BUILD/xkb-switch-1.6.0/xkb-switch.1.xz [ 50%] Building CXX object CMakeFiles/xkb-switch.dir/src/XKeyboard.cpp.o /usr/bin/c++ -DXKBSWITCH_VERSION=\"1.6.0\" -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 -o CMakeFiles/xkb-switch.dir/src/XKeyboard.cpp.o -c /builddir/build/BUILD/xkb-switch-1.6.0/src/XKeyboard.cpp [ 75%] Building CXX object CMakeFiles/xkb-switch.dir/src/XKbSwitch.cpp.o /usr/bin/c++ -DXKBSWITCH_VERSION=\"1.6.0\" -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 -o CMakeFiles/xkb-switch.dir/src/XKbSwitch.cpp.o -c /builddir/build/BUILD/xkb-switch-1.6.0/src/XKbSwitch.cpp make[2]: Leaving directory '/builddir/build/BUILD/xkb-switch-1.6.0' [ 75%] Built target man_xkb-switch_1 /builddir/build/BUILD/xkb-switch-1.6.0/src/XKbSwitch.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/xkb-switch-1.6.0/src/XKbSwitch.cpp:73:26: warning: for increment expression has no effect [-Wunused-value] 73 | for(int i=1; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | for(int i=0; i