Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bltk.spec'], chrootPath='/var/lib/mock/f40-build-798340-141884/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bltk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705968000 Wrote: /builddir/build/SRPMS/bltk-1.1.0-31.fc40.src.rpm RPM build warnings: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bltk.spec'], chrootPath='/var/lib/mock/f40-build-798340-141884/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bltk.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705968000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CAo6W0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bltk + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bltk-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bltk + rm -rf /builddir/build/BUILD/bltk-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bltk-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (bltk-1.0.9-man.patch): + echo 'Patch #1 (bltk-1.0.9-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0 patching file doc/bltk.1 patching file doc/bltk_report.1 patching file doc/bltk.conf.5 Patch #3 (bltk-1.0.9-bltk_paths.patch): + echo 'Patch #3 (bltk-1.0.9-bltk_paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bltk_paths --fuzz=0 patching file tools/analyzer/bltk_plot.sh patching file tools/analyzer/bltk_report_check.sh patching file tools/analyzer/bltk_report_compress.sh patching file tools/analyzer/bltk_report.sh patching file tools/analyzer/bltk_report_table.sh patching file tools/analyzer/bltk_report_uncompress.sh patching file tools/analyzer/bltk_func.sh patching file tools/analyzer/Makefile Patch #4 (bltk-1.0.9-opt_developer.patch): + echo 'Patch #4 (bltk-1.0.9-opt_developer.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opt_developer --fuzz=0 patching file wl_developer/bltk_wl_developer.sh Patch #5 (bltk-1.1.0-cond_install.patch): + echo 'Patch #5 (bltk-1.1.0-cond_install.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cond_install --fuzz=0 patching file wl_developer/bltk_wl_developer_install.sh patching file wl_office/bltk_wl_office_install.sh Hunk #2 succeeded at 81 (offset -1 lines). patching file wl_player/bltk_wl_player_install.sh + echo 'Patch #6 (bltk-1.0.9-opt_game.patch):' Patch #6 (bltk-1.0.9-opt_game.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opt_game --fuzz=0 patching file wl_game/bltk_wl_game.sh Hunk #3 succeeded at 195 (offset 6 lines). + echo 'Patch #7 (bltk-1.0.9-conf.patch):' Patch #7 (bltk-1.0.9-conf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .conf --fuzz=0 patching file include/parseconf.h patching file tools/bltk/main.c patching file tools/bltk/Makefile patching file tools/bltk/parseconf.c Patch #8 (bltk-1.0.9-opt_office.patch): + echo 'Patch #8 (bltk-1.0.9-opt_office.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opt_office --fuzz=0 patching file wl_office/bltk_wl_office_run_app.sh patching file wl_office/bltk_wl_office.sh patching file tools/bltk/bltk_wl_common.sh Patch #10 (bltk-1.0.9-opt_player.patch): + echo 'Patch #10 (bltk-1.0.9-opt_player.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opt_player --fuzz=0 patching file wl_player/bltk_wl_player_make_binary.sh patching file wl_player/bltk_wl_player.sh Patch #11 (bltk-1.0.9-home_dir.patch): + echo 'Patch #11 (bltk-1.0.9-home_dir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .home_dir --fuzz=0 patching file tools/bltk/bltk_get_dmidecode.sh patching file tools/bltk/bltk_get_lspci.sh patching file tools/bltk/bltk_get_user_field.sh patching file tools/bltk/bltk_get_xdpyinfo.sh Patch #12 (bltk-1.0.9-opt_reader.patch): + echo 'Patch #12 (bltk-1.0.9-opt_reader.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opt_reader --fuzz=0 patching file wl_reader/bltk_wl_reader.sh patching file wl_reader/bltk_wl_reader_xse.c Patch #13 (bltk-1.0.9-installed.patch): + echo 'Patch #13 (bltk-1.0.9-installed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .installed --fuzz=0 patching file tools/bltk/bltk_check.sh patching file tools/bltk/bltk_wl_common.sh Hunk #1 succeeded at 375 (offset 1 line). Patch #15 (bltk-1.0.9-xse.patch): + echo 'Patch #15 (bltk-1.0.9-xse.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .xse --fuzz=0 patching file include/xse.h patching file tools/bltk/main.c patching file tools/xse/Makefile patching file tools/xse/xse.c patching file wl_developer/Makefile patching file wl_game/Makefile patching file wl_office/Makefile patching file wl_reader/Makefile Patch #16 (bltk-1.0.9-conf_home.patch): + echo 'Patch #16 (bltk-1.0.9-conf_home.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .conf_home --fuzz=0 patching file tools/bltk/parseconf.c Patch #17 (bltk-1.1.0-rm_sudo.patch): + echo 'Patch #17 (bltk-1.1.0-rm_sudo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rm_sudo --fuzz=0 patching file include/bltk.h patching file Makefile Hunk #1 succeeded at 92 (offset 3 lines). patching file tools/bat_drain/bat_drain.sh patching file tools/bltk/bltk_check.sh patching file tools/bltk/bltk_get_dmidecode.sh patching file tools/bltk/bltk_get_hdparm.sh patching file tools/bltk/bltk_get_user_field.sh patching file tools/bltk/bltk_install.sh patching file tools/bltk/bltk_save_sys_info.sh patching file tools/bltk/bltk_wl_common.sh patching file tools/bltk/main.c patching file tools/bltk/Makefile patching file tools/bltk/stat.c patching file tools/Makefile patching file wl_game/bltk_wl_game.sh patching file wl_player/bltk_wl_player.sh patching file wl_reader/bltk_wl_reader.sh Patch #18 (bltk-1.0.9-plot-path.patch): + echo 'Patch #18 (bltk-1.0.9-plot-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .plot-path --fuzz=0 patching file tools/analyzer/bltk_plot.sh Patch #19 (bltk-1.0.9-rpm.patch): + echo 'Patch #19 (bltk-1.0.9-rpm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rpm --fuzz=0 patching file tools/analyzer/bltk_get_hd_rpm.sh + echo 'Patch #20 (bltk-1.1.0-cflags-override.patch):' Patch #20 (bltk-1.1.0-cflags-override.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cflags-override --fuzz=0 patching file tools/analyzer/Makefile patching file tools/bat_drain/Makefile patching file tools/bltk/Makefile patching file tools/get_realpath/Makefile patching file tools/sudo/Makefile patching file tools/time/Makefile patching file tools/type_command/Makefile patching file tools/xse/Makefile patching file wl_developer/Makefile patching file wl_game/Makefile patching file wl_office/Makefile patching file wl_player/Makefile patching file wl_reader/Makefile Patch #21 (bltk-c99.patch): + echo 'Patch #21 (bltk-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/bltk.h patching file tools/analyzer/Makefile patching file tools/bat_drain/Makefile patching file tools/bltk/Makefile patching file tools/get_realpath/Makefile patching file tools/sudo/Makefile patching file tools/time/Makefile patching file tools/time/bltk_time.c patching file tools/type_command/Makefile patching file tools/type_command/bltk_type_command.c patching file tools/xse/Makefile patching file wl_developer/Makefile patching file wl_game/Makefile patching file wl_office/Makefile patching file wl_player/Makefile patching file wl_player/bltk_wl_player_install.sh patching file wl_reader/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HaX0OM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bltk + make 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' make[1]: Entering directory '/builddir/build/BUILD/bltk/tools' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/xse' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I ../../include -fPIC -c -o xse.o xse.c xse.c: In function ‘focus_action’: xse.c:671:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 671 | if (status == (Status) NULL) { | ^ xse.c: In function ‘key_action’: xse.c:742:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 742 | if (status == (Status) NULL) { | ^ xse.c: In function ‘send_work_log_msg’: xse.c:643:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 643 | (void)write(fd, comment, sz + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ xse.c: In function ‘get_winid_action.isra’: xse.c:528:59: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4072 [-Wformat-overflow=] 528 | (void)sprintf(cmd, "%s/bin/bltk_winid -S \"%s\" > %s", getenv("BLTK_ROOT"), title, winid_tmp); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:980, from xse.c:40: In function ‘sprintf’, inlined from ‘get_winid_action.isra’ at xse.c:528:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 25 or more bytes (assuming 4120) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xse.c: In function ‘x_get_winid_action.isra’: xse.c:513:64: warning: ‘%s’ directive writing up to 4095 bytes into a region of size between 4053 and 4067 [-Wformat-overflow=] 513 | (void)sprintf(cmd, "bltk_winid -S -t %d -s %d \"%s\" > %s", | ^~ 514 | wait_time, sleep_time, title, winid_tmp); | ~~~~~~~~~ In function ‘sprintf’, inlined from ‘x_get_winid_action.isra’ at xse.c:513:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 30 or more bytes (assuming 4139) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -shared -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I ../../include -fPIC -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 -Wl,-soname -Wl,libxse.so.0 -o ../../lib/libxse.so.0 xse.o make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/xse' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/bltk' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../../include -c -o main.o main.c main.c: In function ‘discharging_workload’: main.c:791:1: warning: no return statement in function returning non-void [-Wreturn-type] 791 | } | ^ main.c: In function ‘get_bltk_root_by_proc’: main.c:1588:27: warning: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 1 [-Wrestrict] 1588 | if (readlink(str, str, sizeof str) > -1) | ~~~ ^~~ main.c: In function ‘debug’: main.c:96:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 96 | (void)write(fd, str2, strlen(str2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: At top level: main.c:329:12: warning: ‘sig_hup_flg’ defined but not used [-Wunused-variable] 329 | static int sig_hup_flg = 0; | ^~~~~~~~~~~ main.c: In function ‘debug’: main.c:92:38: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4092 [-Wformat-overflow=] 92 | (void)sprintf(str2, "%s: %s: %s\n", strtime, procname, str); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from main.c:42: In function ‘sprintf’, inlined from ‘debug’ at main.c:92:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 4101) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘run_workload’: main.c:696:50: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4080 [-Wformat-overflow=] 696 | "%s 2>&1 | tee -ai %s", wl, work_out_log_fname); | ^~ ~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘run_workload’ at main.c:695:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 4112) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘run_workload’: main.c:693:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4093 [-Wformat-overflow=] 693 | (void)sprintf(cmd, "%s >>%s 2>&1", wl, work_out_log_fname); | ^~ ~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘run_workload’ at main.c:693:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘run_workload’: main.c:716:43: warning: ‘ failed ’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 716 | (void)sprintf(prt_str, "%s failed\n", cmd); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘run_workload’ at main.c:716:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘create_wl_version_file.constprop’: main.c:1078:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1078 | "open() of %s failed: errno %d (%s)\n", | ^~ 1079 | fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_wl_version_file.constprop’ at main.c:1077:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘create_wl_version_file.constprop’: main.c:1087:52: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4085 [-Wformat-overflow=] 1087 | (void)sprintf(prt_str, "write() to %s failed: " | ^~ 1088 | "errno %d (%s)\n", fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_wl_version_file.constprop’ at main.c:1087:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 32 or more bytes (assuming 4127) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘create_wl_version_file.constprop’: main.c:1106:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1106 | "open() of %s failed: errno %d (%s)\n", | ^~ 1107 | fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_version_file’ at main.c:1105:9, inlined from ‘create_wl_version_file.constprop’ at main.c:1093:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘create_wl_version_file.constprop’: main.c:1116:52: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4085 [-Wformat-overflow=] 1116 | (void)sprintf(prt_str, "write() to %s failed: " | ^~ 1117 | "errno %d (%s)\n", fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_version_file’ at main.c:1116:9, inlined from ‘create_wl_version_file.constprop’ at main.c:1093:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 32 or more bytes (assuming 4127) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:957:53: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 957 | (void)sprintf(prt_str, "symlink(%s, %s) failed, " | ^~ 958 | "errno %d (%s)\n", 959 | results, str, errno, strerror(errno)); | ~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:957:9, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 32 or more bytes (assuming 4127) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:967:43: warning: ‘ failed ’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 967 | (void)sprintf(prt_str, "%s failed\n", cmd); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:967:9, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:992:59: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 992 | (void)sprintf(prt_str, "open() of %s failed: " | ^~ 993 | "errno %d (%s)\n", 994 | stat_log_fname, errno, strerror(errno)); | ~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:992:10, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1010:59: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1010 | (void)sprintf(prt_str, "open() of %s failed: " | ^~ 1011 | "errno %d (%s)\n", 1012 | work_log_fname, errno, strerror(errno)); | ~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:1010:10, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1037:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4093 [-Wformat-overflow=] 1037 | (void)sprintf(cmd, "%s >>%s", cmdline, str); | ^~ ~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:1037:8, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 4099) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1041:33: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4094 [-Wformat-overflow=] 1041 | (void)sprintf(cmd, "%s >%s", cmdline, str); | ^~ ~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:1041:8, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 3 or more bytes (assuming 4098) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1058:43: warning: ‘ failed ’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1058 | (void)sprintf(prt_str, "%s failed\n", cmd); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘environment_init’ at main.c:1058:9, inlined from ‘main’ at main.c:2150:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:2296:71: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4080 [-Wformat-overflow=] 2296 | (void)sprintf(cmd, "%s 2>&1 | tee -ai %s", | ^~ 2297 | init_user_workload_prog, 2298 | work_out_log_fname); | ~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:2296:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 17 or more bytes (assuming 4112) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:2292:58: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4093 [-Wformat-overflow=] 2292 | (void)sprintf(cmd, "%s >>%s 2>&1", | ^~ 2293 | init_user_workload_prog, 2294 | work_out_log_fname); | ~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:2292:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:2318:59: warning: ‘ failed ’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 2318 | (void)sprintf(prt_str, "%s failed\n", cmd); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:2318:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1138:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1138 | "open() of %s failed: errno %d (%s)\n", | ^~ 1139 | fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_comment_file’ at main.c:1137:9, inlined from ‘main’ at main.c:2397:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1149:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4085 [-Wformat-overflow=] 1149 | "write() to %s failed: " | ^~ 1150 | "errno %d (%s)\n", 1151 | fname, errno, strerror(errno)); | ~~~~~ In function ‘sprintf’, inlined from ‘create_comment_file’ at main.c:1148:10, inlined from ‘main’ at main.c:2397:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 32 or more bytes (assuming 4127) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:2414:52: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4085 [-Wformat-overflow=] 2414 | (void)sprintf(prt_str, "Start prog %s\n", cmd); | ^~ ~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:2414:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4108 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:2418:51: warning: ‘ failed ’ directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 2418 | (void)sprintf(prt_str, "%s failed\n", cmd); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:2418:10: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4104 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../../include -c -o init.o init.c init.c: In function ‘get_load_cpus’: init.c:788:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 788 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 789 | "open(%s, O_RDONLY) failed\n", 790 | __FILE__, __LINE__, cpu_stat_file); | ~~~~~~~~~~~~~ init.c:789:37: note: format string is defined here 789 | "open(%s, O_RDONLY) failed\n", | ^~ In file included from /usr/include/stdio.h:980, from init.c:46: In function ‘sprintf’, inlined from ‘get_load_cpus’ at init.c:788:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 48 and 4143 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘get_load_cpus’: init.c:798:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 798 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ ...... 801 | cpu_stat_file, err, strerror(err)); | ~~~~~~~~~~~~~ init.c:799:37: note: format string is defined here 799 | "read(%s) failed with %d (%s)\n", | ^~ In function ‘sprintf’, inlined from ‘get_load_cpus’ at init.c:798:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 48 or more bytes (assuming 4143) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:147:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] 147 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 148 | "access(%s) failed\n", 149 | __FILE__, __LINE__, info_log_fname); | ~~~~~~~~~~~~~~ init.c:148:39: note: format string is defined here 148 | "access(%s) failed\n", | ^~ In function ‘sprintf’, inlined from ‘init_vars’ at init.c:147:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 40 and 4135 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:200:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] 200 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 201 | "access(%s) failed\n", 202 | __FILE__, __LINE__, cpu_stat_file); | ~~~~~~~~~~~~~ init.c:201:39: note: format string is defined here 201 | "access(%s) failed\n", | ^~ In function ‘sprintf’, inlined from ‘init_vars’ at init.c:200:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 40 and 4135 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:353:43: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 353 | (void)sprintf(name, "%s/%s", bat_dir, bat_info_file); | ^ In function ‘sprintf’, inlined from ‘get_bat’ at init.c:353:9, inlined from ‘init_vars’ at init.c:227:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:656:43: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 656 | (void)sprintf(name, "%s/%s", cpu_cstate_dir, cpu_cstate_file); | ^ In function ‘sprintf’, inlined from ‘get_cstate_cpus’ at init.c:656:9, inlined from ‘init_vars’ at init.c:246:20: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:930:43: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 930 | (void)sprintf(name, "%s/%s", cpu_freq_dir, cur_freq_file); | ^ In function ‘sprintf’, inlined from ‘get_freq_cpus’ at init.c:930:9, inlined from ‘init_vars’ at init.c:265:18: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:933:51: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 933 | (void)sprintf(name, "%s/%s", | ^ In function ‘sprintf’, inlined from ‘get_freq_cpus’ at init.c:933:10, inlined from ‘init_vars’ at init.c:265:18: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ init.c: In function ‘init_vars’: init.c:1003:31: warning: ‘/stats/time_in_state’ directive writing 20 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1003 | (void)sprintf(str, "%s/stats/time_in_state", cpu_freq_dir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘init_freq_cpu_path’ at init.c:1003:8, inlined from ‘get_freq_cpus’ at init.c:950:9, inlined from ‘init_vars’ at init.c:265:18: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 21 and 4116 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../../include -c -o file.o file.c file.c: In function ‘get_ac_state’: file.c:67:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4046 [-Wformat-overflow=] 67 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ ...... 70 | state_name, ac_adapter_state_path); | ~~~~~~~~~~~~~~~~~~~~~ file.c:68:62: note: format string is defined here 68 | "get_value_pseudo_file(%s) for %s file failed\n", | ^~ In file included from /usr/include/stdio.h:980, from file.c:46: In function ‘sprintf’, inlined from ‘get_ac_state’ at file.c:67:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 64 or more bytes (assuming 4159) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_bat_charge_state’: file.c:219:28: warning: ‘%s’ directive writing up to 262143 bytes into a region of size 4054 [-Wformat-overflow=] 219 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 220 | "Unknown bat state (%s)\n", __FILE__, __LINE__, buf); | ~~~ file.c:220:43: note: format string is defined here 220 | "Unknown bat state (%s)\n", __FILE__, __LINE__, buf); | ^~ In function ‘sprintf’, inlined from ‘get_bat_charge_state’ at file.c:219:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 45 and 262188 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_time_in_state’: file.c:261:47: warning: ‘%s’ directive writing up to 262142 bytes into a region of size 4058 [-Wformat-overflow=] 261 | "time_in_state: sscanf() failed, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:262:54: note: format string is defined here 262 | "str - %s\n", ptr1); | ^~ In function ‘sprintf’, inlined from ‘get_time_in_state’ at file.c:260:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 40 and 262182 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_cpu_intr’: file.c:346:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 340 | char *fname = proc_interrupts_path; | ~~~~~~~~~~~~~~~~~~~~ ...... 346 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ file.c:347:37: note: format string is defined here 347 | "open(%s) failed\n", __FILE__, __LINE__, fname); | ^~ In function ‘sprintf’, inlined from ‘get_cpu_intr’ at file.c:346:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 38 and 4133 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_cpu_intr’: file.c:356:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4063 [-Wformat-overflow=] 340 | char *fname = proc_interrupts_path; | ~~~~~~~~~~~~~~~~~~~~ ...... 356 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ file.c:357:42: note: format string is defined here 357 | "read from %s failed\n", | ^~ In function ‘sprintf’, inlined from ‘get_cpu_intr’ at file.c:356:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 42 and 4137 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_cpu_load’: file.c:495:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 495 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 496 | "open(%s, O_RDONLY) failed\n", 497 | __FILE__, __LINE__, cpu_stat_file); | ~~~~~~~~~~~~~ file.c:496:37: note: format string is defined here 496 | "open(%s, O_RDONLY) failed\n", | ^~ In function ‘sprintf’, inlined from ‘get_cpu_load’ at file.c:495:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 48 and 4143 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_cpu_load’: file.c:505:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 505 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ ...... 508 | cpu_stat_file, err, strerror(err)); | ~~~~~~~~~~~~~ file.c:506:37: note: format string is defined here 506 | "read(%s) failed with %d (%s)\n", | ^~ In function ‘sprintf’, inlined from ‘get_cpu_load’ at file.c:505:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 48 or more bytes (assuming 4143) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘get_cpu_load’: file.c:516:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4064 [-Wformat-overflow=] 516 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 517 | "strstr(%s, %s) failed.\n", 518 | __FILE__, __LINE__, buf, cpu_name); | ~~~~~~~~ file.c:517:43: note: format string is defined here 517 | "strstr(%s, %s) failed.\n", | ^~ In function ‘sprintf’, inlined from ‘get_cpu_load’ at file.c:516:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 43 or more bytes (assuming 4138) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../../include -c -o stat.o stat.c stat.c: In function ‘write_report_str’: stat.c:685:13: warning: variable ‘bat_dv’ set but not used [-Wunused-but-set-variable] 685 | int bat_dv[MAX_BAT]; | ^~~~~~ stat.c: In function ‘write_to_warning_log’: stat.c:91:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 91 | (void)write(fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_err_log’: stat.c:110:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | (void)write(fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_work_out_log_only’: stat.c:138:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 138 | (void)write(fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_file_buf_to_file’: stat.c:195:23: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 195 | (void)write(fd_proc_log, buf, ind); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_base’: stat.c:219:23: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 219 | (void)write(fd_proc_log, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_stat_log’: stat.c:331:23: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 331 | (void)write(fd_stat_log, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_work_log’: stat.c:341:23: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 341 | (void)write(fd_work_log, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_err_log’: stat.c:103:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 103 | (void)sprintf(err_str, "open() of %s failed: " | ^~ 104 | "errno %d (%s)\n", 105 | err_log_fname, errno, strerror(errno)); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from stat.c:42: In function ‘sprintf’, inlined from ‘write_to_err_log’ at stat.c:103:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_warning_log’: stat.c:84:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 84 | (void)sprintf(err_str, "open() of %s failed: " | ^~ 85 | "errno %d (%s)\n", 86 | warning_log_fname, errno, strerror(errno)); | ~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘write_to_warning_log’ at stat.c:84:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘write_to_work_out_log_only’: stat.c:131:51: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 131 | (void)sprintf(err_str, "open() of %s failed: " | ^~ 132 | "errno %d (%s)\n", 133 | work_out_log_fname, errno, strerror(errno)); | ~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘write_to_work_out_log_only’ at stat.c:131:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_user_field.isra’: stat.c:448:34: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4093 [-Wformat-overflow=] 448 | (void)sprintf(cmd, "%s > %s 2>&1", user_field_cmd[field_no], file); | ^~ ~~~~ In function ‘sprintf’, inlined from ‘get_user_field.isra’ at stat.c:448:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_user_field.isra’: stat.c:480:15: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 480 | (void)strncpy(field, buf, (strlen(buf) - 1)); | ^ stat.c:480:36: note: length computed here 480 | (void)strncpy(field, buf, (strlen(buf) - 1)); | ^~~~~~~~~~~ stat.c:473:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 473 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 474 | "read(%s) failed with %d (%s)\n", 475 | __FILE__, __LINE__, file, err, strerror(err)); | ~~~~ stat.c:474:37: note: format string is defined here 474 | "read(%s) failed with %d (%s)\n", | ^~ In function ‘sprintf’, inlined from ‘get_user_field.isra’ at stat.c:473:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 48 or more bytes (assuming 4143) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_user_field.isra’: stat.c:462:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4068 [-Wformat-overflow=] 462 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 463 | "open(%s, O_RDONLY) failed, errno %d(%s)\n", 464 | __FILE__, __LINE__, file, err, strerror(err)); | ~~~~ stat.c:463:37: note: format string is defined here 463 | "open(%s, O_RDONLY) failed, errno %d(%s)\n", | ^~ In function ‘sprintf’, inlined from ‘get_user_field.isra’ at stat.c:462:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 59 or more bytes (assuming 4154) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_user_field.isra’: stat.c:453:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4061 [-Wformat-overflow=] 453 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ 454 | "prog_system(%s) failed with %d\n", 455 | __FILE__, __LINE__, cmd, err); | ~~~ stat.c:454:44: note: format string is defined here 454 | "prog_system(%s) failed with %d\n", | ^~ stat.c:453:36: note: directive argument in the range [0, 255] 453 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_user_field.isra’ at stat.c:453:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 52 and 4149 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_hd_stat’: stat.c:1564:34: warning: ‘ ’ directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] 1564 | (void)sprintf(dmask, " %s ", hd_name); | ^ In function ‘sprintf’, inlined from ‘get_hd_stat’ at stat.c:1564:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 4098 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_hd_stat’: stat.c:1580:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4067 [-Wformat-overflow=] 1580 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ stat.c:1581:37: note: format string is defined here 1581 | "open(%s) failed\n", __FILE__, __LINE__, fname); | ^~ In function ‘sprintf’, inlined from ‘get_hd_stat’ at stat.c:1580:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 39 and 4134 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_hd_stat’: stat.c:1588:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] 1588 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ stat.c:1589:42: note: format string is defined here 1589 | "read from %s failed\n", | ^~ In function ‘sprintf’, inlined from ‘get_hd_stat’ at stat.c:1588:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 43 and 4138 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_hd_stat’: stat.c:1599:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1599 | "diskstats %s: strstr(\" $dmask \") failed, " | ^~ 1600 | "str %s(end)\n", hd_name, buf); | ~~~~~~~ In function ‘sprintf’, inlined from ‘get_hd_stat’ at stat.c:1598:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 50 or more bytes (assuming 4145) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_hd_stat’: stat.c:1613:42: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 1613 | "diskstats %s: sscanf() failed, " | ^~ 1614 | "ret %d, str +%s+\n", hd_name, ret, ptr); | ~~~~~~~ stat.c:1613:31: note: using the range [-2147483648, 2147483647] for directive argument 1613 | "diskstats %s: sscanf() failed, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_hd_stat’ at stat.c:1612:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 44 or more bytes (assuming 4139) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_mem_stat_field’: stat.c:1635:34: warning: ‘: strstr("’ directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1635 | "%s: strstr(\"%s:\") failed, " | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_mem_stat_field’ at stat.c:1634:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 28 or more bytes (assuming 4123) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_mem_stat_field’: stat.c:1644:31: warning: ‘: sscanf() failed, ret ’ directive writing 23 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1644 | "%s: sscanf() failed, " | ^~~~~~~~~~~~~~~~~~~~~~~ stat.c:1644:34: note: format string is defined here 1644 | "%s: sscanf() failed, " | ^~~~~~~~~~~~~~~~~~~~ 1645 | "ret %d, buf %s\n", fname, ret, ptr); | ~~~~~ stat.c:1644:31: note: using the range [-2147483648, 2147483647] for directive argument 1644 | "%s: sscanf() failed, " | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_mem_stat_field’ at stat.c:1643:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 32 or more bytes (assuming 4127) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_mem_stat.part.0’: stat.c:1674:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4067 [-Wformat-overflow=] 1674 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ stat.c:1675:37: note: format string is defined here 1675 | "open(%s) failed\n", __FILE__, __LINE__, fname); | ^~ In function ‘sprintf’, inlined from ‘get_mem_stat.part.0’ at stat.c:1674:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 39 and 4134 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stat.c: In function ‘get_mem_stat.part.0’: stat.c:1682:36: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] 1682 | (void)sprintf(str, "File %s, Line %d: " | ^~~~~~~~~~~~~~~~~~~~ stat.c:1683:42: note: format string is defined here 1683 | "read from %s failed\n", | ^~ In function ‘sprintf’, inlined from ‘get_mem_stat.part.0’ at stat.c:1682:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 43 and 4138 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../../include -c -o parseconf.o parseconf.c parseconf.c: In function ‘param_load_conf’: parseconf.c:240:29: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4086 [-Wformat-overflow=] 240 | sprintf(str, "BLTK_CONF=%s", conf_file); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:980, from parseconf.c:39: In function ‘sprintf’, inlined from ‘param_load_conf’ at parseconf.c:240:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 4106 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc main.o init.o file.o stat.o parseconf.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../../bin/bltk cp bltk_save_sys_info.sh ../../bin/bltk_save_sys_info cp bltk_get_info.sh ../../bin/bltk_get_info cp bltk_get_ac_adapter.sh ../../bin/bltk_get_ac_adapter cp bltk_get_bat.sh ../../bin/bltk_get_bat cp bltk_get_cpustat.sh ../../bin/bltk_get_cpustat cp bltk_get_cpufreq.sh ../../bin/bltk_get_cpufreq cp bltk_get_cpuinfo.sh ../../bin/bltk_get_cpuinfo cp bltk_get_cpustate.sh ../../bin/bltk_get_cpustate cp bltk_get_dmidecode.sh ../../bin/bltk_get_dmidecode cp bltk_get_hdparm.sh ../../bin/bltk_get_hdparm cp bltk_get_kernel_release.sh ../../bin/bltk_get_kernel_release cp bltk_get_meminfo.sh ../../bin/bltk_get_meminfo cp bltk_get_system_release.sh ../../bin/bltk_get_system_release cp bltk_get_xdpyinfo.sh ../../bin/bltk_get_xdpyinfo cp bltk_get_lspci.sh ../../bin/bltk_get_lspci cp bltk_get_timer.sh ../../bin/bltk_get_timer cp bltk_winid.sh ../../bin/bltk_winid cp bltk_display_state.sh ../../bin/bltk_display_state cp bltk_spy.sh ../../bin/bltk_spy cp bltk_wl_common.sh ../../bin/bltk_wl_common cp bltk_check.sh ../../bin/bltk_check cp bltk_install.sh ../../bin/bltk_install cp bltk_get_user_field.sh ../../bin/bltk_get_user_field make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/bltk' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/get_realpath' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -c -o bltk_get_realpath.o bltk_get_realpath.c gcc bltk_get_realpath.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../../bin/bltk_get_realpath make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/get_realpath' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/type_command' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -c -o bltk_type_command.o bltk_type_command.c bltk_type_command.c: In function ‘main’: bltk_type_command.c:94:30: warning: ‘:~ # ’ directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 94 | (void)sprintf(pr, "%s:~ # ", hn); | ^~~~~ In file included from /usr/include/stdio.h:980, from bltk_type_command.c:42: In function ‘sprintf’, inlined from ‘main’ at bltk_type_command.c:94:8: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 1029 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc bltk_type_command.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../../bin/bltk_type_command make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/type_command' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/analyzer' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -c -o bltk_calc.o bltk_calc.c gcc bltk_calc.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../../bin/bltk_calc cp bltk_get_stat.sh ../../bin/bltk_get_stat cp bltk_report.sh ../../bin/bltk_report cp bltk_report_table.sh ../../bin/bltk_report_table cp bltk_report_check.sh ../../bin/bltk_report_check cp bltk_plot.sh ../../bin/bltk_plot cp bltk_get_hd_rpm.sh ../../bin/bltk_get_hd_rpm cp bltk_report_compress.sh ../../bin/bltk_report_compress cp bltk_report_uncompress.sh ../../bin/bltk_report_uncompress cp bltk_func.sh ../../bin/bltk_func make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/analyzer' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/time' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -c -o bltk_time.o bltk_time.c gcc bltk_time.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../../bin/bltk_time make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/time' make[2]: Entering directory '/builddir/build/BUILD/bltk/tools/bat_drain' cp bat_drain.sh ../../bin/bat_drain cp bat_drain_table.sh ../../bin/bat_drain_table make[2]: Leaving directory '/builddir/build/BUILD/bltk/tools/bat_drain' make[1]: Leaving directory '/builddir/build/BUILD/bltk/tools' make[1]: Entering directory '/builddir/build/BUILD/bltk/wl_reader' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../include -c -o bltk_wl_reader_xse.o bltk_wl_reader_xse.c gcc bltk_wl_reader_xse.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 ../lib/libxse.so.0 -Wl,-rpath,/usr/lib/bltk -o bin/bltk_wl_reader_xse cp bltk_wl_reader_install.sh bin/bltk_wl_reader_install cp bltk_wl_reader.sh bin/bltk_wl_reader make[1]: Leaving directory '/builddir/build/BUILD/bltk/wl_reader' make[1]: Entering directory '/builddir/build/BUILD/bltk/wl_developer' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../include -c -o bltk_wl_developer_xse.o bltk_wl_developer_xse.c gcc bltk_wl_developer_xse.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 ../lib/libxse.so.0 -Wl,-rpath,/usr/lib/bltk -o bin/bltk_wl_developer_xse cp bltk_wl_developer_install.sh bin/bltk_wl_developer_install cp bltk_wl_developer.sh bin/bltk_wl_developer cp bltk_wl_developer_spy.sh bin/bltk_wl_developer_spy make[1]: Leaving directory '/builddir/build/BUILD/bltk/wl_developer' make[1]: Entering directory '/builddir/build/BUILD/bltk/wl_office' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../include -c -o bltk_wl_office_xse.o bltk_wl_office_xse.c gcc bltk_wl_office_xse.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 ../lib/libxse.so.0 -Wl,-rpath,/usr/lib/bltk -o bin/bltk_wl_office_xse cp bltk_wl_office_install.sh bin/bltk_wl_office_install cp bltk_wl_office.sh bin/bltk_wl_office cp bltk_wl_office_run_app.sh bin/bltk_wl_office_run_app cp install_linux.sh bin/install_linux cp scen_install bin/scen_install make[1]: Leaving directory '/builddir/build/BUILD/bltk/wl_office' make[1]: Entering directory '/builddir/build/BUILD/bltk/wl_game' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -g -O2 -I../include -c -o bltk_wl_game_xse.o bltk_wl_game_xse.c gcc bltk_wl_game_xse.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11 ../lib/libxse.so.0 -Wl,-rpath,/usr/lib/bltk -o bin/bltk_wl_game_xse cp bltk_wl_game_install.sh bin/bltk_wl_game_install cp bltk_wl_game.sh bin/bltk_wl_game make[1]: Leaving directory '/builddir/build/BUILD/bltk/wl_game' make[1]: Entering directory '/builddir/build/BUILD/bltk/wl_player' cp bltk_wl_player_install.sh bin/bltk_wl_player_install cp bltk_wl_player.sh bin/bltk_wl_player cp bltk_wl_player_make_binary.sh bin/bltk_wl_player_make_binary make[1]: Leaving directory '/builddir/build/BUILD/bltk/wl_player' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FyjRBt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bltk + rm -rf /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 PACKAGE_BUILD=y bin/bltk_install -i === Workload 'developer' === Workload 'office' === Workload 'player' ./bin/bltk_wl_player_install: line 305: syntax error near unexpected token `}' ./bin/bltk_wl_player_install: line 305: `}' === Workload 'game' + [[ 1 = 0 ]] + [[ install = i ]] + [[ install = install ]] + work=install + tee -i install.log + startup + trap 'cleanup 1; exit 1' 1 2 3 15 + wl_startup ++ dirname ./bin/bltk_wl_game_install + BLTK_WL_BIN=./bin + [[ 0 != 0 ]] ++ wl_get_dirpath ./bin ++ typeset dir=./bin ++ typeset cwd=/builddir/build/BUILD/bltk/wl_game ++ typeset res= ++ cd ./bin ++ [[ 0 != 0 ]] ++ res=/builddir/build/BUILD/bltk/wl_game/bin ++ cd /builddir/build/BUILD/bltk/wl_game ++ [[ 0 != 0 ]] ++ echo /builddir/build/BUILD/bltk/wl_game/bin ++ return 0 + BLTK_WL_BIN=/builddir/build/BUILD/bltk/wl_game/bin + [[ 0 != 0 ]] ++ wl_get_dirpath /builddir/build/BUILD/bltk/wl_game/bin/.. ++ typeset dir=/builddir/build/BUILD/bltk/wl_game/bin/.. ++ typeset cwd=/builddir/build/BUILD/bltk/wl_game ++ typeset res= ++ cd /builddir/build/BUILD/bltk/wl_game/bin/.. ++ [[ 0 != 0 ]] ++ res=/builddir/build/BUILD/bltk/wl_game ++ cd /builddir/build/BUILD/bltk/wl_game ++ [[ 0 != 0 ]] ++ echo /builddir/build/BUILD/bltk/wl_game ++ return 0 + BLTK_WL_ROOT=/builddir/build/BUILD/bltk/wl_game + [[ 0 != 0 ]] + [[ -z /builddir/build/BUILD/bltk ]] + export BLTK_WL_BIN + export BLTK_WL_ROOT + export BLTK_ROOT + export BLTK_ROOT_FILE=/builddir/build/BUILD/bltk/.bltk + BLTK_ROOT_FILE=/builddir/build/BUILD/bltk/.bltk + export BLTK_INSTALL_FILE=/builddir/build/BUILD/bltk/.installed + BLTK_INSTALL_FILE=/builddir/build/BUILD/bltk/.installed + export BLTK_BIN=/builddir/build/BUILD/bltk/bin + BLTK_BIN=/builddir/build/BUILD/bltk/bin + export BLTK_LIB=/builddir/build/BUILD/bltk/lib + BLTK_LIB=/builddir/build/BUILD/bltk/lib + export BLTK_TMP=/builddir/.bltk/tmp + BLTK_TMP=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT=/builddir/.bltk/tmp + BLTK_EXTERN_TGT=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC_WL_DEVELOPER=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC_WL_DEVELOPER=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT_WL_DEVELOPER=/builddir/.bltk/tmp + BLTK_EXTERN_TGT_WL_DEVELOPER=/builddir/.bltk/tmp + export BLTK_TMP_WL_DEVELOPER=/builddir/.bltk/tmp + BLTK_TMP_WL_DEVELOPER=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC_WL_GAME=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC_WL_GAME=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT_WL_GAME=/builddir/.bltk/tmp + BLTK_EXTERN_TGT_WL_GAME=/builddir/.bltk/tmp + export BLTK_TMP_WL_GAME=/builddir/.bltk/tmp + BLTK_TMP_WL_GAME=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC_WL_OFFICE=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC_WL_OFFICE=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT_WL_OFFICE=/builddir/.bltk/tmp + BLTK_EXTERN_TGT_WL_OFFICE=/builddir/.bltk/tmp + export BLTK_TMP_WL_OFFICE=/builddir/.bltk/tmp + BLTK_TMP_WL_OFFICE=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC_WL_PLAYER=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC_WL_PLAYER=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT_WL_PLAYER=/builddir/.bltk/tmp + BLTK_EXTERN_TGT_WL_PLAYER=/builddir/.bltk/tmp + export BLTK_TMP_WL_PLAYER=/builddir/.bltk/tmp + BLTK_TMP_WL_PLAYER=/builddir/.bltk/tmp + export BLTK_EXTERN_SRC_WL_READER=/builddir/build/BUILD/bltk/extern + BLTK_EXTERN_SRC_WL_READER=/builddir/build/BUILD/bltk/extern + export BLTK_EXTERN_TGT_WL_READER=/builddir/.bltk/tmp + BLTK_EXTERN_TGT_WL_READER=/builddir/.bltk/tmp + export BLTK_TMP_WL_READER=/builddir/.bltk/tmp + BLTK_TMP_WL_READER=/builddir/.bltk/tmp + export BLTK_WL_INSTALL_FILE=/builddir/build/BUILD/bltk/wl_game/.installed + BLTK_WL_INSTALL_FILE=/builddir/build/BUILD/bltk/wl_game/.installed + [[ -z /builddir/build/BUILD/bltk/bin/bltk_calc ]] + [[ -z /builddir/build/BUILD/bltk/bin/bltk_time ]] + [[ -z /builddir/build/BUILD/bltk/bin/bltk_type_command ]] + [[ -z /builddir/build/BUILD/bltk/bin/bltk_get_realpath ]] + [[ -z '' ]] + export BLTK_RESULTS=/builddir/build/BUILD/bltk/wl_game + BLTK_RESULTS=/builddir/build/BUILD/bltk/wl_game + [[ -z '' ]] + export BLTK_FAIL_FNAME=/builddir/build/BUILD/bltk/wl_game/fail + BLTK_FAIL_FNAME=/builddir/build/BUILD/bltk/wl_game/fail + export LD_LIBRARY_PATH=/builddir/build/BUILD/bltk/lib: + LD_LIBRARY_PATH=/builddir/build/BUILD/bltk/lib: + export PATH=/builddir/build/BUILD/bltk/wl_game/bin:/builddir/build/BUILD/bltk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/bltk/wl_game/bin:/builddir/build/BUILD/bltk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cd /builddir/build/BUILD/bltk/wl_game + [[ 0 != 0 ]] + rm -f + RES_SCORE=/builddir/build/BUILD/bltk/wl_game/score + [[ -a /builddir/build/BUILD/bltk/wl_game/score ]] + return 0 + wl_check_error 0 + typeset ret=0 + [[ 0 != 0 ]] + return 0 + export GAME_SRC_FILE=/builddir/build/BUILD/bltk/extern/openarena.tar.bz2 + GAME_SRC_FILE=/builddir/build/BUILD/bltk/extern/openarena.tar.bz2 + export GAME_SRC_TMP_PARENT_DIR=/builddir/.bltk/tmp + GAME_SRC_TMP_PARENT_DIR=/builddir/.bltk/tmp + export GAME_SRC_TMP_DIR=/builddir/.bltk/tmp/openarena + GAME_SRC_TMP_DIR=/builddir/.bltk/tmp/openarena + export GAME_BIN_PACKAGE=/builddir/build/BUILD/bltk/extern/oa070.zip + GAME_BIN_PACKAGE=/builddir/build/BUILD/bltk/extern/oa070.zip + export GAME_TGT_BIN_PARENT_DIR=/builddir/.bltk/tmp/openarena-0.7.0 + GAME_TGT_BIN_PARENT_DIR=/builddir/.bltk/tmp/openarena-0.7.0 ++ uname -m + [[ riscv64 == x86_64 ]] + export GAME_TGT_BIN_FILE=/builddir/.bltk/tmp/openarena-0.7.0/ioquake3-smp.i386 + GAME_TGT_BIN_FILE=/builddir/.bltk/tmp/openarena-0.7.0/ioquake3-smp.i386 + export GAME_TGT_CONFIG_DIR=/builddir/.bltk/tmp/openarena-0.7.0/baseoa + GAME_TGT_CONFIG_DIR=/builddir/.bltk/tmp/openarena-0.7.0/baseoa + install + uninstall + wl_remove_install + [[ -a /builddir/build/BUILD/bltk/wl_game/.installed ]] + return 0 + wl_check_error 0 + typeset ret=0 + [[ 0 != 0 ]] + return 0 + wl_remove_dir /builddir/.bltk/tmp/openarena-0.7.0 + typeset dir=/builddir/.bltk/tmp/openarena-0.7.0 + [[ -a /builddir/.bltk/tmp/openarena-0.7.0 ]] + return 0 + wl_check_error 0 + typeset ret=0 + [[ 0 != 0 ]] + return 0 + wl_check_error 0 + typeset ret=0 + [[ 0 != 0 ]] + return 0 + make_game_zip + wl_check_file /builddir/build/BUILD/bltk/extern/oa070.zip + typeset file=/builddir/build/BUILD/bltk/extern/oa070.zip + [[ ! -f /builddir/build/BUILD/bltk/extern/oa070.zip ]] + wl_error_msg 'Cannot access /builddir/build/BUILD/bltk/extern/oa070.zip' + echo 'ERROR: Cannot access /builddir/build/BUILD/bltk/extern/oa070.zip' ERROR: Cannot access /builddir/build/BUILD/bltk/extern/oa070.zip + return 0 + return 1 + wl_check_warning 1 + typeset ret=1 + [[ 1 != 0 ]] + shift 1 + return 1 + [[ 1 != 0 ]] + return 1 + wl_check_error 1 + typeset ret=1 + [[ 1 != 0 ]] + shift 1 + cleanup 1 + typeset status=1 + wl_cleanup 1 + typeset pid n p ret + ret=1 + [[ 1 != 0 ]] + [[ ! -z /builddir/build/BUILD/bltk/wl_game/fail ]] + touch /builddir/build/BUILD/bltk/wl_game/fail + wait + return 1 + [[ 1 != 0 ]] ++ wl_prt_time ++ typeset tm= ++ typeset hh ++ typeset mm ++ typeset ss ++ [[ -z '' ]] ++ (( tm = SECONDS - BLTK_WL_START_TIME )) +++ /builddir/build/BUILD/bltk/bin/bltk_calc %i 0 60 ++ ss=0 +++ /builddir/build/BUILD/bltk/bin/bltk_calc /i 0 60 ++ mm=0 +++ /builddir/build/BUILD/bltk/bin/bltk_calc %i 0 60 ++ mm=0 +++ /builddir/build/BUILD/bltk/bin/bltk_calc /i 0 3600 ++ hh=0 ++ printf %02i:%02i:%02i 0 0 0 ++ return 0 + wl_error_msg '=== Workload '\''game'\'' failed, time 00:00:00' + echo 'ERROR: === Workload '\''game'\'' failed, time 00:00:00' ERROR: === Workload 'game' failed, time 00:00:00 + return 0 + exit 1 === Summary: === Workload 'developer' passed, time 00:00:00 === Workload 'office' passed, time 00:00:00 === Workload 'player' failed, time 00:00:00 === Workload 'game' failed, time 00:00:00 === Time 00:00:00 + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/lib /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/doc /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_developer /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_game /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_player /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_reader + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_developer/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_game/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_player/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_reader/bin + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/man/man5 + install -m 644 /builddir/build/SOURCES/bltk.conf /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/etc + install -m 644 doc/bltk.1 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64//usr/share/man/man1 + install -m 644 doc/bltk_report.1 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64//usr/share/man/man1 + install -m 644 doc/bltk.conf.5 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64//usr/share/man/man5 + install -m 755 bin/bat_drain /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin/bat_drain + install -m 755 bin/bat_drain_table /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin/bat_drain_table + install -m 755 bin/bltk /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin + install -m 755 lib/libxse.so.0 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/lib/libxse.so.0 + install -m 755 bin/bltk_calc bin/bltk_check bin/bltk_display_state bin/bltk_func bin/bltk_get_ac_adapter bin/bltk_get_bat bin/bltk_get_cpufreq bin/bltk_get_cpuinfo bin/bltk_get_cpustat bin/bltk_get_cpustate bin/bltk_get_dmidecode bin/bltk_get_hd_rpm bin/bltk_get_hdparm bin/bltk_get_info bin/bltk_get_kernel_release bin/bltk_get_lspci bin/bltk_get_meminfo bin/bltk_get_realpath bin/bltk_get_stat bin/bltk_get_system_release bin/bltk_get_timer bin/bltk_get_user_field bin/bltk_get_xdpyinfo bin/bltk_install bin/bltk_plot bin/bltk_report bin/bltk_report_check bin/bltk_report_compress bin/bltk_report_table bin/bltk_report_uncompress bin/bltk_save_sys_info bin/bltk_spy bin/bltk_time bin/bltk_type_command bin/bltk_winid bin/bltk_wl_common /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin/ + install -m 755 bin/bat_drain bin/bat_drain_table /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/bin/ + install -m 755 wl_developer/bin/bltk_wl_developer /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_developer/bin + install -m 755 wl_developer/bin/bltk_wl_developer_xse /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_developer/bin + install -m 755 wl_developer/bin/bltk_wl_developer_spy /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_developer/bin + install -m 755 wl_game/bin/bltk_wl_game /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_game/bin + install -m 755 wl_game/bin/bltk_wl_game_xse /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_game/bin + install -m 755 wl_office/bin/bltk_wl_office /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office/bin + install -m 755 wl_office/bin/bltk_wl_office_xse /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office/bin + install -m 755 wl_office/bin/bltk_wl_office_run_app /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office/bin + install -m 644 /builddir/build/SOURCES/OOCALC_FILE_SAMPLE.ods /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 /builddir/build/SOURCES/OODRAW_FILE_SAMPLE.odg /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 /builddir/build/SOURCES/OOWRITER_FILE_SAMPLE.odt /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 wl_office/scen /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 wl_office/scen_install /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 wl_office/response_install /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 644 wl_office/text1 wl_office/text2 wl_office/text3 /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_office + install -m 755 wl_player/bin/bltk_wl_player /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_player/bin + install -m 755 wl_player/bin/bltk_wl_player_make_binary /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_player/bin + install -m 755 wl_reader/bin/bltk_wl_reader /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_reader/bin + install -m 755 wl_reader/bin/bltk_wl_reader_xse /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_reader/bin + install -m 644 wl_reader/war_and_peace.html /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/lib64/bltk/wl_reader + cat + chmod a+rx /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/bin/bltk + pushd /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/bin ~/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/bin ~/build/BUILD/bltk + for f in bltk_plot bltk_report bltk_report_compress bltk_report_table bltk_report_uncompress + ln -s bltk bltk_plot + for f in bltk_plot bltk_report bltk_report_compress bltk_report_table bltk_report_uncompress + ln -s bltk bltk_report + for f in bltk_plot bltk_report bltk_report_compress bltk_report_table bltk_report_uncompress + ln -s bltk bltk_report_compress + for f in bltk_plot bltk_report bltk_report_compress bltk_report_table bltk_report_uncompress + ln -s bltk bltk_report_table + for f in bltk_plot bltk_report bltk_report_compress bltk_report_table bltk_report_uncompress + ln -s bltk bltk_report_uncompress + popd ~/build/BUILD/bltk + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1.0-31.fc40 --unique-debug-suffix -1.1.0-31.fc40.riscv64 --unique-debug-src-base bltk-1.1.0-31.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bltk find-debuginfo: starting Extracting debug info from 10 files DWARF-compressing 10 files sepdebugcrcfix: Updated 10 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bltk-1.1.0-31.fc40.riscv64 471 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib64/bltk/wl_office/bin/bltk_wl_office from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_office/bin/bltk_wl_office_run_app from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_player/bin/bltk_wl_player_make_binary from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_player/bin/bltk_wl_player from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_reader/bin/bltk_wl_reader from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_game/bin/bltk_wl_game from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_wl_common from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_check from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_ac_adapter from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_install from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bat_drain_table from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_info from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_report_table from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_lspci from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_report from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_hd_rpm from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_hdparm from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_xdpyinfo from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_user_field from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_report_uncompress from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_cpuinfo from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_report_compress from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_cpustate from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_cpustat from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_winid from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_stat from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_meminfo from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_cpufreq from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_bat from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_display_state from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_save_sys_info from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_func from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_report_check from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bat_drain from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_kernel_release from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_dmidecode from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_timer from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_spy from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_get_system_release from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/bin/bltk_plot from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_developer/bin/bltk_wl_developer from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib64/bltk/wl_developer/bin/bltk_wl_developer_spy from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/bltk from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: bltk-1.1.0-31.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CBfjM2 + umask 022 + cd /builddir/build/BUILD + cd bltk + DOCDIR=/builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/doc/bltk + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/doc/bltk + cp -pr /builddir/build/BUILD/bltk/doc/HOWTO /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/doc/bltk + cp -pr /builddir/build/BUILD/bltk/doc/Manual /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/doc/bltk + cp -pr /builddir/build/BUILD/bltk/doc/README /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64/usr/share/doc/bltk + RPM_EC=0 ++ jobs -p + exit 0 Provides: bltk = 1.1.0-31.fc40 bltk(riscv-64) = 1.1.0-31.fc40 config(bltk) = 1.1.0-31.fc40 libxse.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/sh 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) libc.so.6(GLIBC_2.34)(64bit) libxse.so.0()(64bit) rtld(GNU_HASH) Processing files: bltk-debugsource-1.1.0-31.fc40.riscv64 Provides: bltk-debugsource = 1.1.0-31.fc40 bltk-debugsource(riscv-64) = 1.1.0-31.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bltk-debuginfo-1.1.0-31.fc40.riscv64 Provides: bltk-debuginfo = 1.1.0-31.fc40 bltk-debuginfo(riscv-64) = 1.1.0-31.fc40 debuginfo(build-id) = 08a202d0abc0145393e152cccc376a8a0b07727f debuginfo(build-id) = 32d678229f3ad8e14fc15e9dae180b4747d9e81b debuginfo(build-id) = 419d825aadc6120dfb6438a96fa27d8262c2254b debuginfo(build-id) = 44a60419945f586fc0e0b47ac98058986c267d6b debuginfo(build-id) = 61a5ab4268a3ea8fba1bb27df3b2cba9acb24c53 debuginfo(build-id) = 69766ff59183633d886f1b21a0359dbcb7f3a925 debuginfo(build-id) = 9c304ebf765db4c533de2e1a3ef7954bb8b048ab debuginfo(build-id) = b4ca284495bb64d8ad2a13df16f25b91eaf7bb13 debuginfo(build-id) = c7737922614fc8b0be57d0b4601c126a79c1aeba debuginfo(build-id) = e41bc7b9975acbe3d812caf434cb59308015b437 libxse.so.0-1.1.0-31.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bltk-debugsource(riscv-64) = 1.1.0-31.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 Wrote: /builddir/build/RPMS/bltk-debugsource-1.1.0-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bltk-debuginfo-1.1.0-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bltk-1.1.0-31.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wUQIbR + umask 022 + cd /builddir/build/BUILD + cd bltk + /usr/bin/rm -rf /builddir/build/BUILDROOT/bltk-1.1.0-31.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.KP2auI + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/bltk-SPECPARTS + rm -rf bltk bltk.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Child return code was: 0