Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #377924
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#1089549: exifprobe FTBFS on 32bit time64 architectures: ciff.c:450:26: error: passing argument 1 of ‘gmtime’ from incompatible pointer type [-Wincompatible-pointer-types] |
| Date | 2024-12-08 21:30 +0100 |
| Message-ID | <JRw4F-eXQo-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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(×tamp);
| | ^~~~~~~~~~
| | |
| | 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
Back to linux.debian.bugs.rc | Previous | Next | Find similar | Unroll thread
Bug#1089549: exifprobe FTBFS on 32bit time64 architectures: ciff.c:450:26: error: passing argument 1 of ‘gmtime’ from incompatible pointer type [-Wincompatible-pointer-types] Helmut Grohne <helmut@subdivi.de> - 2024-12-08 21:30 +0100
csiph-web