Re: linux-next: build failure after merge of the selinux tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 18, 2019 at 9:40 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> After merging the selinux tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from /home/sfr/next/next/scripts/selinux/mdp/mdp.c:35:
> /home/sfr/next/next/include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
>  #include <generated/autoconf.h>
>           ^~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
>   e37c1877ba5b ("scripts/selinux: modernize mdp")
>
> I have used the selinux tree from next-20190318 for today.

Thanks for the report, I just merged the fix below into selinux/next:

  commit ccd19d4cafaaf36132c372e77ee9304b707c1e70
  Author: Stephen Smalley <sds@xxxxxxxxxxxxx>
  Date:   Tue Mar 19 09:21:06 2019 -0400

   scripts/selinux: fix build

   We need to add the object tree include directory to the include path
   for building mdp in order to pick up generated/autoconf.h. Otherwise,
   make O=/path/to/objtree breaks.

   Fixes: e37c1877ba5b ("scripts/selinux: modernize mdp")
   Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
   Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx>
   Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux