Source: exifprobe
Version: 2.0.1+git20170416.3c2b769-5
Severity: serious
Justification: armhf ftbfs
Tags: ftbfs

exifprobe fails to build from source on 32bit time64 architectures such
as armhf. A build ends as follows:

https://debusine.debian.net/debusine/System/artifact/1083636/
| cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fPIE -DCOLOR -O 
-std=c99 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o ciff.o ciff.c
| ciff.c: In function ‘canon_ct_to_datetime’:
| ciff.c:450:26: error: passing argument 1 of ‘gmtime’ from incompatible 
pointer type [-Wincompatible-pointer-types]
|   450 |         ts_time = gmtime(&timestamp);
|       |                          ^~~~~~~~~~
|       |                          |
|       |                          long int *
| In file included from /usr/include/features.h:510,
|                  from 
/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
|                  from /usr/include/stdio.h:28,
|                  from ciff.c:26:
| /usr/include/time.h:140:18: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
|   140 | extern struct tm*__REDIRECT_NTH (gmtime, (const time_t *__timer), 
__gmtime64);
|       |                  ^~~~~~~~~~~~~~
| make[1]: *** [<builtin>: ciff.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" 
returned exit code 2
| make: *** [debian/rules:7: build-arch] Error 25
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

Helmut

Reply via email to