tree: https://github.com/oracle/dtrace-linux-kernel v1/5.15 head: 0fee66d7ce96317146609675767971d0f35c3e74 commit: 62a2550ef447ac372a5bb92e5baad3e2932865c1 [17/35] dtrace: core and x86 config: x86_64-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/oracle/dtrace-linux-kernel/commit/62a2550ef447ac372a5bb92e5baad3e2932865c1 git remote add oracle-dtrace https://github.com/oracle/dtrace-linux-kernel git fetch --no-tags oracle-dtrace v1/5.15 git checkout 62a2550ef447ac372a5bb92e5baad3e2932865c1 # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): WARNING: unmet direct dependencies detected for CTF Depends on HAVE_CTF_TOOLCHAIN || DEBUG_INFO && !DEBUG_INFO_REDUCED && !DEBUG_INFO_SPLIT && !DEBUG_INFO_DWARF4 Selected by - DTRACE && ARCH_SUPPORTS_DTRACE >> scripts/ctf/dwarf2ctf.c:33:10: fatal error: sys/ctf_api.h: No such file or directory 33 | #include | ^~~~~~~~~~~~~~~ compilation terminated. Makefile a.out arch include nr_bisected scripts source tools usr [scripts/Makefile.host:112: scripts/ctf/dwarf2ctf.o] Error 1 Target '__build' not remade because of errors. Makefile a.out arch include nr_bisected scripts source tools usr [scripts/Makefile.build:540: scripts/ctf] Error 2 Target '__build' not remade because of errors. Makefile a.out arch include nr_bisected scripts source tools usr [Makefile:1210: scripts] Error 2 Target 'prepare' not remade because of errors. make: Makefile a.out arch include nr_bisected scripts source tools usr [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for CTF Depends on HAVE_CTF_TOOLCHAIN || DEBUG_INFO && !DEBUG_INFO_REDUCED && !DEBUG_INFO_SPLIT && !DEBUG_INFO_DWARF4 Selected by - DTRACE && ARCH_SUPPORTS_DTRACE vim +33 scripts/ctf/dwarf2ctf.c 08c964444d605e Nick Alcock 2018-11-14 27 08c964444d605e Nick Alcock 2018-11-14 28 #include 08c964444d605e Nick Alcock 2018-11-14 29 #include 08c964444d605e Nick Alcock 2018-11-14 30 #include 08c964444d605e Nick Alcock 2018-11-14 31 #include 08c964444d605e Nick Alcock 2018-11-14 32 #include 08c964444d605e Nick Alcock 2018-11-14 @33 #include 08c964444d605e Nick Alcock 2018-11-14 34 #include 08c964444d605e Nick Alcock 2018-11-14 35 :::::: The code at line 33 was first introduced by commit :::::: 08c964444d605e8ce1a419b177115148f6d08048 ctf: generate CTF information for the kernel from DWARF :::::: TO: Nick Alcock :::::: CC: Nick Alcock --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org