Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hnb.spec'], chrootPath='/var/lib/mock/f29-build-10447-4723/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hnb.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/hnb-1.9.19-9.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hnb.spec'], chrootPath='/var/lib/mock/f29-build-10447-4723/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hnb.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h7gdP6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lhnb-1.9.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/lhnb-1.9.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lhnb-1.9.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (hnb-rpm.patch): + echo 'Patch #0 (hnb-rpm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .r --fuzz=0 patching file src/libcli/Makefile patching file src/Makefile Patch #3 (hnb-format-security.patch): + echo 'Patch #3 (hnb-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file src/libcli/cli.c + cp -p /builddir/build/SOURCES/hnbrc.vi doc/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AyNJCH + umask 022 + cd /builddir/build/BUILD + cd lhnb-1.9.19 + /usr/bin/make 'OPTFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 (cd src;make) BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/lhnb-1.9.19/src' (cd libcli;make libcli.a) make[2]: Entering directory '/builddir/build/BUILD/lhnb-1.9.19/src/libcli' cc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cli.o cli.c cc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cli_history.o cli_history.c cc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cli_tokenize.o cli_tokenize.c ar rcs libcli.a cli*.o make[2]: Leaving directory '/builddir/build/BUILD/lhnb-1.9.19/src/libcli' BUILDSTDERR: make[1]: Circular init_subsystems.c <- init_subsystems.c dependency dropped. cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o init_subsystems.o init_subsystems.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o clipboard.o clipboard.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o actions.o actions.c BUILDSTDERR: actions.c: In function 'action_node': BUILDSTDERR: actions.c:126:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system (cmdline); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: actions.c: In function 'cmd_system': BUILDSTDERR: actions.c:41:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system (argv[1]); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: actions.c: In function 'action_node': BUILDSTDERR: actions.c:55:3: warning: offset '5' outside bounds of constant string [-Warray-bounds] BUILDSTDERR: sprintf (cmdline, "%s > /dev/null 2>&1 &", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fixnullstring (node_get (node, TEXT)) + 5); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o path.o path.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o spell.o spell.c BUILDSTDERR: spell.c: In function 'spell_node': BUILDSTDERR: spell.c:50:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (tempfile, fixnullstring (node_get (node, TEXT)), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: strlen (node_get (node, TEXT))); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spell.c:55:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system (commandline); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spell.c:52:28: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 254 [-Wformat-overflow=] BUILDSTDERR: sprintf (commandline, "%s %s", spell_command, tempfilename); BUILDSTDERR: ^~ ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from ui.h:5, BUILDSTDERR: from spell.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 287 bytes into a destination of size 255 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_xml.o file_xml.c BUILDSTDERR: file_xml.c: In function 'xml_export_nodes': BUILDSTDERR: file_xml.c:79:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int flags; BUILDSTDERR: ^~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o tree_misc.o tree_misc.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_binary.o file_binary.c BUILDSTDERR: file_binary.c: In function 'import_binary': BUILDSTDERR: file_binary.c:124:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&header, sizeof(int), 1, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:125:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&version, sizeof(int), 1, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:138:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&attributes, sizeof(int),1,file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:147:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&len, sizeof(int),1,file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:149:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(att_name,1,len,file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:151:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&len, sizeof(int),1,file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: file_binary.c:153:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(att_data,1,len,file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o statcmds.o statcmds.c BUILDSTDERR: statcmds.c: In function 'mem_cmd': BUILDSTDERR: statcmds.c:40:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: "%*i %*s %*s %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %*i %i", BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &VmSize); BUILDSTDERR: ~~~~~~~~ BUILDSTDERR: statcmds.c:58:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%*s %*s %*s %*s %*s %*s %*s %*i %*i %i %i %i", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: &free, &buffers, &cached); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o expanded.o expanded.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o tree_sort.o tree_sort.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_html.o file_html.c BUILDSTDERR: file_html.c: In function 'export_html': BUILDSTDERR: file_html.c:60:13: warning: variable 'flags' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int level, flags, startlevel, lastlevel, cnt; BUILDSTDERR: ^~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_hnb.o file_hnb.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui.o ui.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_cli.o ui_cli.c BUILDSTDERR: ui_cli.c: In function 'cli': BUILDSTDERR: ui_cli.c:252:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (commandline, 4096, stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o prefs.o prefs.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o node.o node.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file.o file.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_overlay.o ui_overlay.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_draw.o ui_draw.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o state.o state.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_style.o ui_style.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o mark.o mark.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_menu.o ui_menu.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_ps.o file_ps.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_ascii.o file_ascii.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_binding.o ui_binding.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o cli_macro.o cli_macro.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o query.o query.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o autosave.o autosave.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_opml.o file_opml.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o util_string.o util_string.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o cal.o cal.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ui_edit.o ui_edit.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o search.o search.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o xml_tok.o xml_tok.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o hnb.o hnb.c BUILDSTDERR: hnb.c: In function 'main': BUILDSTDERR: hnb.c:269:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(response,10,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hnb.c:318:33: warning: '%s' directive writing up to 4095 bytes into a region of size 4082 [-Wformat-overflow=] BUILDSTDERR: sprintf (buf, "import_binary %s", file_to_load); BUILDSTDERR: ^~ ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from ui.h:5, BUILDSTDERR: from hnb.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hnb.c:320:29: warning: '%s' directive writing up to 4095 bytes into a region of size between 3961 and 4088 [-Wformat-overflow=] BUILDSTDERR: sprintf (buf, "import_%s %s", prefs.format, file_to_load); BUILDSTDERR: ^~ ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from ui.h:5, BUILDSTDERR: from hnb.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 4231 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o file_help.o file_help.c BUILDSTDERR: file_help.c: In function 'export_help': BUILDSTDERR: file_help.c:50:32: warning: variable 'lastlevel' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int level, flags, startlevel, lastlevel, cnt; BUILDSTDERR: ^~~~~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o tokenizer.o tokenizer.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o tree_todo.o tree_todo.c cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o tree.o tree.c BUILDSTDERR: tree.c: In function 'node_swap': BUILDSTDERR: tree.c:428:22: warning: variable 'Bright' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Node *Bup, *Bleft, *Bright, *Bdown; BUILDSTDERR: ^~~~~~ BUILDSTDERR: tree.c:427:22: warning: variable 'Aright' set but not used [-Wunused-but-set-variable] BUILDSTDERR: Node *Aup, *Aleft, *Aright, *Adown; BUILDSTDERR: ^~~~~~ cc -c -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o evilloop.o evilloop.c cc -o hnb path.o statcmds.o expanded.o ui.o ui_cli.o xml_tok.o file_opml.o tree_misc.o file_help.o ui_draw.o file_xml.o autosave.o spell.o cal.o ui_edit.o file_html.o hnb.o ui_overlay.o tree.o evilloop.o ui_style.o actions.o tree_todo.o file_binary.o tree_sort.o file.o prefs.o node.o cli_macro.o state.o ui_menu.o file_ps.o mark.o ui_binding.o query.o util_string.o file_ascii.o search.o file_hnb.o tokenizer.o clipboard.o init_subsystems.o -lncurses libcli/libcli.a -I.. -Ilibcli -DHAVE_CONFIG_H -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection make[1]: Leaving directory '/builddir/build/BUILD/lhnb-1.9.19/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yhkMUe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 + cd lhnb-1.9.19 + install -D -p src/hnb /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/bin/hnb + install -D -pm644 doc/hnb.1 /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/man/man1/hnb.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.9.19-9.fc29 --unique-debug-suffix -1.9.19-9.fc29.riscv64 --unique-debug-src-base hnb-1.9.19-9.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lhnb-1.9.19 extracting debug info from /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/bin/hnb /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 526 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hnb-1.9.19-9.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o66ejI + umask 022 + cd /builddir/build/BUILD + cd lhnb-1.9.19 + DOCDIR=/builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + cp -pr COPYING /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + cp -pr README /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + cp -pr doc/Documentation.html /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + cp -pr doc/hnbrc doc/hnbrc.vi /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64/usr/share/doc/hnb + exit 0 Provides: hnb = 1.9.19-9.fc29 hnb(riscv-64) = 1.9.19-9.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: hnb-debugsource-1.9.19-9.fc29.riscv64 Provides: hnb-debugsource = 1.9.19-9.fc29 hnb-debugsource(riscv-64) = 1.9.19-9.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hnb-debuginfo-1.9.19-9.fc29.riscv64 Provides: debuginfo(build-id) = 7262852f7e96a7e927cf69a93d00640176a3a1e6 hnb-debuginfo = 1.9.19-9.fc29 hnb-debuginfo(riscv-64) = 1.9.19-9.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hnb-debugsource(riscv-64) = 1.9.19-9.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 Wrote: /builddir/build/RPMS/hnb-1.9.19-9.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/hnb-debugsource-1.9.19-9.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/hnb-debuginfo-1.9.19-9.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5BHQvj + umask 022 + cd /builddir/build/BUILD + cd lhnb-1.9.19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hnb-1.9.19-9.fc29.riscv64 + exit 0 Child return code was: 0