Comment 0 for bug 817187

Revision history for this message
Jamie Strandboge (jdstrand) wrote : libvirt FTBFS on 2.6.39 and later kernels

This is due to the following:
http://lists.gnu.org/archive/html/bug-gnulib/2011-03/msg00308.html

"coreutils' "make check" failed on rawhide due to a kernel change
in how readlink and readlinkat treat the empty file name.
Before, they'd fail with ENOENT. Now, it's EINVAL."

This will affect more than libvirt, (see Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630902) but the patch in the above bug can be applied to gnulib/tests/test-areadlink.h to get these building again on newer releases. This is SRU-worthy, as libvirt will not build once the buildds are running newer kernels.