Bug#1068038: FTBFS: error: ‘struct input_event’ has no member named ‘time’

2024-04-07 Thread Dmitry Shachnev
Control: tags -1 + pending

Hi,

On Sat, Mar 30, 2024 at 02:10:56AM +0500, Andrey Rakhmatullin wrote:
> Source: flightgear
> Version: 1:2020.3.18+dfsg-1
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/fetch.php?pkg=flightgear=armhf=1%3A2020.3.18%2Bdfsg-1%2Bb2=1711729288=0
> 
> /<>/src/Input/FGLinuxEventInput.cxx: In member function ‘virtual
> void FGLinuxInputDevice::Send(const char*, double)’:
> /<>/src/Input/FGLinuxEventInput.cxx:418:7: error: ‘struct
> input_event’ has no member named ‘time’
>   418 |   evt.time.tv_sec = 0;
>   |   ^~~~
> /<>/src/Input/FGLinuxEventInput.cxx:419:7: error: ‘struct
> input_event’ has no member named ‘time’
>   419 |   evt.time.tv_usec = 0;
>   |   ^~~~

I have uploaded NMU which fixes this to DELAYED/2.

The diff can be seen here:
https://salsa.debian.org/debian/flightgear/-/merge_requests/3

It depends on my another NMU for simgear: unless simgear is rebuilt with
the new time_t ABI, flightgear will fail to build with link failures.
And simgear is a static library so we cannot just bump SONAME for it.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#1068038: FTBFS: error: ‘struct input_event’ has no member named ‘time’

2024-03-29 Thread Andrey Rakhmatullin
Source: flightgear
Version: 1:2020.3.18+dfsg-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=flightgear=armhf=1%3A2020.3.18%2Bdfsg-1%2Bb2=1711729288=0

/<>/src/Input/FGLinuxEventInput.cxx: In member function ‘virtual
void FGLinuxInputDevice::Send(const char*, double)’:
/<>/src/Input/FGLinuxEventInput.cxx:418:7: error: ‘struct
input_event’ has no member named ‘time’
  418 |   evt.time.tv_sec = 0;
  |   ^~~~
/<>/src/Input/FGLinuxEventInput.cxx:419:7: error: ‘struct
input_event’ has no member named ‘time’
  419 |   evt.time.tv_usec = 0;
  |   ^~~~


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled