Running phase: unpackPhase unpacking source archive /nix/store/rhxnkpyicw6xrfn321sinqvydlsx3l0x-source source root is source Running phase: patchPhase substituteStream() in derivation tmate-unstable-2022-08-07: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'configure.ac') Running phase: autoreconfPhase autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: no obvious need to run autopoint autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory etc autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: configure.ac: no need to run autopoint (confirmed) autoreconf: running: /nix/store/j0ygmw4i7y9jhbgxh59kavh380krhmx8-autoconf-2.73/bin/autoconf --force configure.ac:31: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:205: 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:205: 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:205: 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:2976: 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:2976: 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. autoreconf: configure.ac: not running autoheader: no config headers autoreconf: running: automake --add-missing --copy --force-missing 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' autoreconf: configure.ac: not running make: --make not given autoreconf: Leaving directory '.' Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./etc/config.sub Updating Autotools / GNU config script to a newer upstream version: ./etc/config.guess Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/sh" configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07 checking whether make supports nested variables... yes checking for a BSD-compatible install... /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '100' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C23 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... /nix/store/yhr4ps9rdmb55pgqaq246vlh7xfac1dx-gnugrep-3.12/bin/grep checking for egrep... /nix/store/yhr4ps9rdmb55pgqaq246vlh7xfac1dx-gnugrep-3.12/bin/grep -E checking pkg-config is at least version 0.9.0... yes checking for egrep -e... (cached) /nix/store/yhr4ps9rdmb55pgqaq246vlh7xfac1dx-gnugrep-3.12/bin/grep -E 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-c >= 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 to detect undeclared functions... none needed checking for gcc options to ignore future-version 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 Running phase: buildPhase build flags: SHELL=/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/bash CC alerts.o CC arguments.o CC attributes.o CC cfg.o CC client.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); | ^~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC cmd-attach-session.o CC cmd-bind-key.o 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 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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC cmd-refresh-client.o CC cmd-rename-session.o CC cmd-rename-window.o CC cmd-resize-pane.o CC cmd-respawn-pane.o CC cmd-respawn-window.o 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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC job.o 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("/"); | ^~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC key-bindings.o 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 /nix/store/qwi863qp79xkdm2yw3xzjh73dpg9qh67-glibc-2.42-84-dev/include/stdio.h:970, from /nix/store/1fcq8iigmjhn0dx176fsghr3229bh0bw-libevent-2.1.13-dev/include/event2/event.h:199, from /nix/store/1fcq8iigmjhn0dx176fsghr3229bh0bw-libevent-2.1.13-dev/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: /nix/store/qwi863qp79xkdm2yw3xzjh73dpg9qh67-glibc-2.42-84-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 25 bytes into a destination of size 24 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics 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("/"); | ^~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC xmalloc.o CC xterm-keys.o CC osdep-linux.o CC compat/imsg.o CC compat/imsg-buffer.o CC compat/fgetln.o CC compat/fparseln.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); | ^~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC compat/getopt.o CC compat/vis.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); | ^~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-null-pointer-arithmetic' may have been intended to silence earlier diagnostics CC compat/unvis.o CC compat/strtonum.o CCLD tmate /nix/store/5pa1282x1sasbwhmnah6bny1g9pc2lj1-binutils-2.46/bin/ld.bfd: tmux.o: in function `make_label': /build/source/tmux.c:169:(.text.startup+0x7b5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' buildPhase completed in 35 seconds Running phase: installPhase install flags: SHELL=/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/bash install make[1]: Entering directory '/build/source' /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/mkdir -p '/nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/bin' /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/install -c tmate '/nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/bin' make install-exec-hook make[2]: Entering directory '/build/source' 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 /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/mkdir -p /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/share/man/man1 /nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/install -c -m 644 ./tmate.1.mdoc \ /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/share/man/man1/tmate.1 make[2]: Leaving directory '/build/source' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/build/source' Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07 shrinking /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/bin/tmate checking for references to /build/ in /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07... gzipping man pages under /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/share/man/ patching script interpreter paths in /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07 stripping (with command strip and flags -S -p) in /nix/store/j0zp532vnsxm7jx0z17hm78lhgzkrlqf-tmate-unstable-2022-08-07/bin