The 1.8.9 patchless client also fails to build for me too.
cc1: warnings being treated as errors
/usr/src/lustre-1.8.9/lustre/llite/dir.c: In function ‘ll_dir_ioctl’:
/usr/src/lustre-1.8.9/lustre/llite/dir.c:1288: error: assignment from
incompatible pointer type
/usr/src/lustre-1.8.9/lustre/llite/dir.c:1360: error: passing argument 1
of ‘putname’ from incompatible pointer type
/usr/src/kernels/2.6.32-431.1.2.el6.x86_64/include/linux/fs.h:2170:
note: expected ‘struct filename *’ but argument is of type ‘char *’
https://jira.hpdd.intel.com/browse/LU-4287 has some discussion and patches.