[Pkg-tcltk-devel] Bug#476006: tcl8.3: FTBFS: ./../generic/tclClock.c:310: error: 'timezone' undeclared (first use in this function)

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Apr 14 10:50:06 UTC 2008


Package: tcl8.3
Version: 8.3.5-10
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080413 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
> cc -c -g -O2 -D_REENTRANT=1 -Wall -Wconversion -Wno-implicit-int  -I./../generic -I. -fno-inline  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DTM_IN_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNO_GETTOD=1 -DHAVE_SYS_IOCTL_H=1         -DTCL_SHLIB_EXT=\"\" ./../generic/tclClock.c
> ./../generic/tclClock.c: In function 'FormatClock':
> ./../generic/tclClock.c:310: error: 'timezone' undeclared (first use in this function)
> ./../generic/tclClock.c:310: error: (Each undeclared identifier is reported only once
> ./../generic/tclClock.c:310: error: for each function it appears in.)
> ./../generic/tclClock.c:312: warning: implicit declaration of function 'tzset'
> ./../generic/tclClock.c:316: warning: conversion to 'time_t' from 'long unsigned int' may change the sign of the result
> ./../generic/tclClock.c:338: warning: conversion to 'int' from 'size_t' may change the sign of the result
> make[1]: *** [tclClock.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/04/13

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-tcltk-devel mailing list