D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/multitail-6.5.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Bjkt9c + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf multitail-6.5.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/multitail-6.5.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd multitail-6.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HbK7tn + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd multitail-6.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j4 V=1 VERBOSE=1 CONFIG_FILE=/etc/multitail.conf cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o my_pty.o my_pty.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o error.o error.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o utils.o utils.c utils.c: In function 'amount_to_str': utils.c:373:52: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 373 | snprintf(out, AMOUNT_STR_LEN, "%dKB", (int)((amount + M_KB - 1) / M_KB)); | ^ In file included from /usr/include/stdio.h:888, from utils.c:7: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 4 and 7 bytes into a destination of size 6 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c:371:52: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 371 | snprintf(out, AMOUNT_STR_LEN, "%dMB", (int)((amount + M_MB - 1) / M_MB)); | ^ In file included from /usr/include/stdio.h:888, from utils.c:7: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 4 and 7 bytes into a destination of size 6 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o scrollback.o scrollback.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o term.o term.c term.c: In function 'edit_string': term.c:162:17: error: format not a string literal and no format arguments [-Werror=format-security] 162 | mvwprintw(win -> win, win_y, win_x, &string[dummy]); | ^~~~~~~~~ term.c: In function 'win_header': term.c:611:9: error: format not a string literal and no format arguments [-Werror=format-security] 611 | mvwprintw(win -> win, 1, 2, str); | ^~~~~~~~~ cc1: some warnings being treated as errors make: *** [: term.o] Error 1 make: *** Waiting for unfinished jobs.... cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o mem.o mem.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o help.o help.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wno-unused-parameter -funsigned-char -O3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLinux -DVERSION=\"6.5.0\" -DCONFIG_FILE=\"/etc/multitail.conf\" -D_FORTIFY_SOURCE=2 -MMD -MP -DUTF8_SUPPORT -c -o mt.o mt.c mt.c: In function 'update_statusline': mt.c:1467:126: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off64_t' {aka 'long int'} [-Wformat=] 1467 | mvwprintw(status -> win, 0, win_width - (strlen(timestamp) + cur_len), "%10lld - %s", fsize, timestamp); | ~~~~~^ ~~~~~ | | | | | off64_t {aka long int} | long long int | %10ld mt.c: In function 'create_windows': mt.c:1746:17: error: format not a string literal and no format arguments [-Werror=format-security] 1746 | wprintw(menu_win -> win, version_str); | ^~~~~~~ cc1: some warnings being treated as errors make: *** [: mt.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HbK7tn (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HbK7tn (%build) I: [iurt_root_command] ERROR: chroot