GNU tar 1.19 fails to build on FreeBSD 8-CURRENT (starting from 2008-03-31). The problem is code in lib/getcwd.c and lib/savedir.c that mistakenly assumes if openat() is available, so will be fdopendir(). FreeBSD imported the Solaris-style *at() functions, but it does not have fdopendir(), and I don't see how the existence of the one should imply the existence of the other.
Apparently the problematic code is shared across GNU projects. At least fileutils is affected as well. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]