+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xgrav.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.Z7VJDB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xgrav + /usr/bin/gzip -dc /builddir/build/SOURCES/xgrav-1.2.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xgrav + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x COPYING + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hGZKvK + umask 022 + cd /builddir/build/BUILD + cd xgrav ++ pkg-config --cflags sdl ++ pkg-config --libs sdl ++ pkg-config --libs x11 + make 'LINUX_CFLAGS=-c -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 -DWITH_ROOTWINDOW' 'LINUX_LDFLAGS=-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 -lGL -lX11 -lm' gcc -c xgrav.c -o xgrav.o -c -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 -DWITH_ROOTWINDOW -DVERSION="\"`cat VERSION`\"" xgrav.c: In function 'main': xgrav.c:667:9: warning: unused variable 'n' [-Wunused-variable] int n,c,c2; ^ xgrav.c:211:12: warning: variable 'r' set but not used [-Wunused-but-set-variable] SDL_Rect r; ^ xgrav.c:209:18: warning: unused variable 'v' [-Wunused-variable] double dx,dy,d,v; ^ xgrav.c:208:13: warning: unused variable 'c' [-Wunused-variable] int x2,y2,c; ^ xgrav.c: In function 'interact': xgrav.c:783:10: warning: unused variable 'rep' [-Wunused-variable] double rep; ^~~ xgrav.c: In function 'slave_thread_fn': xgrav.c:1009:7: warning: unused variable 'id' [-Wunused-variable] int id=*((int*) arg); ^~ xgrav.c: In function 'log2i': xgrav.c:888:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xgrav.c: In function 'main': xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] } ^ xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:1032:1: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] int main(int argc,char **argv) { ^~~~ xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:206:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] xgrav.c:450:7: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] file=fopen(filename,"a"); ~~~~^~~~~~~~~~~~~~~~~~~~ flex lex.l gcc -c -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 -DWITH_ROOTWINDOW -DVERSION="\"`cat VERSION`\"" grammar.c In file included from grammar.y:24:0: lex.l: In function 'yylex': lex.l:56:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] {pos_float} {*((float*)&yylval)=(float)atof(yytext); return FLOAT;} ^ In file included from grammar.y:24:0: lex.l:57:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] {neg_float} {*((float*)&yylval)=(float)atof(yytext); return FLOAT;} ^ In file included from grammar.y:24:0: At top level: lex.yy.c:1426:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.yy.c:1383:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ gcc xgrav.o grammar.o -o xgrav -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 -lGL -lX11 -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RWTlgY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64 + cd xgrav + mkdir -p /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/bin + install -p -m 755 xgrav /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/bin/xgrav + mkdir -p /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/xgrav + install -p -m 644 example1.g example2.g /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/xgrav + sed 's;/usr/share;/usr/share;' /builddir/build/SOURCES/xgrav.desktop + mkdir -p /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/applications xgrav.desktop + mkdir -p /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m 644 /builddir/build/SOURCES/xgrav.png /builddir/build/BUILDROOT/xgrav-1.2.0-20.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: xgrav-1.2.0-20.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mLwBsS + umask 022 + cd /builddir/build/BUILD + cd xgrav + DOCDIR=/builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr COPYING /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr documentation.html /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr README /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr README.html /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr TODO /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + cp -pr VERSION /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64/usr/share/doc/xgrav + exit 0 Provides: application() application(xgrav.desktop) xgrav = 1.2.0-20.fc28 xgrav(riscv-64) = 1.2.0-20.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) libGL.so.1()(64bit) libSDL-1.2.so.0()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xgrav-1.2.0-20.fc28.riscv64 Wrote: /builddir/build/SRPMS/xgrav-1.2.0-20.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xgrav-1.2.0-20.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e7GZgZ + umask 022 + cd /builddir/build/BUILD + cd xgrav + /usr/bin/rm -rf /builddir/build/BUILDROOT/xgrav-1.2.0-20.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