[Wayland-bugs] [Bug 102271] build: Add -Iinclude to libinput and its tools

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 18 08:15:55 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102271

Philip Withnall <bugzilla at tecnocode.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Philip Withnall <bugzilla at tecnocode.co.uk> ---
Uff, the tests also need -Iinclude. I thought they didn’t, because they don’t
rely on the particular #define which was failing everywhere else — they instead
look for MT_TOOL_PALM, which also doesn’t exist in this particular build
machine’s system headers.

Log here:
https://jenkins.freedesktop.org/view/GNOME%20Coverity/job/coverity/job/coverity-scan-jhbuild/2087/console

Patch coming.

---

Log snippet:

../../checkout/libinput/test/test-touchpad.c: In function
‘touchpad_palm_detect_tool_palm’:
../../checkout/libinput/test/test-touchpad.c:1490:46: error: ‘MT_TOOL_PALM’
undeclared (first use in this function)
  litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM);
                                              ^
../../checkout/libinput/test/test-touchpad.c:1490:46: note: each undeclared
identifier is reported only once for each function it appears in
../../checkout/libinput/test/test-touchpad.c: In function
‘touchpad_palm_detect_tool_palm_on_off’:
../../checkout/libinput/test/test-touchpad.c:1511:46: error: ‘MT_TOOL_PALM’
undeclared (first use in this function)
  litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM);
                                              ^
../../checkout/libinput/test/test-touchpad.c: In function
‘touchpad_palm_detect_tool_palm_tap’:
../../checkout/libinput/test/test-touchpad.c:1538:46: error: ‘MT_TOOL_PALM’
undeclared (first use in this function)
  litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM);
                                              ^
[122/139] Compiling C object
'libinput-test-suite-runner at exe/test_test-tablet.c.o'.
ninja: build stopped: subcommand failed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170818/37d22f32/attachment.html>


More information about the wayland-bugs mailing list