Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xkb-switch.spec'], chrootPath='/var/lib/mock/f31-build-101431-33380/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=986gid=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=1566000000 Wrote: /builddir/build/SRPMS/xkb-switch-1.6.0-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xkb-switch.spec'], chrootPath='/var/lib/mock/f31-build-101431-33380/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=986gid=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=1566000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VQxNYF + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bAmnRH + 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 + /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 . BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_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 + make -j4 -- The C compiler identification is GNU 9.1.1 -- The CXX compiler identification is GNU 9.1.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 -- Build files have been written to: /builddir/build/BUILD/xkb-switch-1.6.0 /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 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' 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 [ 75%] Building CXX object CMakeFiles/xkb-switch.dir/src/XKbSwitch.cpp.o [ 75%] 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 BUILDSTDERR: /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 -fasync/builddir/build/BUILD/xkb-switch-1.6.0/src/XKbSwitch.cpp: In function 'int main(int, char**)': BUILDSTDERR: /builddir/build/BUILD/xkb-switch-1.6.0/src/XKbSwitch.cpp:73:26: warning: for increment expression has no effect [-Wunused-value] BUILDSTDERR: 73 | for(int i=1; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 159 | for(int i=0; i