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/tmate.spec'], chrootPath='/var/lib/mock/f40-build-762308-121848/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/tmate.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=1689984000 Wrote: /builddir/build/SRPMS/tmate-2.4.0-10.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tmate.spec'], chrootPath='/var/lib/mock/f40-build-762308-121848/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/tmate.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=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MV8NaZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tmate-2.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tmate-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tmate-2.4.0 + rm -rf /builddir/build/BUILD/tmate-2.4.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/tmate-2.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KWKhHC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 tmate-2.4.0 + ./autogen.sh configure.ac:17: installing 'etc/compile' configure.ac:9: installing 'etc/config.guess' configure.ac:9: installing 'etc/config.sub' configure.ac:7: installing 'etc/install-sh' configure.ac:7: installing 'etc/missing' Makefile.am: installing 'etc/depcomp' configure.ac:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:31: the top level configure.ac:39: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:39: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:39: the top level configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:47: the top level configure.ac:232: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:232: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:232: the top level configure.ac:247: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:247: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:247: the top level configure.ac:606: warning: AC_OUTPUT should be used without arguments. configure.ac:606: You should run autoupdate. + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./etc/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./etc/config.sub ++ basename ./etc/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./etc/config.sub '/usr/lib/rpm/redhat/config.sub' -> './etc/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./etc/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./etc/config.guess ++ basename ./etc/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./etc/config.guess '/usr/lib/rpm/redhat/config.guess' -> './etc/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for glibc... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for bitstring.h... no checking for curses.h... yes checking for dirent.h... yes checking for execinfo.h... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for libutil.h... no checking for ncurses.h... yes checking for ndir.h... no checking for paths.h... yes checking for pty.h... yes checking for stdint.h... (cached) yes checking for sys/dir.h... yes checking for sys/ndir.h... no checking for sys/tree.h... no checking for term.h... yes checking for util.h... no checking for library containing flock... none required checking for library containing backtrace... none required checking for backtrace... yes checking for dirfd... yes checking for flock... yes checking for setproctitle... no checking for sysconf... yes checking for cfmakeraw... yes checking for library containing clock_gettime... none required checking for libevent... yes checking for ncurses... yes checking for utempter.h... no checking for msgpack >= 1.1.0... yes checking for libssh >= 0.8.4... yes checking for b64_ntop... no checking for b64_ntop with -lresolv... yes checking for library containing inet_ntoa... none required checking for library containing socket... none required checking for socket in -lxnet... no checking for CMSG_DATA... yes checking for library containing imsg_init... no checking for library containing forkpty... none required checking for closefrom... yes checking for daemon... yes checking for setenv... yes checking for strlcpy... yes checking for strlcat... yes checking for asprintf... yes checking for fgetln... no checking for fparseln... no checking for strcasestr... yes checking for strsep... yes checking for strtonum... no checking for stravis... no checking for cfmakeraw... (cached) yes checking for openat... yes checking for reallocarray... yes checking for getopt... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether optarg is declared... yes checking whether optind is declared... yes checking whether optreset is declared... no checking for BSD-style unsigned types... yes checking whether TAILQ_PREV is declared... yes checking whether TAILQ_REPLACE is declared... no checking for __progname... yes checking whether F_CLOSEM is declared... no checking for /proc/$$... yes checking platform... linux checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make -j4 CC alerts.o CC arguments.o CC attributes.o CC cfg.o CC client.o CC cmd-attach-session.o CC cmd-bind-key.o client.c: In function ‘client_dispatch_attached’: client.c:794:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 794 | system(data); | ^~~~~~~~~~~~ CC cmd-break-pane.o CC cmd-capture-pane.o CC cmd-choose-buffer.o CC cmd-choose-client.o CC cmd-choose-tree.o CC cmd-clear-history.o CC cmd-command-prompt.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC cmd-confirm-before.o CC cmd-copy-mode.o CC cmd-detach-client.o CC cmd-display-message.o CC cmd-display-panes.o CC cmd-find.o CC cmd-find-window.o CC cmd-if-shell.o CC cmd-join-pane.o CC cmd-kill-pane.o CC cmd-kill-server.o CC cmd-kill-session.o CC cmd-kill-window.o CC cmd-list-buffers.o CC cmd-list-clients.o CC cmd-list-keys.o CC cmd-list-panes.o CC cmd-list-sessions.o CC cmd-list-windows.o CC cmd-list.o CC cmd-load-buffer.o CC cmd-lock-server.o CC cmd-move-window.o CC cmd-new-session.o CC cmd-new-window.o CC cmd-paste-buffer.o CC cmd-pipe-pane.o CC cmd-queue.o CC cmd-refresh-client.o CC cmd-rename-session.o CC cmd-rename-window.o CC cmd-resize-pane.o cmd-queue.c: In function ‘cmdq_print’: cmd-queue.c:84:25: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 84 | vasprintf(&tmp, fmt, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~ CC cmd-respawn-pane.o CC cmd-respawn-window.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC cmd-rotate-window.o CC cmd-run-shell.o CC cmd-save-buffer.o CC cmd-select-layout.o CC cmd-select-pane.o CC cmd-select-window.o CC cmd-send-keys.o CC cmd-set-buffer.o CC cmd-set-environment.o CC cmd-set-hook.o CC cmd-set-option.o CC cmd-show-environment.o CC cmd-show-messages.o CC cmd-show-options.o CC cmd-source-file.o CC cmd-split-window.o CC cmd-string.o CC cmd-swap-pane.o CC cmd-swap-window.o CC cmd-switch-client.o CC cmd-unbind-key.o CC cmd-wait-for.o CC cmd.o CC colour.o CC control.o CC control-notify.o CC environ.o CC format.o CC grid-view.o CC grid.o CC hooks.o CC input-keys.o CC input.o CC job.o input.c: In function ‘input_reply’: input.c:964:9: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 964 | vasprintf(&reply, fmt, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ job.c: In function ‘job_run’: job.c:72:33: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | chdir("/"); | ^~~~~~~~~~ CC key-bindings.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC key-string.o key-string.c: In function ‘key_string_lookup_key’: key-string.c:281:56: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 281 | snprintf(out, sizeof out, "Invalid#%llx", key); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/event2/event.h:199, from /usr/include/event.h:69, from tmux.h:29, from key-string.c:23: In function ‘snprintf’, inlined from ‘key_string_lookup_key’ at key-string.c:281:3: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 11 and 25 bytes into a destination of size 24 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC layout-custom.o CC layout-set.o CC layout.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC log.o CC mode-key.o CC names.o CC notify.o CC options-table.o CC options.o CC paste.o CC proc.o CC resize.o CC screen-redraw.o CC screen-write.o CC screen.o CC server-client.o CC server-fn.o CC server.o CC session.o CC signal.o CC status.o CC style.o CC tmate-debug.o CC tmate-ssh-client.o CC tmate-encoder.o CC tmate-decoder.o CC tmate-env.o CC tmate-msg.o CC tmate-msgpack.o CC tmate-session.o CC tmux.o CC tty-acs.o CC tty-keys.o CC tty-term.o CC tty.o tty.c: In function ‘tty_puts’: tty.c:482:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 482 | write(tty_log_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tty.c: In function ‘tty_putc’: tty.c:514:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | write(tty_log_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ tty.c: In function ‘tty_putn’: tty.c:522:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 522 | write(tty_log_fd, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC utf8.o CC window-choose.o CC window-clock.o CC window-copy.o CC window.o window.c: In function ‘window_pane_spawn’: window.c:882:33: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 882 | chdir("/"); | ^~~~~~~~~~ CC xmalloc.o CC xterm-keys.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC osdep-linux.o CC compat/imsg.o CC compat/imsg-buffer.o CC compat/fgetln.o CC compat/fparseln.o CC compat/getopt.o compat/fparseln.c:83:61: warning: argument 4 of type ‘const char[3]’ with mismatched bound [-Warray-parameter=] 83 | fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], | ~~~~~~~~~~~^~~~~~ In file included from ./tmux.h:40, from compat/fparseln.c:41: ./compat.h:250:55: note: previously declared as ‘const char *’ 250 | char *fparseln(FILE *, size_t *, size_t *, const char *, int); | ^~~~~~~~~~~~ CC compat/vis.o cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CC compat/unvis.o compat/vis.c: In function ‘stravis’: compat/vis.c:222:23: warning: pointer ‘buf’ may be used after ‘realloc’ [-Wuse-after-free] 222 | *outp = buf; | ~~~~~~^~~~~ compat/vis.c:220:17: note: call to ‘realloc’ here 220 | *outp = realloc(buf, len + 1); | ^~~~~~~~~~~~~~~~~~~~~ CC compat/strtonum.o At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics At top level: cc1: note: unrecognized command-line option ‘-Wno-null-pointer-arithmetic’ may have been intended to silence earlier diagnostics CCLD tmate /usr/bin/ld: tmux.o: in function `make_label': /builddir/build/BUILD/tmate-2.4.0/tmux.c:168:(.text.startup+0x75e): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S9m9vW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 tmate-2.4.0 + make DESTDIR=/builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 install make[1]: Entering directory '/builddir/build/BUILD/tmate-2.4.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/bin' /usr/bin/install -c tmate '/builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/bin' make install-exec-hook make[2]: Entering directory '/builddir/build/BUILD/tmate-2.4.0' if test xmdoc = xmdoc; then \ sed -e "s|@SYSCONFDIR@|/etc|g" ./tmate.1 \ >./tmate.1.mdoc; \ else \ sed -e "s|@SYSCONFDIR@|/etc|g" ./tmate.1| \ gawk -f./mdoc2man.awk >./tmate.1.man; \ fi /usr/bin/mkdir -p /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./tmate.1.mdoc \ /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/man/man1/tmate.1 make[2]: Leaving directory '/builddir/build/BUILD/tmate-2.4.0' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/tmate-2.4.0' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.4.0-10.fc40 --unique-debug-suffix -2.4.0-10.fc40.riscv64 --unique-debug-src-base tmate-2.4.0-10.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tmate-2.4.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/tmate-2.4.0-10.fc40.riscv64 2352 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 + /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: tmate-2.4.0-10.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LARPXw + umask 022 + cd /builddir/build/BUILD + cd tmate-2.4.0 + DOCDIR=/builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + cp -pr /builddir/build/BUILD/tmate-2.4.0/CHANGES /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + cp -pr /builddir/build/BUILD/tmate-2.4.0/FAQ /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + cp -pr /builddir/build/BUILD/tmate-2.4.0/README-tmux /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + cp -pr /builddir/build/BUILD/tmate-2.4.0/README.md /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/doc/tmate + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qjo7p2 + umask 022 + cd /builddir/build/BUILD + cd tmate-2.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/licenses/tmate + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/licenses/tmate + cp -pr /builddir/build/BUILD/tmate-2.4.0/COPYING /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64/usr/share/licenses/tmate + RPM_EC=0 ++ jobs -p + exit 0 Provides: tmate = 2.4.0-10.fc40 tmate(riscv-64) = 2.4.0-10.fc40 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libevent-2.1.so.7()(64bit) libmsgpackc.so.2()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libssh.so.4()(64bit) libssh.so.4(LIBSSH_4_5_0)(64bit) libssh.so.4(LIBSSH_4_7_0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: tmate-debugsource-2.4.0-10.fc40.riscv64 Provides: tmate-debugsource = 2.4.0-10.fc40 tmate-debugsource(riscv-64) = 2.4.0-10.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tmate-debuginfo-2.4.0-10.fc40.riscv64 Provides: debuginfo(build-id) = e2b12c5f06f6ab78ae866e165d29ee9e39108ae7 tmate-debuginfo = 2.4.0-10.fc40 tmate-debuginfo(riscv-64) = 2.4.0-10.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tmate-debugsource(riscv-64) = 2.4.0-10.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 Wrote: /builddir/build/RPMS/tmate-2.4.0-10.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/tmate-debugsource-2.4.0-10.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/tmate-debuginfo-2.4.0-10.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4hZihI + umask 022 + cd /builddir/build/BUILD + cd tmate-2.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tmate-2.4.0-10.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.J6fGuE + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/tmate-2.4.0-SPECPARTS + rm -rf tmate-2.4.0 tmate-2.4.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0