[jgunthorpe:iommufd 1/8] ./usr/include/linux/iommufd.h:7:10: fatal error: uapi/linux/ioctl.h: No such file or directory

From: kernel test robot
Date: Thu Nov 18 2021 - 15:48:40 EST


tree: https://github.com/jgunthorpe/linux iommufd
head: 4d06b5807e799e0293171d872d8c1a40f3b466c5
commit: 7d982d8a3be5264edbd77796083193af431d8b3c [1/8] iommufd: File descriptor, context, kconfig and makefiles
config: i386-buildonly-randconfig-r002-20211117 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/jgunthorpe/linux/commit/7d982d8a3be5264edbd77796083193af431d8b3c
git remote add jgunthorpe https://github.com/jgunthorpe/linux
git fetch --no-tags jgunthorpe iommufd
git checkout 7d982d8a3be5264edbd77796083193af431d8b3c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from <command-line>:32:
>> ./usr/include/linux/iommufd.h:7:10: fatal error: uapi/linux/ioctl.h: No such file or directory
7 | #include <uapi/linux/ioctl.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip