+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/stalonetray.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.KrkJbL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stalonetray-0.8.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/stalonetray-0.8.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stalonetray-0.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (stalonetray-0.8.3--Werror-format-security.patch):' Patch #0 (stalonetray-0.8.3--Werror-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .error-format --fuzz=0 patching file src/debug.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eNpitJ + umask 022 + cd /builddir/build/BUILD + cd stalonetray-0.8.3 + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XpmReadFileToPixmap in -lXpm... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands * * Debug : yes * Native KDE support : yes * XPM background support : no * Graceful exit support : yes * + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c main.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c icons.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c xembed.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c layout.c In file included from common.h:12:0, from xembed.c:18: xembed.c: In function 'xembed_init': xembed.c:142:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("created focus proxy, wid=0x%x\n", tray_data.xembed_data.focus_proxy)); ^ ~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_handle_event': xembed.c:150:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("FocusOut 0x%x\n", ev.xfocus.window)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:189:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("sent key event to 0x%x\n", tray_data.xembed_data.current->wid)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_switch_focus_to': xembed.c:273:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("XEMBED focus was removed from icon 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:279:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("XEMBED focus was set to icon 0x%x (pointer %p)\n", tgt->wid, tgt)); ^ ~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_message': xembed.c:309:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:309:13: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:309:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:309:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:309:13: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long int' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:309:13: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] LOG_TRACE(("this is an _XEMBED message, window: 0x%x, timestamp: %u, opcode: %u, \ndetail: 0x%x, data1 = 0x%x, data2 = 0x%x\n", ^ ev.window, ev.data.l[0], ev.data.l[1], ev.data.l[2], ev.data.l[3], ev.data.l[4])); ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:313:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("XEMBED focus is in window 0x%x (pointer %p)\n", tray_data.xembed_data.current->wid, tray_data.xembed_data.current)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:326:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("_XEMBED message %u\n", msgid)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:367:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("Unhandled _XEMBED message, id = %d\n", ev.data.l[1])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_add_accel': xembed.c:392:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:392:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:392:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] LOG_TRACE(("added new XEMBED accelerator: id=0x%x, sym=0x%x, mods=0x%x, overloaded=%d\n", ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_del_accel': xembed.c:413:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("removed XEMBED accelator id=0x%x", tgt->id)); ^ ~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_act_accel': xembed.c:430:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); ^ ~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:430:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); ^ ~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c:430:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] LOG_TRACE(("activating XEMBED accelerator: id=0x%x (symb=0x%x, mods=0x%x)\n", accel->id, accel->symb, accel->mods)); ^ ~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xembed.c: In function 'xembed_process_kbd_event': xembed.c:442:13: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'KeySym {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Key event (type=%d) with keycode=0x%x, symb=0x%x, state=0x%x\n", xkey.type, xkey.keycode, keysym, xkey.state)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ In file included from common.h:12:0, from main.c:33: main.c: In function 'dump_tray_status': main.c:138:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO(("XEMBED focus: 0x%x\n", tray_data.xembed_data.current->wid)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'add_icon': main.c:156:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("ignoring second request to embed 0x%x" ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:156:51: note: format string is defined here LOG_TRACE(("ignoring second request to embed 0x%x" ~^ %lx In file included from common.h:12:0, from main.c:33: main.c:163:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("starting embedding for icon 0x%x, cmode=%d\n", w, cmode)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:180:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO(("added icon %s (wid 0x%x) as %s\n", ^ main.c:182:4: ti->wid, ~~~~~ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ main.c:190:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO(("failed to add icon %s (wid 0x%x)\n", ^ main.c:192:4: ti->wid)); ~~~~~ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'remove_icon': main.c:210:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO(("removed icon %s (wid 0x%x)\n", ^ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ main.c:202:8: warning: unused variable 'name' [-Wunused-variable] char *name; ^~~~ In file included from common.h:12:0, from main.c:33: main.c: In function 'icon_track_visibility_changes': main.c:230:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("xembed_is_mapped(0x%x) = %u\n", w, mapped)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:238:12: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO(("%s icon 0x%x\n", mapped ? "showing" : "hiding", w)); ^ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'kde_icons_update': main.c:278:15: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("found (possibly unembedded) KDE icon %s (wid 0x%x)\n", ^ main.c:280:7: kde_tray_icons[i])); ~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'perform_periodic_tasks': main.c:296:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("icon 0x%x is invalid; removing\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'reparent_notify': main.c:401:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("will now unembed 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'client_message': main.c:456:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE(("dockin' requested by window 0x%x, serving in a moment\n", ev.data.l[2])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:475:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("embedding confirmed for icon 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:537:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] LOG_TRACE(("ignoring _NET_SYSTEM_TRAY_OPCODE(%lu) message because tray is not active\n", tray_data.is_active)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'configure_notify': main.c:598:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("icon 0x%x was resized, new size: %ux%u, old size: %ux%u\n", ev.window, ^ ~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'selection_clear': main.c:631:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("new selection owner is 0x%x\n", tray_data.old_selection_owner)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'map_notify': main.c:654:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Legacy scheme for KDE icons: detected KDE icon 0x%x. Adding.\n", w)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'unmap_notify': main.c:674:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Unmap icons KLUDGE executed for 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'tray_main': main.c:717:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("VisibilityNotify (0x%x, state=%d)\n", ev.xvisibility.window, ev.xvisibility.state)); ^ ~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:721:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Expose (0x%x)\n", ev.xexpose.window)); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:725:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("PropertyNotify(0x%x)\n", ev.xproperty.window)); ^ ~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:729:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("DestroyNotify(0x%x)\n", ev.xdestroywindow.window)); ^ ~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:733:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("ClientMessage(from 0x%x?)\n", ev.xclient.window)); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:737:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("ConfigureNotify(0x%x)\n", ev.xconfigure.window)); ^ ~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:741:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("MapNotify(0x%x)\n", ev.xmap.window)); ^ ~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:745:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); ^ ~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:745:16: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("ReparentNotify(0x%x to 0x%x)\n", ev.xreparent.window, ev.xreparent.parent)); ^ ~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:749:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("SelectionClear (0x%x has lost selection)\n", ev.xselectionclear.window)); ^ ~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:756:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); ^ ~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:756:16: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("SelectionRequest (from 0x%x to 0x%x)\n", ev.xselectionrequest.requestor, ev.xselectionrequest.owner)); ^ ~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:759:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("UnmapNotify(0x%x)\n", ev.xunmap.window)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:764:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); ^ ~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:764:16: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Unhandled event: %s, serial: %d, window: 0x%x\n", x11_event_names[ev.type], ev.xany.serial, ev.xany.window)); ^ ~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c: In function 'remote_main': main.c:818:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("wid=0x%x w=%d h=%d\n", icon, w, h)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ main.c:824:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("wid=0x%x btn=%d x=%d y=%d\n", ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c embed.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c settings.c In file included from common.h:12:0, from embed.c:23: embed.c: In function 'embedder_embed': embed.c:80:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("position of icon 0x%x inside the tray: (%d, %d)\n", ti->wid, x, y)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c:94:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("created mid-parent window 0x%x\n", ti->mid_parent)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c: In function 'embedder_unembed': embed.c:145:31: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] if (!x11_ok()) LOG_ERROR(("failed to move icon 0x%x out of the tray\n")); ^ debug.h:69:68: note: in definition of macro 'LOG_ERROR' if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ ^~~~~~~ embed.c:150:31: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] if (!x11_ok()) LOG_ERROR(("failed to destroy icon mid-parent 0x%x\n", ti->mid_parent)); ^ ~~~~~ debug.h:69:68: note: in definition of macro 'LOG_ERROR' if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ ^~~~~~~ embed.c:157:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("done unembedding 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c: In function 'embedder_update_window_position': embed.c:219:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("Updating position of icon 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c:234:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("failed to update position of icon 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c: In function 'embedder_refresh': embed.c:255:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("could not refresh 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ embed.c: In function 'embedder_reset_size': embed.c:269:48: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (ti->is_size_set && ti->cmode != CM_KDE && !settings.kludge_flags & KLUDGE_FORCE_ICONS_SIZE) ^~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c xutils.c settings.c: In function 'interpret_settings': settings.c:784:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c tray.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c wmh.c In file included from common.h:12:0, from xutils.h:15, from xutils.c:19: xutils.c: In function 'x11_error_handler': xutils.c:49:13: warning: too many arguments for format [-Wformat-extra-args] LOG_ERROR(("X11 error: %s (request: %s, resource 0x%x)\n", msg, req_str, err->request_code, err->minor_code, err->resourceid)); ^ debug.h:69:68: note: in definition of macro 'LOG_ERROR' if (settings.log_level >= LOG_LEVEL_ERR) print_message_to_stderr message; \ ^~~~~~~ xutils.c: In function 'x11_find_subwindow_at': xutils.c:338:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("cur=0x%x nchildren=%d\n", cur, nchildren)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ xutils.c: In function 'x11_dump_win_info': xutils.c:426:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ xutils.c:428:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ In file included from common.h:12:0, from wmh.c:12: wmh.c: In function 'ewmh_wm_present': wmh.c:44:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (root) = 0x%x\n", check_win[0])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c:52:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("_NET_SUPPORTING_WM_CHECK (self reference) = 0x%x\n", check_win[0])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c: In function 'ewmh_add_window_state': wmh.c:69:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom {aka long unsigned int}' [-Wformat=] LOG_TRACE(("adding state %s to window 0x%x\n", state, atom)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c: In function 'ewmh_add_window_type': wmh.c:93:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom {aka long unsigned int}' [-Wformat=] LOG_TRACE(("adding type %s to window 0x%x\n", type, atom)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c: In function 'ewmh_set_window_atom32': wmh.c:120:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("0x%x: setting atom %s to 0x%x\n", wnd, prop_name, value)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c: In function 'mwm_set_hints': wmh.c:140:15: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int act_fmt, rc; ^~ In file included from common.h:12:0, from wmh.c:12: wmh.c: In function 'ewmh_list_supported_atoms': wmh.c:193:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c:193:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Atom {aka long unsigned int}' [-Wformat=] LOG_TRACE(("_NET_SUPPORTED[%d]: %s (0x%x)\n", i, atom_name, atom_list[i])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c:195:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c:195:17: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Atom {aka long unsigned int}' [-Wformat=] LOG_TRACE(("_NET_SUPPORTED[%d]: bogus value (0x%x)\n", i, atom_list[i])); ^ ~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ wmh.c: In function 'ewmh_dump_window_states': wmh.c:221:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("0x%x:_NET_WM_STATE[%d] = %s\n", wnd, j, tmp)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ In file included from common.h:12:0, from tray.c:22: tray.c: In function 'tray_update_window_strut': tray.c:379:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] LOG_TRACE(("computed hints [%d] = %d\n", i, wm_strut[i])); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ tray.c: In function 'tray_create_window': tray.c:513:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("created tray window: 0x%x\n", tray_data.tray)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ tray.c:523:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("created hint_win window: 0x%x\n", tray_data.hint_win)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ tray.c: In function 'tray_acquire_selection': tray.c:663:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("old selection owner: 0x%x\n", tray_data.old_selection_owner)); ^ ~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c debug.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c image.c debug.c: In function 'print_trace_header': debug.c:48:15: warning: unused variable 'pid' [-Wunused-variable] static pid_t pid = 0; ^~~ In file included from debug.c:10:0: debug.c: In function 'print_icon_data': debug.c:85:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_INFO (("wid = 0x%x\n", ti->wid)); ^ ~~~~~ debug.h:76:69: note: in definition of macro 'LOG_INFO' if (settings.log_level >= LOG_LEVEL_INFO) print_message_to_stderr message; \ ^~~~~~~ debug.c:105:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE((" xembed_last_timestamp = %d\n", ti->xembed_last_timestamp)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ debug.c:106:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] LOG_TRACE((" xembed_last_msgid = %d\n", ti->xembed_last_msgid)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ debug.c:111:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE((" mid-parent = 0x%x\n", ti->mid_parent)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ debug.c:115:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE((" mid-parent wid = 0x%x\n", ti->mid_parent)); ^ ~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ debug.c:129:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE((" parent wid from XQueryTree() = 0x%x\n", real_parent)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ At top level: debug.c:48:15: warning: 'pid' defined but not used [-Wunused-variable] static pid_t pid = 0; ^~~ image.c: In function 'image_tint_16': image.c:178:17: warning: variable 'tb' set but not used [-Wunused-but-set-variable] CARD32 tr, tg, tb; ^~ image.c: In function 'image_tint_15': image.c:201:17: warning: variable 'tb' set but not used [-Wunused-but-set-variable] CARD32 tr, tg, tb; ^~ gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c scrollbars.c gcc -DHAVE_CONFIG_H -I. -DFEATURE_LIST='"XPM:no DEBUG:yes KDE:yes"' -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 -g -c kde_tray.c In file included from common.h:12:0, from xutils.h:15, from scrollbars.c:16: scrollbars.c: In function 'scrollbars_handle_event': scrollbars.c:232:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'char *' [-Wformat=] LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ scrollbars.c:232:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", ^ ev.xcrossing.window, ev.xcrossing.x, ev.xcrossing.y)); ~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ scrollbars.c:232:14: warning: too many arguments for format [-Wformat-extra-args] LOG_TRACE(("EnterNotify, wid=0x%x x=%d y=%d\n", ev.type == EnterNotify ? "EnterNotify" : "LeaveNotify", ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ scrollbars.c: In function 'scrollbars_highlight_on': scrollbars.c:329:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scrollbars.c: In function 'scrollbars_highlight_off': scrollbars.c:337:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from kde_tray.c:13:0: kde_tray.c: In function 'kde_tray_init': kde_tray.c:84:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("0x%x is marked as an old KDE icon\n", old_kde_icons[i])); ^ ~~~~~~~~~~~~~~~~ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ kde_tray.c: In function 'kde_tray_old_icons_remove': kde_tray.c:117:15: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] LOG_TRACE(("0x%x unmarked as an old kde icon\n", w)); ^ debug.h:58:27: note: in definition of macro 'LOG_TRACE' print_message_to_stderr message; \ ^~~~~~~ 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 -g -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o stalonetray main.o icons.o xembed.o layout.o embed.o settings.o xutils.o tray.o wmh.o debug.o image.o scrollbars.o kde_tray.o -lX11 make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RbKfLs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64 + cd stalonetray-0.8.3 + make install DESTDIR=/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/bin' install -p stalonetray '/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3/src' make[1]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[2]: Entering directory '/builddir/build/BUILD/stalonetray-0.8.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/man/man1' install -p -m 644 stalonetray.1 '/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' make[1]: Leaving directory '/builddir/build/BUILD/stalonetray-0.8.3' + /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: stalonetray-0.8.3-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.19j5DK + umask 022 + cd /builddir/build/BUILD + cd stalonetray-0.8.3 + DOCDIR=/builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr AUTHORS /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr ChangeLog /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr COPYING /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr NEWS /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr README /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr TODO /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr stalonetrayrc.sample /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr stalonetray.html /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + cp -pr stalonetray.xml /builddir/build/BUILDROOT/stalonetray-0.8.3-2.fc28.riscv64/usr/share/doc/stalonetray + exit 0 Provides: stalonetray = 0.8.3-2.fc28 stalonetray(riscv-64) = 0.8.3-2.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) 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/stalonetray-0.8.3-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/stalonetray-0.8.3-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/stalonetray-0.8.3-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hHkb56 + umask 022 + cd /builddir/build/BUILD + cd stalonetray-0.8.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/stalonetray-0.8.3-2.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