Therefore I think it should be fixed as soon as possible. IMHO the best
way to fix that is to remove the stub for at* functions as we don't want
to support 7.x kernel anymore.
This fix is long-term-fix. But I do not agree to do it now, for squeeze
glibc. The other packages behaviour/code_path might be altered by this
change significantly.
Better would be to override *at stubs only for fakeroot now.
Something like add in fakeroot's configure/configure.ac after
AC_CHECK_FUNCS(fchmodat fchownat fstatat mkdirat mknodat openat renameat unlinkat)
-------------
case $target_os in
kfreebsd*)
for ac_func in fchmodat fchownat fstatat mkdirat mknodat openat renameat unlinkat
do
cat >>confdefs.h << _ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
done
;;
esac
-------------