Bug#1066822: linuxtv-dvb-apps: FTBFS on arm{el,hf}: evtest.c:244:38: error: ‘struct input_event’ has no member named ‘time’

2024-03-26 Thread marillat
On Wed, 13 Mar 2024 22:58:48 +0100 Sebastian Ramacher  
wrote:
> Source: linuxtv-dvb-apps
> Version: 1.1.1+rev1500-1.4
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramac...@debian.org

Sorry for the previous empty e-mail.

The same bug report has been filed against antimicro:

https://bugs.debian.org/1067624

A patch is available (must be adapted to linuxtv-dvb-apps):

https://sources.debian.org/src/antimicro/3.1.4-2/debian/patches/work-around-Linux-API-break.diff/

Christian



Bug#1066822: linuxtv-dvb-apps: FTBFS on arm{el,hf}: evtest.c:244:38: error: ‘struct input_event’ has no member named ‘time’

2024-03-26 Thread marillat
On Wed, 13 Mar 2024 22:58:48 +0100 Sebastian Ramacher  
wrote:
> Source: linuxtv-dvb-apps
> Version: 1.1.1+rev1500-1.4
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramac...@debian.org
 
> https://buildd.debian.org/status/fetch.php?pkg=linuxtv-dvb-apps=armhf=1.1.1%2Brev1500-1.4%2Bb1=1710350526=0
> 
> test_video.c: In function ‘play_file_video’:
> test_video.c:245:9: warning: ignoring return value of ‘write’ declared 
> with attribute ‘warn_unused_result’ [-Wunused-result]
>   245 | write(fd,buf,count);
>   | ^~~
> CC evtest
> evtest.c: In function ‘main’:
> evtest.c:244:38: error: ‘struct input_event’ has no member named 
> ‘time’
>   244 | ev[i].time.tv_sec, 
> ev[i].time.tv_usec, ev[i].type,
>   |  ^
> evtest.c:244:57: error: ‘struct input_event’ has no member named 
> ‘time’
>   244 | ev[i].time.tv_sec, 
> ev[i].time.tv_usec, ev[i].type,
>   | ^
> make[2]: *** [../Make.rules:82: evtest] Error 1
> 
> Cheers
> -- 
> Sebastian Ramacher
> 
> 



Bug#1066822: linuxtv-dvb-apps: FTBFS on arm{el,hf}: evtest.c:244:38: error: ‘struct input_event’ has no member named ‘time’

2024-03-13 Thread Sebastian Ramacher
Source: linuxtv-dvb-apps
Version: 1.1.1+rev1500-1.4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=linuxtv-dvb-apps=armhf=1.1.1%2Brev1500-1.4%2Bb1=1710350526=0

test_video.c: In function ‘play_file_video’:
test_video.c:245:9: warning: ignoring return value of ‘write’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  245 | write(fd,buf,count);
  | ^~~
CC evtest
evtest.c: In function ‘main’:
evtest.c:244:38: error: ‘struct input_event’ has no member named ‘time’
  244 | ev[i].time.tv_sec, ev[i].time.tv_usec, 
ev[i].type,
  |  ^
evtest.c:244:57: error: ‘struct input_event’ has no member named ‘time’
  244 | ev[i].time.tv_sec, ev[i].time.tv_usec, 
ev[i].type,
  | ^
make[2]: *** [../Make.rules:82: evtest] Error 1

Cheers
-- 
Sebastian Ramacher