bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] gnulib gl_futimens error


From: Rob Vermaas
Subject: [Bug-cpio] gnulib gl_futimens error
Date: Fri, 22 Oct 2010 09:17:57 +0200

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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/nix-build-434il5pqn4bni9dllf01im5yfiyzkmj6-cpio-2.11.drv-0/cpio-2.11'
make: *** [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] address@hidden



-- 
Rob Vermaas

[email] address@hidden

Attachment: cpio-fdutimens.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]