+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tong.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C3Kc2b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tong + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/tong-1.3.tar.gz + 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.VDUULr + 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 ' 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 -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 -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 -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 -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 -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 -DGAME_DATA_DIR=\"/usr/share/tong\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tong.o tong.cpp media.cpp: In function 'void load_graphics(const char*)': media.cpp:331:9: warning: variable 'rmask' set but not used [-Wunused-but-set-variable] Uint32 rmask, gmask, bmask, amask; ^~~~~ media.cpp:331:16: warning: variable 'gmask' set but not used [-Wunused-but-set-variable] Uint32 rmask, gmask, bmask, amask; ^~~~~ media.cpp:331:23: warning: variable 'bmask' set but not used [-Wunused-but-set-variable] Uint32 rmask, gmask, bmask, amask; ^~~~~ media.cpp:331:30: warning: variable 'amask' set but not used [-Wunused-but-set-variable] Uint32 rmask, gmask, bmask, amask; ^~~~~ tong.cpp: In function 'int main(int, char**)': tong.cpp:1874:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(lastupdate-lastlastupdate < options->GetFpsLimit()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ tong.cpp:187:7: warning: variable 'ruleupdated' set but not used [-Wunused-but-set-variable] bool ruleupdated=false; //temp ^~~~~~~~~~~ tong.cpp:397:6: warning: variable 'read' set but not used [-Wunused-but-set-variable] int read = 0; ^~~~ tong.cpp:156:5: warning: '%02i' directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=] int main(int argc, char* argv[]) ^~~~ tong.cpp:156:5: note: directive argument in the range [0, 99] In file included from /usr/include/stdio.h:861:0, from tong.cpp:31: /usr/include/bits/stdio2.h:37:43: note: '__builtin___sprintf_chk' output between 9 and 12 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); ^ tong.cpp:156:5: warning: '%02i' directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=] int main(int argc, char* argv[]) ^~~~ tong.cpp:156:5: note: directive argument in the range [0, 99] In file included from /usr/include/stdio.h:861:0, from tong.cpp:31: /usr/include/bits/stdio2.h:37:43: note: '__builtin___sprintf_chk' output between 9 and 12 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); ^ 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 -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.eDpmPm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 + cd tong + mkdir -p /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/bin + install -pD tong /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/bin/tong + install -d /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/tong + cp -pr media /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/tong/ + install -p -m 644 CREDITS /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/tong/ + desktop-file-install --dir /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/tong.desktop + mkdir -p /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64//usr/share/icons/hicolor/32x32/apps/ + install -p -m 644 /builddir/build/SOURCES/tong-icon.png /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64//usr/share/icons/hicolor/32x32/apps/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tong-1.3-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8Qa6On + umask 022 + cd /builddir/build/BUILD + cd tong + DOCDIR=/builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + cp -pr COPYING /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + cp -pr CREDITS /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + cp -pr README /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + cp -pr making-of.txt /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64/usr/share/doc/tong + exit 0 Provides: application() application(tong.desktop) tong = 1.3-7.fc28 tong(riscv-64) = 1.3-7.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh 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-7.fc28.noarch Provides: tong-data = 1.3-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/tong-1.3-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tong-1.3-7.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/noarch/tong-data-1.3-7.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VtptPu + umask 022 + cd /builddir/build/BUILD + cd tong + /usr/bin/rm -rf /builddir/build/BUILDROOT/tong-1.3-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff