+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xkeycaps.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.oqzrbo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xkeycaps-2.46 + /usr/bin/gzip -dc /builddir/build/SOURCES/xkeycaps-2.46.tar.Z + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xkeycaps-2.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rKPpZa + umask 022 + cd /builddir/build/BUILD + cd xkeycaps-2.46 + xmkmf imake -DUseInstalled -I/usr/share/X11/config + sed -i -e 's/^\(\s*CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile + make -j4 gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o xkeycaps.o xkeycaps.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o KbdWidget.o KbdWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o KeyWidget.o KeyWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o info.o info.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from KbdWidget.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from info.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from xkeycaps.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/Intrinsic.h:53, from KeyWidget.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o actions.o actions.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from actions.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o commands.o commands.c In file included from /usr/include/unistd.h:25:0, from commands.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o guess.o guess.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from guess.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -c -o all-kbds.o all-kbds.c In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from kbddef.h:20, from all-kbds.c:65: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ commands.c: In function 'button_write': commands.c:709:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ks = XKeycodeToKeysym (XtDisplay (widget), added [i][j], 0); ^~ In file included from commands.c:30:0: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ commands.c: In function 'button_pick_window': commands.c:797:7: warning: variable 'once' set but not used [-Wunused-but-set-variable] int once = 0; ^~~~ commands.c: In function 'keysym_list_cb': commands.c:1770:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i = (int) XawToggleGetCurrent (box->keysym_buttons [0]); ^ commands.c:1782:7: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (button, XtNlabel, lr->string, 0); ^~~~~~~~~~~~~ commands.c: In function 'make_edit_key_dbox': commands.c:2202:3: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (set_list, XtNwidth, set_list->core.width + 20, 0); ^~~~~~~~~~~~~ commands.c:2231:3: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (sym_list, XtNwidth, sym_list->core.width + 20, 0); ^~~~~~~~~~~~~ commands.c: In function 'keyboard_list_cb': commands.c:2551:5: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (box->icon, XtNbitmap, p, XtNheight, h, 0); ^~~~~~~~~~~~~ commands.c: In function 'make_select_kbd_dbox': commands.c:2656:3: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (vendor_list, XtNwidth, vendor_list->core.width + 20, 0); ^~~~~~~~~~~~~ commands.c:2684:5: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (kbd_list, XtNwidth, kbd_list->core.width + 20, 0); ^~~~~~~~~~~~~ commands.c:2710:5: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (map_list, XtNwidth, map_list->core.width + 20, 0); ^~~~~~~~~~~~~ commands.c: In function 'pop_up_kbd_dbox': commands.c:2747:3: warning: missing sentinel in function call [-Wformat=] XtVaSetValues (select_kbd_box->label2, XtNlabel, choose_kbd_message, 0); ^~~~~~~~~~~~~ commands.c: In function 'stop_the_insanity': commands.c:3212:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ? XKeycodeToKeysym (dpy, code2, column) ^ In file included from commands.c:30:0: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ commands.c:3278:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ? XKeycodeToKeysym (dpy, code2, column) ^ In file included from commands.c:30:0: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ rm -f xkeycaps gcc -o xkeycaps -O2 -fno-strict-aliasing -L/usr/lib64 ./xkeycaps.o ./KbdWidget.o ./KeyWidget.o ./info.o ./actions.o ./commands.o ./guess.o ./all-kbds.o -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11 rm -f xkeycaps._man if test -z "" ; then \ cd `dirname xkeycaps` && \ ln -s `basename xkeycaps.man` `basename xkeycaps._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xkeycaps.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xkeycaps._man; \ fi + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h60AJj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 + cd xkeycaps-2.46 + make DESTDIR=/builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 install 'INSTALL=install -p' + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/bin install -p -c xkeycaps /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/bin/xkeycaps install in . done + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/man/man1 + install -m0644 -p xkeycaps.man /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/applications + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/pixmaps + install -m0644 -p /builddir/build/SOURCES/xkeycaps.png /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/pixmaps + desktop-file-install --dir /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/xkeycaps.desktop /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/applications/xkeycaps.desktop: error: (will be fatal in the future): value "xkeycaps.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + /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: xkeycaps-2.46-21.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OGqA96 + umask 022 + cd /builddir/build/BUILD + cd xkeycaps-2.46 + DOCDIR=/builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/doc/xkeycaps + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/doc/xkeycaps + cp -pr README /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/doc/xkeycaps + cp -pr sgi-microsoft.txt /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64/usr/share/doc/xkeycaps + exit 0 Provides: application() application(xkeycaps.desktop) xkeycaps = 2.46-21.fc28 xkeycaps(riscv-64) = 2.46-21.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) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xkeycaps-2.46-21.fc28.riscv64 Wrote: /builddir/build/SRPMS/xkeycaps-2.46-21.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xkeycaps-2.46-21.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rh6m1k + umask 022 + cd /builddir/build/BUILD + cd xkeycaps-2.46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xkeycaps-2.46-21.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