Running phase: unpackPhase unpacking source archive /nix/store/g6jmsfjyx4i1ljs5bs5fb2x90ka5pq10-aewan-1.0.01.tar.gz source root is aewan-1.0.01 setting SOURCE_DATE_EPOCH to timestamp 1128156260 of file "aewan-1.0.01/configure" Running phase: patchPhase applying patch /nix/store/jgx1jby4n21rwdwc6l48hq6g0n3c0qyg-aewan-cvs-ncurses-6.3.patch patching file aewan.c Hunk #1 succeeded at 139 (offset -5 lines). 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/k327b9g9qmjpb53yvbqqbk0qhzv7gh2l-aewan-1.0.01 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for initscr in -lncurses... yes checking for gzopen in -lz... yes checking for ANSI C header files... (cached) no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for atexit... yes checking for strdup... yes checking for strerror... yes checking for cygwin OSTYPE... not cygwin configure: creating ./config.status config.status: creating Makefile Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash gcc -g -O2 -fno-strict-aliasing -Wall -c aewan.c -o aewan.o gcc -g -O2 -fno-strict-aliasing -Wall -c absmenu.c -o absmenu.o gcc -g -O2 -fno-strict-aliasing -Wall -c aeff.c -o aeff.o In file included from bores/bores.h:32, from aeff.h:54, from aeff.c:64: aeff.c: In function 'read_parse_data_line': aeff.c:91:40: error: passing argument 2 of 'freadline_ex' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 91 | autod_assign( line, freadline_ex(f, gzgetc) ); | ^~~~~~ | | | int (*)(struct gzFile_s *) bores/autod.h:110:53: note: in definition of macro 'autod_assign' 110 | (void**)&ptr, newvalue) | ^~~~~~~~ In file included from bores/bores.h:37: bores/util.h:144:36: note: expected 'int (*)(void *)' but argument is of type 'int (*)(struct gzFile_s *)' 144 | char *freadline_ex(void *fh, int (*readch)(void*)); | ~~~~~~^~~~~~~~~~~~~~ aeff.c: In function 'aeff_read_mark': aeff.c:195:42: error: passing argument 2 of 'freadline_ex' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 195 | autod_assign(line, freadline_ex(f->f, gzgetc)); | ^~~~~~ | | | int (*)(struct gzFile_s *) bores/autod.h:110:53: note: in definition of macro 'autod_assign' 110 | (void**)&ptr, newvalue) | ^~~~~~~~ bores/util.h:144:36: note: expected 'int (*)(void *)' but argument is of type 'int (*)(struct gzFile_s *)' 144 | char *freadline_ex(void *fh, int (*readch)(void*)); | ~~~~~~^~~~~~~~~~~~~~ make: *** [Makefile:79: aeff.o] Error 1