+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bubblemon.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.9VcXdh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bubblemon-dockapp-1.46 + /usr/bin/gzip -dc /builddir/build/SOURCES/bubblemon-dockapp-1.46.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bubblemon-dockapp-1.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jrWxY6 + umask 022 + cd /builddir/build/BUILD + cd bubblemon-dockapp-1.46 ++ gtk-config --cflags + make '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 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DENABLE_DUCK -DENABLE_CPU -DENABLE_MEMSCREEN -DKERNEL_26' -j4 gcc -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/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DENABLE_DUCK -DENABLE_CPU -DENABLE_MEMSCREEN -DKERNEL_26 -c -o bubblemon.o bubblemon.c gcc -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/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DENABLE_DUCK -DENABLE_CPU -DENABLE_MEMSCREEN -DKERNEL_26 -c -o sys_linux.o sys_linux.c sys_linux.c: In function 'system_cpu': sys_linux.c:37:25: warning: format '%Ld' expects argument of type 'long long int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); ~~^ ~~~ %ld sys_linux.c:37:29: warning: format '%Ld' expects argument of type 'long long int *', but argument 4 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); ~~^ ~~~ %ld sys_linux.c:37:33: warning: format '%Ld' expects argument of type 'long long int *', but argument 5 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); ~~^ ~~~ %ld sys_linux.c:37:37: warning: format '%Ld' expects argument of type 'long long int *', but argument 6 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); ~~^ ~~~ %ld sys_linux.c: In function 'system_memory': sys_linux.c:98:28: warning: format '%Ld' expects argument of type 'long long int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(p, "MemTotal:%Ld", &aa); ~~^ ~~~ %ld sys_linux.c:103:23: warning: format '%Ld' expects argument of type 'long long int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(p, "Active:%Ld", &ab); ~~^ ~~~ %ld sys_linux.c:108:30: warning: format '%Ld' expects argument of type 'long long int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(p, "SwapTotal:%Ld", &ac); ~~^ ~~~ %ld sys_linux.c:113:26: warning: format '%Ld' expects argument of type 'long long int *', but argument 3 has type 'u_int64_t * {aka long unsigned int *}' [-Wformat=] sscanf(p, "SwapFree:%Ld", &ad); ~~^ ~~~ %ld sys_linux.c: In function 'system_cpu': sys_linux.c:37:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(stat, "%*s %Ld %Ld %Ld %Ld", &ab, &ac, &ad, &ae); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys_linux.c: In function 'system_memory': sys_linux.c:95:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(shit, 2048, 1, mem); ^~~~~~~~~~~~~~~~~~~~~~~~~ sys_linux.c: In function 'system_loadavg': sys_linux.c:169:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(avg, "%d.%d %d.%d %d.%d", &bm.loadavg[0].i, &bm.loadavg[0].f, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &bm.loadavg[1].i, &bm.loadavg[1].f, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &bm.loadavg[2].i, &bm.loadavg[2].f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bubblemon.c: In function 'bubblemon_update': bubblemon.c:667:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] col = bm.colors; ^ bubblemon.c:635:40: warning: variable 'aliascolor' set but not used [-Wunused-but-set-variable] unsigned int aircolor, watercolor, aliascolor; ^~~~~~~~~~ bubblemon.c: In function 'draw_digit': bubblemon.c:963:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] from = mem_screen + 56 * 3 * (srcy + j) + srcx * 3; ^ bubblemon.c:964:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] to = bm.mem_buf + 56 * 3 * (desty + j) + destx * 3; ^ bubblemon.c: In function 'draw_history': bubblemon.c:1012:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = history; ^ bubblemon.c:1020:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = history; ^ bubblemon.c:1027:36: warning: pointer targets in passing argument 4 of 'draw_pixel' differ in signedness [-Wpointer-sign] draw_pixel(k, size - j - 1, buf, "\x00\x7d\x71"); ^~~~~~~~~~~~~~ bubblemon.c:991:13: note: expected 'unsigned char *' but argument is of type 'char *' static void draw_pixel(unsigned int x, unsigned int y, unsigned char *buf, ^~~~~~~~~~ bubblemon.c:1029:36: warning: pointer targets in passing argument 4 of 'draw_pixel' differ in signedness [-Wpointer-sign] draw_pixel(k, size - j - 1, buf, "\x20\xb6\xae"); ^~~~~~~~~~~~~~ bubblemon.c:991:13: note: expected 'unsigned char *' but argument is of type 'char *' static void draw_pixel(unsigned int x, unsigned int y, unsigned char *buf, ^~~~~~~~~~ bubblemon.c:1037:39: warning: pointer targets in passing argument 4 of 'draw_pixel' differ in signedness [-Wpointer-sign] draw_pixel(k, size - d - 1, buf, "\x71\xe3\x71"); ^~~~~~~~~~~~~~ bubblemon.c:991:13: note: expected 'unsigned char *' but argument is of type 'char *' static void draw_pixel(unsigned int x, unsigned int y, unsigned char *buf, ^~~~~~~~~~ bubblemon.c: In function 'render_secondary': bubblemon.c:1070:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(number, 8, "%6lluM", bm.mem_used >> 20); ~~~~^ ~~~~~~~~~~~~~~~~~ %6lu bubblemon.c:1072:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(number, 8, "%6lluK", bm.mem_used >> 10); ~~~~^ ~~~~~~~~~~~~~~~~~ %6lu bubblemon.c:1079:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(number, 8, "%6lluM", bm.swap_used >> 20); ~~~~^ ~~~~~~~~~~~~~~~~~~ %6lu bubblemon.c:1081:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(number, 8, "%6lluK", bm.swap_used >> 10); ~~~~^ ~~~~~~~~~~~~~~~~~~ %6lu bubblemon.c: In function 'main': bubblemon.c:427:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(execute); ^~~~~~~~~~~~~~~ bubblemon.c: In function 'render_secondary': bubblemon.c:1070:27: warning: '%6llu' directive output may be truncated writing between 6 and 14 bytes into a region of size 8 [-Wformat-truncation=] snprintf(number, 8, "%6lluM", bm.mem_used >> 20); ^~~~~ bubblemon.c:1070:26: note: directive argument in the range [0, 17592186044415] snprintf(number, 8, "%6lluM", bm.mem_used >> 20); ^~~~~~~~ In file included from /usr/include/stdio.h:862:0, from bubblemon.c:50: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 8 and 16 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bubblemon.c:1072:27: warning: '%6llu' directive output may be truncated writing between 6 and 17 bytes into a region of size 8 [-Wformat-truncation=] snprintf(number, 8, "%6lluK", bm.mem_used >> 10); ^~~~~ bubblemon.c:1072:26: note: directive argument in the range [0, 18014398509481983] snprintf(number, 8, "%6lluK", bm.mem_used >> 10); ^~~~~~~~ In file included from /usr/include/stdio.h:862:0, from bubblemon.c:50: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 8 and 19 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bubblemon.c:1079:27: warning: '%6llu' directive output may be truncated writing between 6 and 14 bytes into a region of size 8 [-Wformat-truncation=] snprintf(number, 8, "%6lluM", bm.swap_used >> 20); ^~~~~ bubblemon.c:1079:26: note: directive argument in the range [0, 17592186044415] snprintf(number, 8, "%6lluM", bm.swap_used >> 20); ^~~~~~~~ In file included from /usr/include/stdio.h:862:0, from bubblemon.c:50: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 8 and 16 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bubblemon.c:1081:27: warning: '%6llu' directive output may be truncated writing between 6 and 17 bytes into a region of size 8 [-Wformat-truncation=] snprintf(number, 8, "%6lluK", bm.swap_used >> 10); ^~~~~ bubblemon.c:1081:26: note: directive argument in the range [0, 18014398509481983] snprintf(number, 8, "%6lluK", bm.swap_used >> 10); ^~~~~~~~ In file included from /usr/include/stdio.h:862:0, from bubblemon.c:50: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 8 and 19 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DENABLE_DUCK -DENABLE_CPU -DENABLE_MEMSCREEN -DKERNEL_26 -o bubblemon bubblemon.o sys_linux.o `gtk-config --libs | sed "s/-lgtk//g"` + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E9VqF2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 + cd bubblemon-dockapp-1.46 + rm -rf /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/bin + make install PREFIX=/builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr install -m 755 bubblemon /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/bin + /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: bubblemon-1.46-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Nuad1D + umask 022 + cd /builddir/build/BUILD + cd bubblemon-dockapp-1.46 + DOCDIR=/builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/share/doc/bubblemon + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/share/doc/bubblemon + cp -pr ChangeLog /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/share/doc/bubblemon + cp -pr README /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/share/doc/bubblemon + cp -pr doc/COPYING doc/Xdefaults.sample /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64/usr/share/doc/bubblemon + exit 0 Provides: bubblemon = 1.46-22.fc28 bubblemon(riscv-64) = 1.46-22.fc28 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) libX11.so.6()(64bit) libXext.so.6()(64bit) libXi.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libgdk-1.2.so.0()(64bit) libglib-1.2.so.0()(64bit) libgmodule-1.2.so.0()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/bubblemon-1.46-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bubblemon-1.46-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7lf79L + umask 022 + cd /builddir/build/BUILD + cd bubblemon-dockapp-1.46 + rm -rf /builddir/build/BUILDROOT/bubblemon-1.46-22.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff