#1060702 tcl-itcl4-dev: incr Tcl programs do not compile with tcl8.7-dev

Package:
tcl-itcl4-dev
Source:
tcl-itcl4-dev
Description:
[incr Tcl] OOP extension for Tcl - development files
Submitter:
Rafael Laboissière
Date:
2026-07-28 10:27:02 UTC
Severity:
normal
Tags:
#1060702#5
Date:
2024-01-13 08:05:16 UTC
From:
To:
With the versions of tcl-itcl4-dev (4.2.3-1) and tcl8.7-dev
(8.7.0~a5+dfsg-3) currently in experimental, this simple example does
not work:

    $ echo "#include <itcl/itcl.h>" > test.c
    $ gcc -c test.c -I/usr/include/tcl
    In file included from test.c:1:
    /usr/include/itcl/itcl.h:144:5: error: unknown type name 'Tcl_Size'
      144 |     Tcl_Size len;                  /* number of values on stack */
          |     ^~~~~~~~
    /usr/include/itcl/itcl.h:145:5: error: unknown type name 'Tcl_Size'
      145 |     Tcl_Size max;                  /* maximum size of stack */
          |     ^~~~~~~~
    /usr/include/itcl/itcl.h:164:5: error: unknown type name 'Tcl_Size'
      164 |     Tcl_Size num;                  /* number of elements */
          |     ^~~~~~~~

It does work in unstable.

Currently, in experimental, tcl-dev depends on tcl8.7-dev. If this
packages migrate into unstable, then tcl-itcl4-dev will be broken in a
serious way. Hence, I am am hereby setting the severity level to
important.

The patch attached to this bug report seems to fix the problem.

Best,

Rafael

#1060702#10
Date:
2024-01-13 14:34:13 UTC
From:
To:
Hi Rafael,

Thank you for the report and for the patch!

Indeed, tcl-dev depends on tcl8.8-dev in experimental in order to spot
this type of bugs. Eventually, Tcl/Tk 8.7 will be released, and then
we'll do a big transition of all the Tcl/Tk related packages from 8.6
to 8.7. Your patch will definitely help with it.

Cheers!

#1060702#15
Date:
2026-07-28 10:25:00 UTC
From:
To:
Hi,

I'm closing this bugreport because Tcl/Tk 8.7 is decided not to be
released, and is removed from Debian. itcl4 should work fine with
Tcl/Tk 9.0.

Cheers!