Running phase: unpackPhase unpacking source archive /nix/store/5raj3gmx9swdl1kjq3nlvyn6f9aqhkjg-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --prefix=/nix/store/dqnl4v8rsi29p28rzgmaz5zwikl7j60g-aprx-2.9.1-unstable-2021-09-21 --with-erlangstorage --sbindir=\$\(out\)/bin --sysconfdir=\$\(out\)/etc --mandir=\$\(out\)/share/man checking whether make sets $(MAKE)... yes 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep checking for egrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -E checking whether gcc needs -traditional... no 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 time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking netinet/sctp.h usability... no checking netinet/sctp.h presence... no checking for netinet/sctp.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for vprintf... yes checking for _doprnt... no ** Using C compiler: gcc ** Using CFLAGS: -g -O2 ** Using CPPDEP: checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of double... 8 checking for atan2f... no checking for atan2f in -lm... yes checking for memchr... yes checking for memrchr... yes checking for gettimeofday... yes checking for openpty... yes The --without-pthread option is not set, looking for pthread_create() function. Have pthread_create() Success at HAVE_PTHREAD_CREATE checking for library containing clock_gettime... none required checking for getaddrinfo... yes checking for connect... yes checking for gethostbyname... yes checking for socket... yes checking for socketpair... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash INSTALL=install date: invalid date '315532800' date: invalid date '315532800' gcc -g -O2 -pthread -DAPRXVERSION="\"2.9-detatched\"" -DVARRUN="\"/var/run\"" -DVARLOG="\"/var/log/aprx\"" -DCFGFILE="\"/nix/store/dqnl4v8rsi29p28rzgmaz5zwikl7j60g-aprx-2.9.1-unstable-2021-09-21/etc/aprx.conf\"" -c aprx.c aprx.c: In function 'main': aprx.c:270:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 270 | fscanf(pf, "%d", &pid); | ^~~~~~~~~~~~~~~~~~~~~~ aprx.c:327:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 327 | dup(f); // don't care what the fd number is | ^~~~~~ aprx.c: In function 'sig_handler': aprx.c:61:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 61 | write(1, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -pthread -DAPRXVERSION="\"2.9-detatched\"" -DVARRUN="\"/var/run\"" -DVARLOG="\"/var/log/aprx\"" -DCFGFILE="\"/nix/store/dqnl4v8rsi29p28rzgmaz5zwikl7j60g-aprx-2.9.1-unstable-2021-09-21/etc/aprx.conf\"" -c ttyreader.c In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/libc-header-start.h:33, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:28, from aprx.h:13, from ttyreader.c:13: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcpp-Wcpp8;;] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ttyreader.c: In function 'aprx_cfmakeraw': ttyreader.c:706:1: error: type of 'f' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 706 | aprx_cfmakeraw(t, f) | ^~~~~~~~~~~~~~ make: *** [Makefile:142: ttyreader.o] Error 1