Source: calcurse
Version: 4.8.1-1.2
Severity: serious
Tags: ftbfs upstream
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-...@lists.debian.org
User: debian-...@lists.debian.org
Usertags: armel armhf

Dear Maintainer,

calcurse fails to build from source on armel and armhf architectures.

I haven't spotted any relevant upstream commits, patches or issues that relate
to this.

make[3]: Entering directory '/build/reproducible-path/calcurse-4.8.1/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o calcurse.o calcurse.c
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o apoint.o apoint.c
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o args.o args.c
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o config.o config.c
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o custom.o custom.c
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  
-DDOCDIR=\"/usr/share/doc/calcurse\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -pedantic 
-D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/calcurse-4.8.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -c -o day.o day.c
day.c: In function ‘day_paste_item’:
day.c:870:25: error: passing argument 3 of ‘overflow_add’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  870 |                         &until)
      |                         ^~~~~~
      |                         |
      |                         time_t * {aka long long int *}
In file included from day.c:43:
calcurse.h:1275:31: note: expected ‘long int *’ but argument is of type ‘time_t 
*’ {aka ‘long long int *’}
 1275 | long overflow_add(long, long, long *);
      |                               ^~~~~~
day.c:887:25: error: passing argument 3 of ‘overflow_add’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  887 |                         &until)
      |                         ^~~~~~
      |                         |
      |                         time_t * {aka long long int *}
calcurse.h:1275:31: note: expected ‘long int *’ but argument is of type ‘time_t 
*’ {aka ‘long long int *’}
 1275 | long overflow_add(long, long, long *);
      |                               ^~~~~~
make[3]: *** [Makefile:493: day.o] Error 1

Reply via email to