[Pkg-tcltk-devel] tcl8.6-dev: tclPort.h

Оlе Ѕtrеісhеr debian-devel at liska.ath.cx
Mon Mar 17 08:56:32 UTC 2014


Hi,

I just got an FTBS bug report [1] for one of my packages that depend on
tcl and was not trying to be recompiled against 8.6.1.

The report is misleading a bit; the major problem is that tclUnixPort.h
(which is included in tclPort.h) cannot be found [2]:

gcc -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DPACKAGE_NAME=\"rtd\" -DPACKAGE_TARNAME=\"rtd\" -DPACKAGE_VERSION=\"3.2.1\" -DPACKAGE_STRING=\"rtd\ 3.2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_COMPAT_CONST=1 -DSIZEOF_LONG=8 -DHAVE_NET_SERVICES=1 -DHAVE_SOCKLEN_T=1 -DHAVE_SELECT_FD_SET=1 -DHAVE_TKCANVAS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1  -I./generic -I./rtdevt -I./bitmaps -I./../astrotcl/generic -I./../astrotcl/cfitsio -I./../astrotcl/libwcs -I./../tclutil/generic -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6/tcl-private/generic -I"/usr/include/tcl8.6" -I"/usr/include/tk"   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O2  -fPIC -c `echo ./generic/tkCanvasPsImage.c` -o tkCanvasPsImage.o
In file included from /usr/include/tcl8.6/tcl-private/generic/tclInt.h:36:0,
                 from ./generic/tkCanvasPsImage.c:41:
/usr/include/tcl8.6/tcl-private/generic/tclPort.h:23:28: fatal error: tclUnixPort.h: No such file or directory
 #   include "tclUnixPort.h"

If I look into the #include statement in generic/tclInt.h, this has
changed now from

#include "../unix/tclUnixPort.h"

to 

#include "tclUnixPort.h"

My question is now why this change was made and how can I avoid this.

Best regards

Ole

[1] https://bugs.debian.org/741781
[2] http://aws-logs.debian.net/ftbfs-logs/2014/03/15/skycat_3.1.2+starlink1~b-3_unstable.log
[3] http://sources.debian.net/src/tcl8.6/8.6.1-6/generic/tclPort.h#L23



More information about the Pkg-tcltk-devel mailing list