Hi, while building cpio using the latest gnulib, the following error occurred:
CCLD cpio util.o: In function `set_file_times': /tmp/nix-build-434il5pqn4bni9dllf01im5yfiyzkmj6-cpio-2.11.drv-0/cpio-2.11/src/util.c:1375: undefined reference to `gl_futimens' collect2: ld returned 1 exit status make[2]: *** [cpio] Error 1 make[2]: Leaving directory `/tmp/nix-build-434il5pqn4bni9dllf01im5yfiyzkmj6-cpio-2.11.drv-0/cpio-2.11/src' [q[qmake[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/nix-build-434il5pqn4bni9dllf01im5yfiyzkmj6-cpio-2.11.drv-0/cpio-2.11' [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] [email protected] -- Rob Vermaas [email] [email protected]
cpio-fdutimens.patch
Description: Binary data
