Running phase: unpackPhase unpacking source archive /nix/store/r59fr714v93cagij26k3082icsksrsv1-patchutils-0.3.3.tar.xz source root is patchutils-0.3.3 setting SOURCE_DATE_EPOCH to timestamp 1364899356 of file "patchutils-0.3.3/patchutils.spec" Running phase: patchPhase applying patch /nix/store/8djp1rizc1dblv8svnb0mpa0c3lwvc17-drop-comments.patch patching file Makefile.am patching file src/filterdiff.c patching file tests/clean2/run-test applying patch /nix/store/fz62pskw7fka0b8xk7dzhrhhgrrqn3fr-getenv-signature.patch patching file src/getopt.c patching file src/getopt.h Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3 checking for a BSD-compatible install... /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... 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 gcc and cc understand -c and -o together... yes 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 perl... /nix/store/cc9zsahxyx5my7bqid4dzkljw2dd9ygm-perl-5.42.0/bin/perl checking for sensible-editor... no checking for editor... no checking for vim... no checking for vi... no checking for grep that handles long lines and -e... /nix/store/p48bl1kiw42fakak404srawmlr730b7j-gnugrep-3.12/bin/grep checking for egrep... /nix/store/p48bl1kiw42fakak404srawmlr730b7j-gnugrep-3.12/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking error.h usability... yes checking error.h presence... yes checking for error.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for working POSIX fnmatch... yes checking for strcspn... yes checking for strspn... yes checking for strtoul... yes checking for getline... yes checking for error... yes checking for getopt_long... yes checking for diff program... diff checking for patch program... patch checking whether patch works... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating splitdiff config.status: creating editdiff config.status: creating fixcvsdiff config.status: creating recountdiff config.status: creating unwrapdiff config.status: creating dehtmldiff config.status: creating espdiff config.status: creating patchutils.spec config.status: creating config.h config.status: executing depfiles commands Running phase: buildPhase build flags: SHELL=/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash cd . && /nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash /build/patchutils-0.3.3/missing --run automake-1.12 --gnu Makefile /build/patchutils-0.3.3/missing: line 51: automake-1.12: command not found WARNING: 'automake-1.12' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.in'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. cd . && /nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands make all-am make[1]: Entering directory '/build/patchutils-0.3.3' gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/interdiff.o src/interdiff.c src/interdiff.c: In function 'flipdiff': src/interdiff.c:1543:9: warning: ignoring return value of 'getline' declared with attribute 'warn_unused_result' [-Wunused-result] 1543 | getline (&header1[0], &linelen, p1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/interdiff.c:1545:9: warning: ignoring return value of 'getline' declared with attribute 'warn_unused_result' [-Wunused-result] 1545 | getline (&header1[1], &linelen, p1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/interdiff.c:1549:9: warning: ignoring return value of 'getline' declared with attribute 'warn_unused_result' [-Wunused-result] 1549 | getline (&header2[0], &linelen, p2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/interdiff.c:1551:9: warning: ignoring return value of 'getline' declared with attribute 'warn_unused_result' [-Wunused-result] 1551 | getline (&header2[1], &linelen, p2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/util.o src/util.c src/util.c: In function 'xpipe': src/util.c:305:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | pipe (fildes); | ^~~~~~~~~~~~~ src/util.c:315:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | dup (fildes[1]); | ^~~~~~~~~~~~~~~ src/util.c:320:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 320 | dup(2); | ^~~~~~ src/util.c:322:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | dup (fildes[0]); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/diff.o src/diff.c gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/myerror.o src/myerror.c gcc -I./src -g -O2 -Wall -o src/interdiff src/interdiff.o src/util.o src/diff.o src/myerror.o gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/filterdiff.o src/filterdiff.c gcc -I./src -g -O2 -Wall -o src/filterdiff src/filterdiff.o src/util.o src/diff.o src/myerror.o gcc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -I./src -g -O2 -Wall -c -o src/rediff.o src/rediff.c In function 'rediff', inlined from 'main' at src/rediff.c:1097:9: src/rediff.c:1009:32: warning: pointer 't' may be used after 'fclose' [-Wuse-after-free] 1009 | line_offset += show_modified_hunk (¤t_hunk, line_offset, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1010 | t, o, out); | ~~~~~~~~~~ src/rediff.c:917:17: note: call to 'fclose' here 917 | fclose (t); | ^~~~~~~~~~ src/rediff.c:978:48: warning: pointer 't' may be used after 'fclose' [-Wuse-after-free] 978 | line_offset += show_modified_hunk | ^~~~~~~~~~~~~~~~~~ 979 | (¤t_hunk, line_offset, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 980 | t, o, out); | ~~~~~~~~~~ src/rediff.c:917:17: note: call to 'fclose' here 917 | fclose (t); | ^~~~~~~~~~ gcc -I./src -g -O2 -Wall -o src/rediff src/rediff.o src/util.o src/diff.o src/myerror.o make[1]: Leaving directory '/build/patchutils-0.3.3' Running phase: installPhase install flags: SHELL=/nix/store/v8llyqw71lygr2llhmcc8ya5bdlzq45v-bash-5.3p9/bin/bash install make[1]: Entering directory '/build/patchutils-0.3.3' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/mkdir -p '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/install -c src/interdiff src/filterdiff src/rediff '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/mkdir -p '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/install -c fixcvsdiff splitdiff editdiff recountdiff unwrapdiff dehtmldiff espdiff '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin' make install-exec-hook make[2]: Entering directory '/build/patchutils-0.3.3' ln -sf "`echo interdiff|sed 's,x,x,'`" /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/"`echo combinediff|sed 's,x,x,'`" ln -sf "`echo interdiff|sed 's,x,x,'`" /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/"`echo flipdiff|sed 's,x,x,'`" ln -sf "`echo filterdiff|sed 's,x,x,'`" /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/"`echo lsdiff|sed 's,x,x,'`" ln -sf "`echo filterdiff|sed 's,x,x,'`" /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/"`echo grepdiff|sed 's,x,x,'`" make[2]: Leaving directory '/build/patchutils-0.3.3' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/mkdir -p '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/share/man/man1' /nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/install -c -m 644 doc/interdiff.1 doc/filterdiff.1 doc/fixcvsdiff.1 doc/rediff.1 doc/editdiff.1 doc/combinediff.1 doc/lsdiff.1 doc/splitdiff.1 doc/grepdiff.1 doc/recountdiff.1 doc/unwrapdiff.1 doc/dehtmldiff.1 doc/flipdiff.1 doc/espdiff.1 '/nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/share/man/man1' make[1]: Leaving directory '/build/patchutils-0.3.3' Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3 shrinking /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/interdiff shrinking /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/filterdiff shrinking /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin/.rediff-wrapped checking for references to /build/ in /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3... gzipping man pages under /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/share/man/ patching script interpreter paths in /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3 stripping (with command strip and flags -S -p) in /nix/store/xmf1ryzp653mzx24lkx5cvfx8w8fp2ra-patchutils-0.3.3/bin