Bug#1088201: geomview FTBFS on 32bit time64 architectures: anytoucd.c:377:16: error: passing argument 1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types]
Helmut Grohne
helmut at subdivi.de
Sun Nov 24 16:44:22 GMT 2024
Source: geomview
Version: 1.9.5-4.1
Severity: serious
Justification: ftbfs on release arch armhf
Tags: ftbfs
geomview fails to build from source on 32bit time64 architectures
including armhf (release architecture). Here is a cross build failure.
| arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -c -o anytoucd.o anytoucd.c
| anytoucd.c: In function ‘main’:
| anytoucd.c:377:16: error: passing argument 1 of ‘time’ from incompatible pointer type [-Wincompatible-pointer-types]
| 377 | myt = time(&mytime);
| | ^~~~~~~
| | |
| | long int *
| In file included from /usr/arm-linux-gnueabi/include/features.h:510,
| from /usr/arm-linux-gnueabi/include/bits/libc-header-start.h:33,
| from /usr/arm-linux-gnueabi/include/stdio.h:28,
| from ../../../../include/ooglutil.h:28,
| from ../../../../include/handle.h:31,
| from ../../../../include/geom.h:29,
| from anytoucd.c:33:
| /usr/arm-linux-gnueabi/include/time.h:85:15: note: expected ‘time_t *’ {aka ‘long long int *’} but argument is of type ‘long int *’
| 85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
| | ^~~~~~~~~~~~~~
| make[7]: *** [Makefile:525: anytoucd.o] Error 1
| make[7]: Leaving directory '/<<PKGBUILDDIR>>/src/bin/geomutil/ucd'
| make[6]: *** [Makefile:424: all-recursive] Error 1
| make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/bin/geomutil'
| make[5]: *** [Makefile:420: all-recursive] Error 1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/bin'
| make[4]: *** [Makefile:486: all-recursive] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
| make[3]: *** [Makefile:555: all-recursive] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>'
| make[2]: *** [Makefile:445: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 returned exit code 2
| make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:11: build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
Native ftbfs available at
https://tests.reproducible-builds.org/debian/rbuild/unstable/armhf/geomview_1.9.5-4.1.rbuild.log.gz
Helmut
More information about the debian-science-maintainers
mailing list