Bug#1069196: eulisp: FTBFS on arm{el,hf}: unixcall.c:90:15: error: conflicting types for =?UTF-8?Q?=E2=80=98timezone=E2=80=99; ?= have ‘time_t’ {aka ‘long long int’}

Sebastian Ramacher sramacher at debian.org
Wed Apr 17 21:28:16 BST 2024


Source: euslisp
Version: 9.29+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=euslisp&arch=armel&ver=9.29%2Bdfsg-1&stamp=1713198693&raw=0

 cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -Darmv8l -DLinux -D_REENTRANT -DVERSION=\"9.29\" -DLIB6 -falign-functions=4 -fsigned-char -fno-stack-protector   -DTHREADED -DPTHREAD -DX_V11R6_1 -DGCC -DGCC3 -I/usr/include -I/usr/X11R6/include -I/<<PKGBUILDDIR>>/include -DARM -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2  -Darmv8l -DLinux -D_REENTRANT -DVERSION=\"9.29\" -DLIB6 -falign-functions=4 -fsigned-char -fno-stack-protector   -DTHREADED -DPTHREAD -DX_V11R6_1 -DGCC -DGCC3 -I/usr/include -I/usr/X11R6/include -I/<<PKGBUILDDIR>>/include -DARM -fPIC -o /<<PKGBUILDDIR>>/LinuxARM/obj/unixcall.o -O2 unixcall.c)
unixcall.c:90:15: error: conflicting types for ‘timezone’; have ‘time_t’ {aka ‘long long int’}
   90 | extern time_t timezone, altzone;        /*long*/
      |               ^~~~~~~~
In file included from /usr/include/pthread.h:23,
                 from eus_thr.h:25,
                 from eus.h:577,
                 from unixcall.c:21:
/usr/include/time.h:233:17: note: previous declaration of ‘timezone’ with type ‘long int’
  233 | extern long int timezone;
      |                 ^~~~~~~~
make[3]: *** [Makefile.generic2:297: /<<PKGBUILDDIR>>/LinuxARM/obj/unixcall.o] Error 1

Cheers
-- 
Sebastian Ramacher



More information about the debian-science-maintainers mailing list