I fixed passing CPPFLAGS to the Makefile (dh_auto_build --
OPTS="$(CPPFLAGS) $(CFLAGS)"), but it is still failing:

```
make[1]: Entering directory '<<PKGBUILDDIR>>'
dh_auto_build -- OPTS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1"
        make -j4 "INSTALL=install --strip-program=true" 
"OPTS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time 
-D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1"
make[2]: Entering directory '<<PKGBUILDDIR>>'
gcc -Iinclude -I/usr/include/xorg -I/usr/include/pixman-1 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1
 -c src/capabilities.c -o obj/src/capabilities.o
gcc -Iinclude -I/usr/include/xorg -I/usr/include/pixman-1 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1
 -c src/hwstate.c -o obj/src/hwstate.o
gcc -Iinclude -I/usr/include/xorg -I/usr/include/pixman-1 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1
 -c src/mtstate.c -o obj/src/mtstate.o
gcc -Iinclude -I/usr/include/xorg -I/usr/include/pixman-1 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1
 -c src/memory.c -o obj/src/memory.o
src/hwstate.c: In function ‘finish_packet’:
src/hwstate.c:43:24: error: ‘const struct input_event’ has no member named 
‘time’
   43 |         s->evtime = syn->time.tv_usec / ms + syn->time.tv_sec * ms;
      |                        ^~
src/hwstate.c:43:49: error: ‘const struct input_event’ has no member named 
‘time’
   43 |         s->evtime = syn->time.tv_usec / ms + syn->time.tv_sec * ms;
      |                                                 ^~
make[2]: *** [Makefile:50: obj/src/hwstate.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" 
"OPTS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time 
-D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fno-stack-clash-protection 
-fdebug-prefix-map=<<PKGBUILDDIR>>=/usr/src/xf86-input-multitouch-1.0~rc3-2ubuntu1"
 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '<<PKGBUILDDIR>>'
```

** Changed in: xf86-input-multitouch (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061591

Title:
  FTBFS: error: ‘const struct input_event’ has no member named ‘time’

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xf86-input-multitouch/+bug/2061591/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to