Source: klatexformula
Version: 4.1.0-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=klatexformula&arch=armel&ver=4.1.0-1%2Bb2&stamp=1711185211&raw=0
/<<PKGBUILDDIR>>/src/main.cpp: In function ‘void signal_act(int)’:
/<<PKGBUILDDIR>>/src/main.cpp:278:10: error: cannot convert ‘long int*’ to
‘time_t*’ {aka ‘long long int*’}
278 | time(&curtime);
| ^~~~~~~~
| |
| long int*
In file included from /usr/include/features.h:490,
from /usr/include/arm-linux-gnueabi/bits/libc-header-
start.h:33,
from /usr/include/stdio.h:27,
from /<<PKGBUILDDIR>>/src/main.cpp:24:
/usr/include/time.h:86:15: note: initializing argument 1 of ‘time_t
time(time_t*)’
86 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
| ^~~~~~~~~~~~~~
`curtime` here is explicitly `long`, it should probably just be `time_t`? Same
for `last_sigint_time`.
-- 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