Running phase: unpackPhase unpacking source archive /nix/store/0yvyyhlv0zzj6md2v3x6g370xdva19w7-cups-bjnp-1.2.2.tar.gz source root is cups-bjnp-1.2.2 setting SOURCE_DATE_EPOCH to timestamp 1390406204 of file "cups-bjnp-1.2.2/missing" 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: --disable-dependency-tracking --prefix=/nix/store/040zw6b3dkn20mzxmq24bmpai7sqsyv6-cups-bjnp-1.2.2 --with-cupsbackenddir=/nix/store/040zw6b3dkn20mzxmq24bmpai7sqsyv6-cups-bjnp-1.2.2/lib/cups/backend 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 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 for style of include used by make... GNU checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking whether gcc and cc understand -c and -o together... yes checking for ftime... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for gethostname... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for ntohl... yes checking for ntohs... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for getifaddrs... yes checking whether to enable IPv6... no (couldn't compile test program) checking for cupsDoRequest in -lcups... yes checking for rpmbuild... no checking for library containing strerror... none required checking for library containing socket... none required 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 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 sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.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 netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/socket.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking cups/cups.h usability... yes checking cups/cups.h presence... yes checking for cups/cups.h... yes checking cups/backend.h usability... yes checking cups/backend.h presence... yes checking for cups/backend.h... yes checking cups/http.h usability... yes checking cups/http.h presence... yes checking for cups/http.h... yes checking for sys/types.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/nameser.h... yes checking for netdb.h... (cached) yes checking for resolv.h... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking whether to enable maintainer-specific portions of Makefiles... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating 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 make all-am make[1]: Entering directory '/build/cups-bjnp-1.2.2' gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c -o bjnp-bjnp.o `test -f 'bjnp.c' || echo './'`bjnp.c gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c -o bjnp-bjnp-runloop.o `test -f 'bjnp-runloop.c' || echo './'`bjnp-runloop.c gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c -o bjnp-bjnp-io.o `test -f 'bjnp-io.c' || echo './'`bjnp-io.c gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c -o bjnp-bjnp-debug.o `test -f 'bjnp-debug.c' || echo './'`bjnp-debug.c bjnp-debug.c: In function 'bjnp_debug': bjnp-debug.c:207:7: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 207 | ftime (&timebuf); | ^~~~~ In file included from bjnp-debug.c:22: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bjnp-debug.c: In function 'bjnp_set_debug_level': bjnp-debug.c:231:3: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 231 | ftime (&timebuf); | ^~~~~ /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -c -o bjnp-bjnp-utils.o `test -f 'bjnp-utils.c' || echo './'`bjnp-utils.c bjnp-utils.c: In function 'get_address_info': bjnp-utils.c:90:8: error: unused variable 'tmp_addr' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-variable-Werror=unused-variable8;;] 90 | char tmp_addr[BJNP_HOST_MAX]; | ^~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:482: bjnp-bjnp-utils.o] Error 1 make[1]: Leaving directory '/build/cups-bjnp-1.2.2' make: *** [Makefile:293: all] Error 2