Re: [PATCH] uapi: remove i2o header in uapi

From: kbuild test robot
Date: Thu Oct 01 2015 - 11:32:25 EST


Hi Gabriel,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: cris-etrax-100lx_v2_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e8edc215dd1ecc5508a7dbcd62d3f2fed6be299c
# save the attached .config to linux build tree
make.cross ARCH=cris

All error/warnings (new ones prefixed by >>):

>> scripts/Makefile.headersinst:55: *** Missing UAPI file include/uapi/linux/i2o-dev.h. Stop.
--
>> scripts/Makefile.headersinst:55: *** Missing UAPI file include/uapi/linux/i2o-dev.h. Stop.
make[2]: *** [linux] Error 2
make[2]: Target '__headersinst' not remade because of errors.
make[1]: *** [headers_install] Error 2
make: *** [sub-make] Error 2

vim +55 scripts/Makefile.headersinst

d8ecc5cd Sam Ravnborg 2011-04-27 39
10b63956 David Howells 2012-10-02 40 srcdir := $(srctree)/$(obj)
10b63956 David Howells 2012-10-02 41 gendir := $(objtree)/$(gen)
10b63956 David Howells 2012-10-02 42
10b63956 David Howells 2012-10-02 43 oldsrcdir := $(srctree)/$(subst /uapi,,$(obj))
10b63956 David Howells 2012-10-02 44
7712401a Sam Ravnborg 2008-06-15 45 # all headers files for this dir
d8ecc5cd Sam Ravnborg 2011-04-27 46 header-y := $(filter-out $(generic-y), $(header-y))
40f1d4c2 David Howells 2012-10-02 47 all-files := $(header-y) $(genhdr-y) $(wrapper-files)
10b63956 David Howells 2012-10-02 48 output-files := $(addprefix $(installdir)/, $(all-files))
10b63956 David Howells 2012-10-02 49
c0ff68f1 Nicolas Dichtel 2013-04-29 50 input-files1 := $(foreach hdr, $(header-y), \
c4619bc6 Sam Ravnborg 2013-03-04 51 $(if $(wildcard $(srcdir)/$(hdr)), \
c0ff68f1 Nicolas Dichtel 2013-04-29 52 $(wildcard $(srcdir)/$(hdr))) \
c0ff68f1 Nicolas Dichtel 2013-04-29 53 )
c0ff68f1 Nicolas Dichtel 2013-04-29 54 input-files1-name := $(notdir $(input-files1))
c0ff68f1 Nicolas Dichtel 2013-04-29 @55 input-files2 := $(foreach hdr, $(header-y), \
c0ff68f1 Nicolas Dichtel 2013-04-29 56 $(if $(wildcard $(srcdir)/$(hdr)),, \
c4619bc6 Sam Ravnborg 2013-03-04 57 $(if $(wildcard $(oldsrcdir)/$(hdr)), \
10b63956 David Howells 2012-10-02 58 $(wildcard $(oldsrcdir)/$(hdr)), \
c4619bc6 Sam Ravnborg 2013-03-04 59 $(error Missing UAPI file $(srcdir)/$(hdr))) \
c0ff68f1 Nicolas Dichtel 2013-04-29 60 ))
c0ff68f1 Nicolas Dichtel 2013-04-29 61 input-files2-name := $(notdir $(input-files2))
c0ff68f1 Nicolas Dichtel 2013-04-29 62 input-files3 := $(foreach hdr, $(genhdr-y), \
c4619bc6 Sam Ravnborg 2013-03-04 63 $(if $(wildcard $(gendir)/$(hdr)), \

:::::: The code at line 55 was first introduced by commit
:::::: c0ff68f1611d6855a06d672989ad5cfea160a4eb kbuild: fix make headers_install when path is too long

:::::: TO: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
:::::: CC: Michal Marek <mmarek@xxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data