Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599640 - x11-wm/mutter-3.22.2: needs sys-kernel/linux-headers-4.4 ("linux/input-event-codes.h: No such file or directory")
Summary: x11-wm/mutter-3.22.2: needs sys-kernel/linux-headers-4.4 ("linux/input-event-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2016-11-13 11:10 UTC by dolphinling
Modified: 2016-11-23 23:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dolphinling 2016-11-13 11:10:45 UTC
With sys-kernel/linux-headers-4.3, compiling x11-wm/mutter-3.22.2 fails with:

wayland/meta-wayland-tablet-tool.c:43:37: fatal error: linux/input-event-codes.h: No such file or directory

With sys-kernel/linux-headers-4.4, compiling succeeds.

This makes sense because input-event-codes.h was added between 4.3 and 4.4: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f902dd893427eade90f7eaf858e5ff8b150a5a12

Possibly this only happens with +wayland, I didn't test with -wayland.


mutter use flags:
-debug -gles2 -input_devices_wacom +introspection -test -udev +wayland


relevant part of emerge --info:
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.22-r4, 4.8.6 x86_64)
=================================================================
System uname: Linux-4.8.6-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16323700 total,   1067136 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 13 Nov 2016 07:29:32 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Comment 1 Francesco Ferro 2016-11-13 18:41:19 UTC
I can confirm this issue. I solved switching to linux-headers-4.8 as suggested by dolphinling.
Comment 2 Émeric Maschino 2016-11-15 12:21:54 UTC
Same requirement here on ia64 workstation with global USE=wayland flag.

     Émeric
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-11-23 23:50:25 UTC
Checked -wayland, it is not necessary there.

Fixed in commit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d1847f6177eff0a37fa08994329519ded4a7be

Thanks for reporting.