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/multitail.spec'], chrootPath='/var/lib/mock/f37-build-677770-76282/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/multitail.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/multitail-6.5.0-6.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multitail.spec'], chrootPath='/var/lib/mock/f37-build-677770-76282/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multitail.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XqLKeq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multitail-6.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/multitail-6.5.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd multitail-6.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 conversion-scripts/colors-example.pl conversion-scripts/colors-example.sh + chmod 644 conversion-scripts/convert-geoip.pl conversion-scripts/convert-simple.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XR0V5i + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 multitail-6.5.0 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' CONFIG_FILE=/etc/multitail.conf gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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: '__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:906, from utils.c:7: In function 'snprintf', inlined from 'amount_to_str' at utils.c:373:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 7 bytes into a destination of size 6 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'amount_to_str': utils.c:371:52: warning: '__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 function 'snprintf', inlined from 'amount_to_str' at utils.c:371:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 7 bytes into a destination of size 6 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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.... gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 /var/tmp/rpm-tmp.XR0V5i (%build) Bad exit status from /var/tmp/rpm-tmp.XR0V5i (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multitail.spec