Hello, I attached a patch. It avoid the problem by ignoring utimensat on kFreeBSD.
Best regards, Gonéri
>From 28098606f545c3904afdc6ef2c0994199de7dca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= <gon...@rulezlan.org> Date: Sat, 31 Dec 2011 16:14:27 +0100 Subject: [PATCH] ignore utimensat on GNU/kFreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See: http://bugs.debian.org/651104 See: http://lists.debian.org/debian-bsd/2011/03/msg00063.html Signed-off-by: Gonéri Le Bouder <gon...@rulezlan.org> --- config/configure | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/config/configure b/config/configure index 8841fff..a1272c3 100755 --- a/config/configure +++ b/config/configure @@ -59,7 +59,11 @@ AC_CHECK_HEADERS unistd.h AC_CHECK_HEADERS linux/fs.h AC_CHECK_HEADERS sys/ioctl.h -AC_CHECK_FUNCS utimensat +# on GNU/kFreeBSD utimensat is defined in the GNU libc +# but won't work +if [ -z "$OS_GNUKFREEBSD" ]; then + AC_CHECK_FUNCS utimensat +fi AC_CHECK_FUNCS utimes AC_CHECK_FUNCS lutimes -- 1.7.7.3