Running phase: unpackPhase unpacking source archive /nix/store/q7cxv92gv0pd5p553kmrwkczhm5wbd8q-ax25-apps-0.0.8-rc5.tar.gz source root is ax25-apps-0.0.8-rc5 setting SOURCE_DATE_EPOCH to timestamp 1554189461 of file "ax25-apps-0.0.8-rc5/ax25-apps.spec" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./config.sub Updating Autotools / GNU config script to a newer upstream version: ./config.guess Running phase: configurePhase fixing libtool script ./ltmain.sh ./configure 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-static --disable-dependency-tracking --prefix=/nix/store/3np08pr3d6jf4ys9kxf2j62fqx79y45w-ax25-apps-0.0.8-rc5 --sysconfdir=/etc --localstatedir=/var/lib --program-transform-name=s@\^call\$@ax\&@\;s@\^listen\$@ax\&@ 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 for gawk... (cached) gawk 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 whether ln -s works... yes 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 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /nix/store/fcny04vmfnkqc4ym5m9znckswlq9pglg-gnused-4.9/bin/sed checking for fgrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse nm output from gcc object... ok checking for sysroot... no checking for a working dd... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/dd checking how to truncate binary pipes... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ax25_config_load_ports in -lax25... yes checking for initscr in -lncursesw... yes checking for struct ax25_fwd_struct... yes checking for struct nr_route_struct.ndigis... yes checking for struct rose_facilities_struct... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking return type of signal handlers... void checking for utime.h... yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for mktime... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for uname... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating call/Makefile config.status: creating ax25ipd/Makefile config.status: creating listen/Makefile config.status: creating Makefile config.status: creating ax25rtd/Makefile config.status: creating ax25mond/Makefile config.status: creating ax25-apps.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash make all-recursive make[1]: Entering directory '/build/ax25-apps-0.0.8-rc5' Making all in ax25ipd make[2]: Entering directory '/build/ax25-apps-0.0.8-rc5/ax25ipd' gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o config.o config.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o crc.o crc.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o io.o io.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o kiss.o kiss.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o ax25ipd.o ax25ipd.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o process.o process.c gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/var/lib/ax25"\" -g -O2 -Wall -c -o routing.o routing.c routing.c: In function 'route_add': routing.c:83:13: 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;;] 83 | malloc(sizeof(struct route_table_entry)); | ^~~~~~ routing.c:17:1: note: include '' or provide a declaration of 'malloc' 16 | #include "ax25ipd.h" +++ |+#include 17 | routing.c:83:13: 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;;] 83 | malloc(sizeof(struct route_table_entry)); | ^~~~~~ routing.c:83:13: note: include '' or provide a declaration of 'malloc' routing.c: In function 'bcast_add': routing.c:130:13: 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;;] 130 | malloc(sizeof(struct bcast_table_entry)); | ^~~~~~ routing.c:130:13: note: include '' or provide a declaration of 'malloc' make[2]: *** [Makefile:475: routing.o] Error 1 make[2]: Leaving directory '/build/ax25-apps-0.0.8-rc5/ax25ipd' make[1]: *** [Makefile:407: all-recursive] Error 1 make[1]: Leaving directory '/build/ax25-apps-0.0.8-rc5' make: *** [Makefile:337: all] Error 2