[Debian-med-packaging] Bug#1092743: FTBFS on 32-bit time64 arches: error: passing argument 1 of ‘gmtime_r’ from incompatible pointer type
Andrey Rakhmatullin
wrar at debian.org
Sat Jan 11 08:44:58 GMT 2025
Source: obitools
Version: 3.0.1~b26+dfsg-4
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=obitools&arch=armel&ver=3.0.1%7Eb26%2Bdfsg-4&stamp=1736521923&raw=0
arm-linux-gnueabi-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-O3 -w -I src -I src/libecoPCR -I src/libjson -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-Isrc -Isrc/libecoPCR -Isrc/libjson -I/usr/include/python3.13 -c
build/python/obitools3/apps/progress.c -o build/temp.linux-arm-
cpython-313/build/python/obitools3/apps/progress.o -w -fPIC
build/python/obitools3/apps/progress.c: In function
‘__pyx_pf_9obitools3_4apps_8progress_11ProgressBar_2__call__’:
build/python/obitools3/apps/progress.c:3882:22: error: passing argument 1 of
‘gmtime_r’ from incompatible pointer type [-Wincompatible-pointer-types]
3882 | ((void)gmtime_r((&__pyx_v_more), (&__pyx_v_remain)));
| ~^~~~~~~~~~~~~~
| |
| clock_t * {aka long int *}
In file included from /usr/include/features.h:510,
from /usr/include/assert.h:35,
from /usr/include/python3.13/Python.h:19,
from build/python/obitools3/apps/progress.c:48:
/usr/include/time.h:163:18: note: expected ‘const time_t * restrict’ {aka
‘const long long int * restrict’} but argument is of type ‘clock_t *’ {aka
‘long int *’}
163 | extern struct tm*__REDIRECT_NTH (gmtime_r, (const time_t *__restrict
__timer,
| ^~~~~~~~~~~~~~
-- 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.12.8-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: 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
More information about the Debian-med-packaging
mailing list