Hi, while building gzip using the latest gnulib, the following error occurred:
CCLD gzip gzip.o: In function `copy_stat': /tmp/nix-build-g54v65klpgzpfika0v0j1g1qqr112n8n-gzip-0preb64f0d8b85c65749d587fc95a123dc450c5b50ae.drv-0/gzip-1.4.57-b64f-dirty/gzip.c:1725: undefined reference to `gl_futimens' collect2: ld returned 1 exit status make[2]: *** [gzip] Error 1 make[2]: Leaving directory `/tmp/nix-build-g54v65klpgzpfika0v0j1g1qqr112n8n-gzip-0preb64f0d8b85c65749d587fc95a123dc450c5b50ae.drv-0/gzip-1.4.57-b64f-dirty' [q[qmake[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/nix-build-g54v65klpgzpfika0v0j1g1qqr112n8n-gzip-0preb64f0d8b85c65749d587fc95a123dc450c5b50ae.drv-0/gzip-1.4.57-b64f-dirty' [q[qmake: *** [all] Error 2 It appears that in the latest gnulib the function gl_futimens has been removed. (see: http://git.savannah.gnu.org/cgit/gnulib.git/diff/?id=41bef8fc30ef91935fd31eb920447210a0e2cd6a&id2=025fae6d61b82020179feb5c72d3747f1ce351c4 ) The call to gl_futimens can be replaced by a call to fdutimens. See patch attached. greetings, Rob -- Rob Vermaas [email] rob.verm...@gmail.com
gzip-fdutimens.patch
Description: Binary data