Running phase: unpackPhase unpacking source archive /nix/store/nhi2yx4a1wbr4abgi8ar02h1fwzslzhk-tf-50b8.tar.gz source root is tf-50b8 setting SOURCE_DATE_EPOCH to timestamp 1168803898 of file "tf-50b8/configure" Running phase: patchPhase applying patch /nix/store/ynbi4fyyh7pw5h9il5nvgy78xyqnrwpm-001-darwin-fixes.patch patching file src/malloc.h patching file src/tfio.c 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/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8 configure: Configuring TinyFugue version 5.0 beta 8 configure: configure: Core dumps disabled. 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 whether gcc needs -traditional... no checking whether make sets $(MAKE)... yes checking for ranlib... ranlib 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 short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for inline... yes checking for library containing select... none required checking for library containing gethostbyname... none required checking for main in -linet... no checking for main in -lnet... no checking for library containing connect... none required checking for library containing setlocale... none required checking for libcrypto and libssl... yes checking for ssl kerberos dependency... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for library containing tgetent... -lncurses checking for library containing sqrt... -lm checking for inflate in -lz... yes checking for pcre_compile in -lpcre... no configure: Note: will use old copy of pcre distributed with tf checking for ANSI C header files... (cached) no checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking whether struct sockaddr has sa_len... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for pid_t... yes checking for size_t... yes checking for time_t... yes checking for socklen_t... yes checking for strftime... yes checking for h_errno... no checking for strstr... yes checking for strtol... yes checking for bcopy... yes checking for bzero... yes checking for connect... yes checking for fileno... yes checking for getcwd... yes checking for gethostname... yes checking for gethostbyname... yes checking for getipnodebyname... no checking for getpwnam... yes checking for gettimeofday... yes checking for getwd... yes checking for hstrerror... yes checking for index... yes checking for inet_aton... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for kill... yes checking for memcpy... yes checking for memset... yes checking for raise... yes checking for setlocale... yes checking for setrlimit... yes checking for sigaction... yes checking for srand... yes checking for srandom... yes checking for strcasecmp... yes checking for strchr... yes checking for strcmpi... no checking for strcspn... yes checking for strerror... yes checking for stricmp... no checking for strtod... yes checking for tzset... yes checking for waitpid... yes checking for IPv6 address structure... in6_addr checking location of mail directory... configure: creating ./config.status config.status: creating Makefile config.status: creating unix/vars.mak config.status: creating src/tfdefs.h config.status: creating src/tfconfig.h config.status: executing default commands configure: ##################################################### ## prefix: /nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8 ## exec_prefix: ${prefix} ## bindir: ${exec_prefix}/bin ## datadir: ${prefix}/share ## executable: ${bindir}/tf ## library: ${datadir}/tf-lib ## ## TinyFugue configuration successful. ## Use "make" to build. Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash make[1]: Entering directory '/build/tf-50b8/src' gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o attr.o attr.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o command.o command.c command.c: In function 'handle_echo_func': command.c:363:9: 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;;] 363 | write(STDOUT_FILENO, src->data, src->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o dstring.o dstring.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o expand.o expand.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o expr.o expr.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o help.o help.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o history.o history.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o keyboard.o keyboard.c keyboard.c: In function 'do_kbword': keyboard.c:388:52: warning: argument 1 null where non-null expected [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-nonnull-Wnonnull8;;] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:396:30: note: in expansion of macro 'is_inword' 396 | while (place != stop && !is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/memory.h:29, from port.h:89, from keyboard.c:16: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:246:14: note: in a call to function 'strchr' declared 'nonnull' 246 | extern char *strchr (const char *__s, int __c) | ^~~~~~ keyboard.c:388:52: warning: argument 1 null where non-null expected [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-nonnull-Wnonnull8;;] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:397:29: note: in expansion of macro 'is_inword' 397 | while (place != stop && is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/string.h:246:14: note: in a call to function 'strchr' declared 'nonnull' 246 | extern char *strchr (const char *__s, int __c) | ^~~~~~ gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o macro.o macro.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o main.o main.c gcc -g -O2 -DDATADIR=/nix/store/bdr54qg6bnx6gi5mp7a132fjgrn5gfbx-tinyfugue-50b8/share -c -o malloc.o malloc.c malloc.c:15:1: error: unknown type name 'caddr_t' 15 | caddr_t mmalloc_base = NULL; | ^~~~~~~ malloc.c:15:24: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 15 | caddr_t mmalloc_base = NULL; | ^~~~ In file included from malloc.c:13: malloc.c: In function 'init_malloc': malloc.h:41:41: error: implicit declaration of function 'malloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 41 | # define mmalloc(md, size) malloc(size) | ^~~~~~ malloc.h:65:41: note: in expansion of macro 'mmalloc' 65 | # define dmalloc(md, size, file, line) mmalloc(md, size) | ^~~~~~~ malloc.h:50:22: note: in expansion of macro 'dmalloc' 50 | #define MALLOC(size) dmalloc(NULL, (size), __FILE__, __LINE__) | ^~~~~~~ malloc.c:21:15: note: in expansion of macro 'MALLOC' 21 | reserve = MALLOC(1024*16); | ^~~~~~ malloc.c:14:1: note: include '' or provide a declaration of 'malloc' 13 | #include "malloc.h" +++ |+#include 14 | malloc.h:41:41: warning: incompatible implicit declaration of built-in function 'malloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 41 | # define mmalloc(md, size) malloc(size) | ^~~~~~ malloc.h:65:41: note: in expansion of macro 'mmalloc' 65 | # define dmalloc(md, size, file, line) mmalloc(md, size) | ^~~~~~~ malloc.h:50:22: note: in expansion of macro 'dmalloc' 50 | #define MALLOC(size) dmalloc(NULL, (size), __FILE__, __LINE__) | ^~~~~~~ malloc.c:21:15: note: in expansion of macro 'MALLOC' 21 | reserve = MALLOC(1024*16); | ^~~~~~ malloc.h:41:41: note: include '' or provide a declaration of 'malloc' 41 | # define mmalloc(md, size) malloc(size) | ^~~~~~ malloc.h:65:41: note: in expansion of macro 'mmalloc' 65 | # define dmalloc(md, size, file, line) mmalloc(md, size) | ^~~~~~~ malloc.h:50:22: note: in expansion of macro 'dmalloc' 50 | #define MALLOC(size) dmalloc(NULL, (size), __FILE__, __LINE__) | ^~~~~~~ malloc.c:21:15: note: in expansion of macro 'MALLOC' 21 | reserve = MALLOC(1024*16); | ^~~~~~ malloc.c: In function 'xmalloc': malloc.h:41:41: warning: incompatible implicit declaration of built-in function 'malloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 41 | # define mmalloc(md, size) malloc(size) | ^~~~~~ malloc.h:65:41: note: in expansion of macro 'mmalloc' 65 | # define dmalloc(md, size, file, line) mmalloc(md, size) | ^~~~~~~ malloc.c:31:21: note: in expansion of macro 'dmalloc' 31 | memory = (void*)dmalloc(md, size, file, line); | ^~~~~~~ malloc.h:41:41: note: include '' or provide a declaration of 'malloc' 41 | # define mmalloc(md, size) malloc(size) | ^~~~~~ malloc.h:65:41: note: in expansion of macro 'mmalloc' 65 | # define dmalloc(md, size, file, line) mmalloc(md, size) | ^~~~~~~ malloc.c:31:21: note: in expansion of macro 'dmalloc' 31 | memory = (void*)dmalloc(md, size, file, line); | ^~~~~~~ malloc.c: In function 'xrealloc': malloc.h:43:41: error: implicit declaration of function 'realloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 43 | # define mrealloc(md, ptr, size) realloc(ptr, size) | ^~~~~~~ malloc.h:68:41: note: in expansion of macro 'mrealloc' 68 | mrealloc(md, (void*)(ptr), (size)) | ^~~~~~~~ malloc.c:54:21: note: in expansion of macro 'drealloc' 54 | memory = (void*)drealloc(md, ptr, size, file, line); | ^~~~~~~~ malloc.h:43:41: note: include '' or provide a declaration of 'realloc' 43 | # define mrealloc(md, ptr, size) realloc(ptr, size) | ^~~~~~~ malloc.h:68:41: note: in expansion of macro 'mrealloc' 68 | mrealloc(md, (void*)(ptr), (size)) | ^~~~~~~~ malloc.c:54:21: note: in expansion of macro 'drealloc' 54 | memory = (void*)drealloc(md, ptr, size, file, line); | ^~~~~~~~ malloc.h:43:41: warning: incompatible implicit declaration of built-in function 'realloc' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 43 | # define mrealloc(md, ptr, size) realloc(ptr, size) | ^~~~~~~ malloc.h:68:41: note: in expansion of macro 'mrealloc' 68 | mrealloc(md, (void*)(ptr), (size)) | ^~~~~~~~ malloc.c:54:21: note: in expansion of macro 'drealloc' 54 | memory = (void*)drealloc(md, ptr, size, file, line); | ^~~~~~~~ malloc.h:43:41: note: include '' or provide a declaration of 'realloc' 43 | # define mrealloc(md, ptr, size) realloc(ptr, size) | ^~~~~~~ malloc.h:68:41: note: in expansion of macro 'mrealloc' 68 | mrealloc(md, (void*)(ptr), (size)) | ^~~~~~~~ malloc.c:54:21: note: in expansion of macro 'drealloc' 54 | memory = (void*)drealloc(md, ptr, size, file, line); | ^~~~~~~~ make[1]: *** [: malloc.o] Error 1 make[1]: Leaving directory '/build/tf-50b8/src' make: *** [Makefile:18: files] Error 2