Mock Version: 1.4.9
Mock Version: 1.4.9
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tong.spec'], chrootPath='/var/lib/mock/f29-build-26898-14010/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x2001fd66d8>timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tong.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False
Building target platforms: riscv64
Building for target riscv64
Wrote: /builddir/build/SRPMS/tong-1.3-10.fc29.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tong.spec'], chrootPath='/var/lib/mock/f29-build-26898-14010/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x2001fd66d8>timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tong.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False
Building target platforms: riscv64
Building for target riscv64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kbf2Jt
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf tong
+ /usr/bin/gzip -dc /builddir/build/SOURCES/tong-1.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tong
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hwIZQz
+ umask 022
+ cd /builddir/build/BUILD
+ cd tong
+ make 'CC=g++ -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' GAME_DATA_DIR=/usr/share/tong -j4
g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tetris.o tetris.cpp
g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pong.o pong.cpp
g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o text.o text.cpp
g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o option.o option.cpp
g++ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o media.o media.cpp
g++ -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 -DGAME_DATA_DIR=\"/usr/share/tong\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tong.o tong.cpp
BUILDSTDERR: media.cpp: In function 'void load_graphics(const char*)':
BUILDSTDERR: media.cpp:331:9: warning: variable 'rmask' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   Uint32 rmask, gmask, bmask, amask;
BUILDSTDERR:          ^~~~~
BUILDSTDERR: media.cpp:331:16: warning: variable 'gmask' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   Uint32 rmask, gmask, bmask, amask;
BUILDSTDERR:                 ^~~~~
BUILDSTDERR: media.cpp:331:23: warning: variable 'bmask' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   Uint32 rmask, gmask, bmask, amask;
BUILDSTDERR:                        ^~~~~
BUILDSTDERR: media.cpp:331:30: warning: variable 'amask' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   Uint32 rmask, gmask, bmask, amask;
BUILDSTDERR:                               ^~~~~
BUILDSTDERR: tong.cpp: In function 'int main(int, char**)':
BUILDSTDERR: tong.cpp:1874:32: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
BUILDSTDERR:    if(lastupdate-lastlastupdate < options->GetFpsLimit()) {
BUILDSTDERR:       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: tong.cpp:187:7: warning: variable 'ruleupdated' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   bool ruleupdated=false; //temp
BUILDSTDERR:        ^~~~~~~~~~~
BUILDSTDERR: tong.cpp:397:6: warning: variable 'read' set but not used [-Wunused-but-set-variable]
BUILDSTDERR:   int read = 0;
BUILDSTDERR:       ^~~~
BUILDSTDERR: tong.cpp:1569:23: warning: '%02i' directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=]
BUILDSTDERR:      sprintf(timetext, "%02i:%02i.%02i",
BUILDSTDERR:                        ^~~~~~~~~~~~~~~~
BUILDSTDERR: tong.cpp:1569:23: note: directive argument in the range [0, 99]
BUILDSTDERR: In file included from /usr/include/stdio.h:873,
BUILDSTDERR:                  from tong.cpp:31:
BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 12 bytes into a destination of size 10
BUILDSTDERR:    return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR: tong.cpp:1564:23: warning: '%02i' directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=]
BUILDSTDERR:      sprintf(timetext, "%02i:%02i.%02i",
BUILDSTDERR:                        ^~~~~~~~~~~~~~~~
BUILDSTDERR: tong.cpp:1564:23: note: directive argument in the range [0, 99]
BUILDSTDERR: In file included from /usr/include/stdio.h:873,
BUILDSTDERR:                  from tong.cpp:31:
BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 12 bytes into a destination of size 10
BUILDSTDERR:    return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
BUILDSTDERR:           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILDSTDERR:        __bos (__s), __fmt, __va_arg_pack ());
BUILDSTDERR:        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -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 -lSDL -lpthread -lSDL_mixer -lpthread -lSDL_image tetris.o pong.o text.o option.o media.o tong.o -o tong
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xWw6Dn
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64
+ cd tong
+ mkdir -p /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/bin
+ install -pD tong /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/bin/tong
+ install -d /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/tong
+ cp -pr media /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/tong/
+ install -p -m 644 CREDITS /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/tong/
+ desktop-file-install --dir /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/applications /builddir/build/SOURCES/tong.desktop
+ mkdir -p /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64//usr/share/icons/hicolor/32x32/apps/
+ install -p -m 644 /builddir/build/SOURCES/tong-icon.png /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64//usr/share/icons/hicolor/32x32/apps/
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3-10.fc29 --unique-debug-suffix -1.3-10.fc29.riscv64 --unique-debug-src-base tong-1.3-10.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tong
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/bin/tong
extracting debug info from /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/bin/tong
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
BUILDSTDERR: 364 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
BUILDSTDERR: /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-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: tong-1.3-10.fc29.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SNIbz0
+ umask 022
+ cd /builddir/build/BUILD
+ cd tong
+ DOCDIR=/builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ cp -pr COPYING /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ cp -pr CREDITS /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ cp -pr README /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ cp -pr making-of.txt /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64/usr/share/doc/tong
+ exit 0
Provides: application() application(tong.desktop) tong = 1.3-10.fc29 tong(riscv-64) = 1.3-10.fc29
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) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH)
Processing files: tong-data-1.3-10.fc29.noarch
Provides: tong-data = 1.3-10.fc29
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: tong-debugsource-1.3-10.fc29.riscv64
Provides: tong-debugsource = 1.3-10.fc29 tong-debugsource(riscv-64) = 1.3-10.fc29
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: tong-debuginfo-1.3-10.fc29.riscv64
Provides: debuginfo(build-id) = 45c01d2f58e9bba461e011cb1fca861657b8d572 tong-debuginfo = 1.3-10.fc29 tong-debuginfo(riscv-64) = 1.3-10.fc29
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: tong-debugsource(riscv-64) = 1.3-10.fc29
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64
Wrote: /builddir/build/RPMS/tong-1.3-10.fc29.riscv64.rpm
Wrote: /builddir/build/RPMS/tong-data-1.3-10.fc29.noarch.rpm
Wrote: /builddir/build/RPMS/tong-debugsource-1.3-10.fc29.riscv64.rpm
Wrote: /builddir/build/RPMS/tong-debuginfo-1.3-10.fc29.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PUT2Sg
+ umask 022
+ cd /builddir/build/BUILD
+ cd tong
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/tong-1.3-10.fc29.riscv64
+ exit 0
Child return code was: 0