Running phase: unpackPhase unpacking source archive /nix/store/0ii328y2a6vsrdbcgsv1nawiv5vnv95w-kamid-0.2.tar.gz source root is kamid-0.2 setting SOURCE_DATE_EPOCH to timestamp 1654968207 of file "kamid-0.2/regress/ninepscript/Makefile.in" Running phase: patchPhase 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/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/h5hfcfb30mz3i7h1m2yfgdjxkri62dbk-kamid-0.2 checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 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 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 whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking for bison... no checking for byacc... no checking pkg-config is at least version 0.9.0... yes 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 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 libbsd-overlay libbsd-ctor... yes checking for asprintf... yes checking for err... yes checking for freezero... yes checking for getdtablecount... no checking for getdtablesize... yes checking for getprogname... yes checking for memmem... yes checking for recallocarray... yes checking for setproctitle... yes checking for setprogname... yes checking for strlcat... yes checking for strlcpy... yes checking for strsep... yes checking for strtonum... yes checking for vis... yes checking for sys/queue.h with TAILQ_FOREACH_SAFE and STAILQ_ENTRY... no checking sys/tree.h usability... no checking sys/tree.h presence... no checking for sys/tree.h... no checking whether PR_SET_NAME is declared... yes checking for RAND_add in -lcrypto... yes checking for tls_init in -ltls... yes checking for libevent_core >= 2... yes checking for imsg_init in -lutil... no checking for readline... yes checking if gcc supports -Wall flag... yes checking if gcc supports -Wextra flag... yes checking if gcc supports -Wmissing-declarations flag... yes checking if gcc supports -Wmissing-prototypes flag... yes checking if gcc supports -Wstrict-prototypes flag... yes checking if gcc supports -Wwrite-strings flag... yes checking if gcc supports -Wno-unused-parameter flag... yes checking if gcc supports -Wpointer-arith flag... yes checking if gcc supports -Wsign-compare flag... yes checking if gcc supports -Wcast-align flag... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating contrib/Makefile config.status: creating kamictl/Makefile config.status: creating kamid/Makefile config.status: creating kamiftp/Makefile config.status: creating kamiproxy/Makefile config.status: creating kamirepl/Makefile config.status: creating ninepscript/Makefile config.status: creating regress/Makefile config.status: creating regress/lisp/Makefile config.status: creating regress/ninepscript/Makefile config.status: creating config.h config.status: executing depfiles commands Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash AR:=\$\(AR\) make all-recursive make[1]: Entering directory '/build/kamid-0.2' Making all in compat make[2]: Entering directory '/build/kamid-0.2/compat' gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o dummy.o dummy.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o getdtablecount.o getdtablecount.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o fmt_scaled.o fmt_scaled.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o imsg.o imsg.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o imsg-buffer.o imsg-buffer.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../compat -I.. -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o ohash.o ohash.c rm -f libopenbsd-compat.a ar cru libopenbsd-compat.a dummy.o getdtablecount.o fmt_scaled.o imsg.o imsg-buffer.o ohash.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libopenbsd-compat.a make[2]: Leaving directory '/build/kamid-0.2/compat' Making all in contrib make[2]: Entering directory '/build/kamid-0.2/contrib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/kamid-0.2/contrib' Making all in kamictl make[2]: Entering directory '/build/kamid-0.2/kamictl' gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib -I../kamictl -I../kamid -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o ctl_parser.o ctl_parser.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib -I../kamictl -I../kamid -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o kamictl.o kamictl.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib -I../kamictl -I../kamid -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o ../lib/log.o ../lib/log.c gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib -I../kamictl -I../kamid -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o ../lib/sandbox.o ../lib/sandbox.c ../lib/sandbox.c:45:2: warning: #warning "No sandbox available for this OS" [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcpp-Wcpp8;;] 45 | #warning "No sandbox available for this OS" | ^~~~~~~ gcc -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -o kamictl ctl_parser.o kamictl.o ../lib/log.o ../lib/sandbox.o ../compat/libopenbsd-compat.a -L/nix/store/lk0j5j5a159q5900f91jr013pi3ydkpx-libevent-2.1.12/lib -levent_core -ltls -lcrypto -L/nix/store/aq1zxpvpcafdlsbqf1h1vlg1lskl8rxg-libbsd-0.12.2/lib -lbsd -Wl,-z,nodlopen -Wl,-u,libbsd_init_func -lbsd-ctor -lbsd make[2]: Leaving directory '/build/kamid-0.2/kamictl' Making all in kamid make[2]: Entering directory '/build/kamid-0.2/kamid' gcc -DHAVE_CONFIG_H -I. -I.. -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib -I../kamid -I/nix/store/gxl5mzzczsxhdz586bhh3429lkv4gqiy-libevent-2.1.12-dev/include -DLIBBSD_OVERLAY -isystem /nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include/bsd -I/nix/store/zyrm8vgf7b4dwffcf06dldgpd0dq4m8g-libbsd-0.12.2-dev/include -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wno-unused-parameter -Wpointer-arith -Wsign-compare -Wcast-align -c -o client.o client.c client.c: In function 'client_privdrop': client.c:381:13: error: implicit declaration of function 'setgroups'; did you mean 'getgroups'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 381 | if (setgroups(1, &pw->pw_gid) || | ^~~~~~~~~ | getgroups client.c: In function 'np_errno': client.c:801:9: warning: ignoring return value of 'strerror_r' 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;;] 801 | strerror_r(errno, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:482: client.o] Error 1 make[2]: Leaving directory '/build/kamid-0.2/kamid' make[1]: *** [Makefile:395: all-recursive] Error 1 make[1]: Leaving directory '/build/kamid-0.2' make: *** [Makefile:336: all] Error 2