Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rlwrap.spec'], chrootPath='/var/lib/mock/f32-build-120857-37055/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'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rlwrap.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rlwrap-0.43-4.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rlwrap.spec'], chrootPath='/var/lib/mock/f32-build-120857-37055/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'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rlwrap.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HlY8tm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rlwrap-0.43 + /usr/bin/gzip -dc /builddir/build/SOURCES/rlwrap-0.43.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rlwrap-0.43 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jMoltm + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.43 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./tools/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./tools/config.guess BUILDSTDERR: ++ basename ./tools/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tools/config.guess '/usr/lib/rpm/redhat/config.guess' -> './tools/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./tools/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./tools/config.sub BUILDSTDERR: ++ basename ./tools/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tools/config.sub '/usr/lib/rpm/redhat/config.sub' -> './tools/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for perl... /usr/bin/perl checking for strip... strip checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/wait.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for term.h... yes checking for ncurses/term.h... yes checking whether PROC_PIDVNODEPATHINFO is declared... no checking whether procstat_open_sysctl is declared... no checking whether procstat_getprocs is declared... no checking whether procstat_getfiles is declared... no checking whether STAILQ_FOREACH is declared... no checking argument type of tputs putc function... int checking whether your getopt() correctly understands double colons in option string... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for getopt_long... yes checking for basename... yes checking for dirname... yes checking for getopt_long... (cached) yes checking for isastream... no checking for mkstemps... yes checking for pselect... yes checking for putenv... yes checking for readlink... yes checking for sched_yield... yes checking for setenv... yes checking for setitimer... yes checking for setsid... yes checking for setrlimit... yes checking for sigaction... yes checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strnlen... yes checking for system... yes checking for openpty in -lutil... yes checking for openpty... yes checking for getpty... no checking for grantpt... yes checking for unlockpt... yes checking for getpt... yes checking for pty/tty type... checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes OPENPTY configure: checking for pty ranges... checking for tgetent... no checking for tgetent in -ltinfo... yes checking for readline in -lreadline... yes checking for tigetnum... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking whether your readline headers and library know about rl_set_screen_size... yes checking whether your readline headers and library know about rl_basic_quote_characters... yes checking whether your readline headers and library know about rl_variable_value... yes checking whether your readline headers and library know about rl_readline_version... yes checking whether your readline headers and library know about rl_executing_keyseq... yes checking whether the private symbol _rl_horizontal_scroll_mode is visble in your readline libs... yes Will rlwrap find command's working directory under /proc//cwd? let's see... checking for /proc/20909/cwd/configure.ac... yes checking whether we can find command line under //cmdline and mirror it by overwriting our own *argv... yes checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating filters/Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating doc/rlwrap.man config.status: creating config.h config.status: executing depfiles commands Now do: make (or gmake) to build rlwrap make check for instructions how to test it make install to install it + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/doc' sed -e 's#@DATADIR@#/usr/share#' rlwrap.man > rlwrap.1 make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/doc' Making all in src make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 signals.o signals.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: signals.c: In function 'pass_on_signal': BUILDSTDERR: signals.c:240:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 240 | int ret, saved_errno = errno, pass_it_on = TRUE; BUILDSTDERR: | ^~~ BUILDSTDERR: signals.c: In function 'adapt_tty_winsize': BUILDSTDERR: signals.c:287:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 287 | int ret; BUILDSTDERR: | ^~~ BUILDSTDERR: signals.c: In function 'handle_program_error_signal': BUILDSTDERR: signals.c:392:7: warning: variable 'res' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 392 | int res; BUILDSTDERR: | ^~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 pty.o pty.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 main.o main.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: main.c: In function 'main_loop': BUILDSTDERR: main.c:234:24: warning: variable 'timeoutstr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 234 | char buf[BUFFSIZE], *timeoutstr, *old_raw_prompt, *new_output_minus_prompt; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: main.c: In function 'init_rlwrap': BUILDSTDERR: main.c:567:10: warning: variable 'now' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 567 | time_t now; BUILDSTDERR: | ^~~ BUILDSTDERR: main.c:565:46: warning: variable 'hostname' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 565 | char *homedir, *histdir, *homedir_prefix, *hostname; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: main.c: In function 'main_loop': BUILDSTDERR: main.c:468:13: warning: 'old_raw_prompt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 468 | free(old_raw_prompt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 readline.o readline.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: readline.c: In function 'move_cursor_to_start_of_prompt': BUILDSTDERR: readline.c:809:7: warning: unused variable 'cooked' [-Wunused-variable] BUILDSTDERR: 809 | int cooked = (saved_rl_state.cooked_prompt != NULL); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from rlwrap.h:102, BUILDSTDERR: from readline.c:23: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'entire_history_as_one_string' at readline.c:638:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: readline.c: In function 'entire_history_as_one_string': BUILDSTDERR: readline.c:637:18: note: length computed here BUILDSTDERR: 637 | int length = strlen((*entryp)->line); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: readline.c: In function 'line_handler': BUILDSTDERR: readline.c:313:7: warning: 'lookback' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 313 | int lookback, count, here; BUILDSTDERR: | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 term.o term.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 ptytty.o ptytty.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: ptytty.c: In function 'ptytty_control_tty': BUILDSTDERR: ptytty.c:220:11: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: 220 | pid_t ret = setsid(); BUILDSTDERR: | ^~~ BUILDSTDERR: ptytty.c:239:11: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: 239 | int ret = ioctl(fd, TIOCNOTTY, NULL); /* void tty associations */ BUILDSTDERR: | ^~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 completion.o completion.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: completion.c: In function 'rblookup': BUILDSTDERR: completion.c:693:6: warning: 'cmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 693 | RB_ENTRY(_right_rotate)(&rbinfo->rb_root, x); BUILDSTDERR: | ^ BUILDSTDERR: completion.c:636:6: note: 'cmp' was declared here BUILDSTDERR: 636 | while(x != rbinfo->rb_root && (x->up->colour == RED)) BUILDSTDERR: | ^~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 malloc_debug.o malloc_debug.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 utils.o utils.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: utils.c: In function 'set_ulimit': BUILDSTDERR: utils.c:297:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 297 | int result; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: utils.c: In function 'mysetsid': BUILDSTDERR: utils.c:818:9: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: 818 | pid_t ret = setsid(); BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: utils.c:694:1: warning: 'print_debug_flag' defined but not used [-Wunused-function] BUILDSTDERR: 694 | print_debug_flag(int flag, char *explanation) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 filter.o filter.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: filter.c: In function 'handle_out_of_band': BUILDSTDERR: filter.c:250:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 250 | if (expected_tag == TAG_COMPLETION) /* start new line when completing (looks better) */ BUILDSTDERR: | ^~ BUILDSTDERR: filter.c:252:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 252 | myerror(FATAL|NOERRNO, message); BUILDSTDERR: | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -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 string_utils.o string_utils.c make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' BUILDSTDERR: string_utils.c: In function 'mangle_buffer_for_debug_log': BUILDSTDERR: string_utils.c:457:7: warning: unused variable 'debug_saved' [-Wunused-variable] BUILDSTDERR: 457 | int debug_saved = debug; /* needed by macro MANGLE_LENGTH */ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: string_utils.c: In function 'match_regexp': BUILDSTDERR: string_utils.c:860:7: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 860 | int result; BUILDSTDERR: | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' gcc -DDATADIR=\"/usr/share\" -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o rlwrap main.o signals.o readline.o pty.o completion.o term.o ptytty.o utils.o string_utils.o malloc_debug.o filter.o -lutil -lreadline -ltinfo make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' Making all in filters make[2]: Nothing to be done for 'all'. + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gr23Eo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 + cd rlwrap-0.43 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 'INSTALL=/usr/bin/install -p' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/doc' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 rlwrap.1 '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/doc' make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/doc' Making install in src make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/bin' /usr/bin/install -p rlwrap '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' Making install in filters make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/man/man3' /usr/bin/install -p -m 644 RlwrapFilter.3pm '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap/filters' /usr/bin/install -p -m 644 filters/README filters/RlwrapFilter.pm filters/RlwrapFilter.3pm filters/count_in_prompt filters/pipeto filters/logger filters/null filters/unbackspace filters/pipeline filters/ftp_filter filters/handle_hotkeys filters/history_format filters/simple_macro filters/template filters/scrub_prompt filters/paint_prompt filters/censor_passwords filters/listing filters/paint_prompt.py filters/handle_hotkeys.py filters/logger.py filters/pipeto.py filters/rlwrapfilter.py filters/null.py filters/censor_passwords.py filters/count_in_prompt.py filters/ftp_filter.py '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap/filters' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap/completions' /usr/bin/install -p -m 644 completions/testclient completions/coqtop '/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap/completions' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' chmod a+x /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/rlwrap/filters/* make[3]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.43-4.fc32 --unique-debug-suffix -0.43-4.fc32.riscv64 --unique-debug-src-base rlwrap-0.43-4.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rlwrap-0.43 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/bin/rlwrap extracting debug info from /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/bin/rlwrap original debug info size: 404kB, size after compression: 336kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 557 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/rlwrap/filters/count_in_prompt from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/paint_prompt from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/pipeline from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/listing from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/history_format from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/template from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/logger from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/handle_hotkeys from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/ftp_filter from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/censor_passwords from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/simple_macro from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/unbackspace from /usr/bin/env perl to #!/usr/bin/perl BUILDSTDERR: *** WARNING: ./usr/share/rlwrap/filters/README is executable but has no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/share/rlwrap/filters/RlwrapFilter.pm is executable but has no shebang, removing executable bit mangling shebang in /usr/share/rlwrap/filters/handle_hotkeys.py from /usr/bin/env python3 to #!/usr/bin/python3 BUILDSTDERR: *** WARNING: ./usr/share/rlwrap/filters/RlwrapFilter.3pm is executable but has no shebang, removing executable bit mangling shebang in /usr/share/rlwrap/filters/null from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/pipeto from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/share/rlwrap/filters/scrub_prompt from /usr/bin/env perl to #!/usr/bin/perl Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.X1eIYn + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.43 + make check Making check in doc make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/doc' Making check in src make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/src' Making check in filters make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43/filters' make[1]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' make[3]: Entering directory '/builddir/build/BUILD/rlwrap-0.43' PASS: test/testit ============================================================================ Testsuite summary for rlwrap 0.43 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' make[2]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' make[1]: Leaving directory '/builddir/build/BUILD/rlwrap-0.43' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: rlwrap-0.43-4.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NL77co + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.43 + DOCDIR=/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/doc/rlwrap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/doc/rlwrap + cp -pr AUTHORS /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/doc/rlwrap + cp -pr NEWS /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/doc/rlwrap + cp -pr README /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/doc/rlwrap + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Yd6BCo + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.43 + LICENSEDIR=/builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/licenses/rlwrap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/licenses/rlwrap + cp -pr COPYING /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64/usr/share/licenses/rlwrap + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: perl(RlwrapFilter) = 0.01 rlwrap = 0.43-4.fc32 rlwrap(riscv-64) = 0.43-4.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl /usr/bin/python3 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) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) perl(:VERSION) >= 5.6.0 perl(AutoLoader) perl(Carp) perl(Config) perl(Data::Dumper) perl(Exporter) perl(Getopt::Std) perl(POSIX) perl(RlwrapFilter) perl(constant) perl(lib) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: rlwrap-debugsource-0.43-4.fc32.riscv64 Provides: rlwrap-debugsource = 0.43-4.fc32 rlwrap-debugsource(riscv-64) = 0.43-4.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rlwrap-debuginfo-0.43-4.fc32.riscv64 Provides: debuginfo(build-id) = 9be25a24e610a86a946ce9334cd4f1b8765d1155 rlwrap-debuginfo = 0.43-4.fc32 rlwrap-debuginfo(riscv-64) = 0.43-4.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rlwrap-debugsource(riscv-64) = 0.43-4.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 Wrote: /builddir/build/RPMS/rlwrap-debugsource-0.43-4.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/rlwrap-0.43-4.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/rlwrap-debuginfo-0.43-4.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KXLbcp + umask 022 + cd /builddir/build/BUILD + cd rlwrap-0.43 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rlwrap-0.43-4.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0