Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248307 > unrolled thread

linux-next: build failure after merge of the input tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2015-10-16 04:30 +0200
Last post2015-10-17 18:40 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the input tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-10-16 04:30 +0200
    Re: linux-next: build failure after merge of the input tree Hans de Goede <hdegoede@redhat.com> - 2015-10-16 09:40 +0200
      Re: linux-next: build failure after merge of the input tree Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-10-17 18:40 +0200

#1248307 — linux-next: build failure after merge of the input tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2015-10-16 04:30 +0200
Subjectlinux-next: build failure after merge of the input tree
Message-ID<qk2Wl-HG-11@gated-at.bofh.it>
Hi Dmitry,

After merging the input tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from samples/hidraw/hid-example.c:14:0:
./usr/include/linux/input.h:17:31: fatal error: input-event-codes.h: No such file or directory

Caused by commit

  d794709c3916 ("Input: Add input-event-codes header file")

I have used the input tree from next-20151015 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1248409

FromHans de Goede <hdegoede@redhat.com>
Date2015-10-16 09:40 +0200
Message-ID<qk7Mm-7Tn-15@gated-at.bofh.it>
In reply to#1248307

[Multipart message — attachments visible in raw view] — view raw

Hio,

On 16-10-15 04:19, Stephen Rothwell wrote:
> Hi Dmitry,
>
> After merging the input tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from samples/hidraw/hid-example.c:14:0:
> ./usr/include/linux/input.h:17:31: fatal error: input-event-codes.h: No such file or directory
>
> Caused by commit
>
>    d794709c3916 ("Input: Add input-event-codes header file")
>
> I have used the input tree from next-20151015 for today.

Sorry, my bad, I assumed anything under include/uapi would
automatically get installed as a usr header, but it turns out
any files added need to also be added to the Kbuild file, the
attached patch should fix this.

Dmitry, feel free to squash this into the original patch.

Regards,

Hans

[toc] | [prev] | [next] | [standalone]


#1249358

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-10-17 18:40 +0200
Message-ID<qkCGv-31E-25@gated-at.bofh.it>
In reply to#1248409
On Fri, Oct 16, 2015 at 09:37:34AM +0200, Hans de Goede wrote:
> Hio,
> 
> On 16-10-15 04:19, Stephen Rothwell wrote:
> >Hi Dmitry,
> >
> >After merging the input tree, today's linux-next build (x86_64
> >allmodconfig) failed like this:
> >
> >In file included from samples/hidraw/hid-example.c:14:0:
> >./usr/include/linux/input.h:17:31: fatal error: input-event-codes.h: No such file or directory
> >
> >Caused by commit
> >
> >   d794709c3916 ("Input: Add input-event-codes header file")
> >
> >I have used the input tree from next-20151015 for today.
> 
> Sorry, my bad, I assumed anything under include/uapi would
> automatically get installed as a usr header, but it turns out
> any files added need to also be added to the Kbuild file, the
> attached patch should fix this.
> 
> Dmitry, feel free to squash this into the original patch.

Thanks Hans, I folded it into the original patch.

> 
> Regards,
> 
> Hans

> From 0dd5544b6ca0cddfe25976b46ef9ba5c4adbc791 Mon Sep 17 00:00:00 2001
> From: Hans de Goede <hdegoede@redhat.com>
> Date: Fri, 16 Oct 2015 09:33:45 +0200
> Subject: [PATCH] input: Add input-event-codes.h to usr headers to install
> 
> Add input-event-codes.h to the list of uapi headers to install, this fixes
> build-failures of any userspace tools including linux/input.h .
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  include/uapi/linux/Kbuild | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild
> index f7b2db4..0f26309 100644
> --- a/include/uapi/linux/Kbuild
> +++ b/include/uapi/linux/Kbuild
> @@ -191,6 +191,7 @@ header-y += inet_diag.h
>  header-y += in.h
>  header-y += inotify.h
>  header-y += input.h
> +header-y += input-event-codes.h
>  header-y += in_route.h
>  header-y += ioctl.h
>  header-y += ip6_tunnel.h
> -- 
> 2.5.0
> 


-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web