Source: ppc64-diag
Version: 2.7.9-1.1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc@lists.debian.org
User: debian-powerpc@lists.debian.org

Hi,

as can be seen at [0], the package fails to build (most likely due to
the t64 related changes in sid/trixie):



rtas_errd/v6ela.c: In function ‘report_menugoal’:
gcc -DHAVE_CONFIG_H -I. -I./config   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I ./common/ -I ./ela/ -I 
./diags -I ./lpd/ -I /usr/include/ncurses/ -Wall -g -DDEBUG -DDEST_DIR='"/usr"' 
-DVERSION='"2.7.9"' -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv 
-fPIE -Wstack-protector --param=ssp-buffer-size=1 -c -o diags/7031_D24_T24.o 
diags/7031_D24_T24.c
rtas_errd/v6ela.c:366:65: error: passing argument 1 of ‘time’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  366 |                                                 time_loc = time((long 
*)0);
      |                                                                 
^~~~~~~~~
      |                                                                 |
      |                                                                 long 
int *
In file included from /usr/include/features.h:510,
                 from 
/usr/include/powerpc-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from rtas_errd/v6ela.c:21:
/usr/include/time.h:85:15: note: expected ‘time_t *’ {aka ‘long long int *’} 
but argument is of type ‘long int *’
   85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
      |               ^~~~~~~~~~~~~~
rtas_errd/v6ela.c:367:66: error: passing argument 1 of ‘localtime’ from 
incompatible pointer type [-Wincompatible-pointer-types]
  367 |                                                 date = 
localtime(&time_loc);
      |                                                                  
^~~~~~~~~
      |                                                                  |
      |                                                                  long 
int *
/usr/include/time.h:141:19: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  141 | extern struct tm *__REDIRECT_NTH (localtime, (const time_t *__timer),
      |                   ^~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./config   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I ./common/ -I ./ela/ -I 
./diags -I ./lpd/ -I /usr/include/ncurses/ -Wall -g -DDEBUG -DDEST_DIR='"/usr"' 
-DVERSION='"2.7.9"' -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv 
-fPIE -Wstack-protector --param=ssp-buffer-size=1 -c -o diags/bluehawk.o 
diags/bluehawk.c
make[1]: *** [Makefile:2170: rtas_errd/v6ela.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/include/string.h:548,




[0] 
https://buildd.debian.org/status/fetch.php?pkg=ppc64-diag&arch=powerpc&ver=2.7.9-1.1&stamp=1733512224&raw=0

Reply via email to