Opened 8 years ago

Closed 8 years ago

#7842 closed enhancement (fixed)

libevdev-1.5.1

Reported by: bdubbs@… Owned by: bdubbs@…
Priority: normal Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version

Change History (11)

comment:1 by bdubbs@…, 8 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 8 years ago

The released tarball is missing include/linux/uinput.h

I reported it upstream. We could add a patch, but I will wait a couple of days to see it they fix it.

comment:3 by Armin K, 8 years ago

What's the issue with missing uinput.h?

comment:4 by bdubbs@…, 8 years ago

Just that. It is not in the tarball. I got it from git. My md5sum is

5f8bc2c746bfbc9454143f78e5b477a9 libinput-1.3.0.tar.xz

If it is not missing in your tarball, they may have done a stealth update.

comment:5 by Armin K, 8 years ago

It's missing here too, but it compiles fine. Which is why I've asked what's the issue.

FYI, I've sent a patch to fix the missing file, but don't expect it fixed before Monday.

https://lists.freedesktop.org/archives/input-tools/2016-May/001297.html

comment:6 by bdubbs@…, 8 years ago

It fails to build.

  CC       libevdev-uinput.lo
libevdev-uinput.c: In function ‘set_abs’:
libevdev-uinput.c:69:9: error: variable ‘abs_setup’ has initializer but incomplete type
  struct uinput_abs_setup abs_setup = {0};
         ^~~~~~~~~~~~~~~~
libevdev-uinput.c:69:39: warning: excess elements in struct initializer
  struct uinput_abs_setup abs_setup = {0};
                                       ^
libevdev-uinput.c:69:39: note: (near initialization for ‘abs_setup’)
libevdev-uinput.c:69:26: error: storage size of ‘abs_setup’ isn’t known
  struct uinput_abs_setup abs_setup = {0};
                          ^~~~~~~~~
libevdev-uinput.c:74:17: error: ‘UI_ABS_SETUP’ undeclared (first use in this function)
  rc = ioctl(fd, UI_ABS_SETUP, &abs_setup);
                 ^~~~~~~~~~~~

comment:7 by Armin K, 8 years ago

Ah, I suppose you have an older version of linux-api-headers installed. Mine is 4.5, which is up to par with upstream's uinput.h, which explains why I am able to build the package.

comment:9 by bdubbs@…, 8 years ago

Thanks. I looked a few minutes ago and it wasn't there yet, but I imagine I can get it later tonight or tomorrow.

comment:10 by bdubbs@…, 8 years ago

Summary: libevdev-1.5.0libevdev-1.5.1

Now at version 1.5.1. Builds and works fine with 4.4.2 kernel.

comment:11 by bdubbs@…, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 17363.

Note: See TracTickets for help on using tickets.