Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213028 - dev-tcltk/otcl doesn't compile with TCL 8.5
Summary: dev-tcltk/otcl doesn't compile with TCL 8.5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
: 269424 (view as bug list)
Depends on:
Blocks: tcltk-8.5
  Show dependency tree
 
Reported: 2008-03-11 11:52 UTC by Anant Narayanan (RETIRED)
Modified: 2009-08-08 00:18 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
otcl-1.14_pre20090106.ebuild (otcl-1.14_pre20090106.ebuild,1.37 KB, text/plain)
2009-04-17 19:47 UTC, Federico Ferri (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anant Narayanan (RETIRED) gentoo-dev 2008-03-11 11:52:35 UTC
dev-tcltk/otcl-1.13 doesn't compile with TCL 8.5:

/usr/lib/tcl8.5/include/generic/tclPort.h:27:28: error: tclUnixPort.h: No such file or directory

On adding "-I/usr/lib/tcl8.5/include/unix -DHAVE_UNISTD_H" to the compile lines (which is where tclUnixPort.h is), these errors seems to go away but new ones like:

otcl.c:983: error: 'TclVarHashTable' has no member named 'keyType

crop up.
Comment 1 Pacho Ramos gentoo-dev 2008-05-02 11:56:51 UTC
Maybe some of svn snapshots could help, but I haven't tried :-(
http://www.isi.edu/nsnam/dist/daily/
Comment 2 Federico Ferri (RETIRED) gentoo-dev 2009-04-17 19:47:55 UTC
Created attachment 188719 [details]
otcl-1.14_pre20090106.ebuild

for the record, I tried the daily (well, it's dated 2009-01-06, so it's lying about daily-ness :D) snapshot, but doesn't work
Comment 3 Andrew Savchenko gentoo-dev 2009-05-01 14:16:47 UTC
Same problem here:
dev-lang/tcl-8.5.7
dev-tcltk/otcl-1.13
1.14 snapshot doesn't work too...
Comment 4 Michael B 2009-05-06 00:57:37 UTC
I am also having this issue 
Comment 5 Ferris McCormick (RETIRED) gentoo-dev 2009-05-11 16:35:38 UTC
*** Bug 269424 has been marked as a duplicate of this bug. ***
Comment 6 Federico Ferri (RETIRED) gentoo-dev 2009-05-11 19:08:32 UTC
added link to OTcl's tracker for Tcl-8.5 incompatibility
Comment 7 Michael B 2009-05-19 03:15:05 UTC
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg536934.html seems to be the issue
Comment 8 Michael B 2009-05-19 07:23:51 UTC
"http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg536934.html
seems to be the issue" I apologies for my mistake this is in no way the issue. I am still working on tracking down the problem but the problem is clearly: 
error: ‘TclVarHashTable’ has no member named ‘keyType’
error: ‘Var’ has no member named ‘hPtr’
Comment 9 Michael B 2009-05-19 08:44:22 UTC
The issue seems to be that for the most part otcl is unmaintained, tcl 8.5 changed how variables are handled. http://sourceforge.net/tracker/?func=detail&aid=1877033&group_id=30174&atid=398499 shows the bug is known. only choice is to use tcl 8.4
Comment 10 miguel sofer 2009-05-19 10:39:11 UTC
The reason for the TclVarHashTable problems is the varReform in 8.5 (see https://sourceforge.net/tracker/index.php?func=detail&aid=1750051&group_id=10894&atid=310894).

Fixing an extension that uses the internal Var functions is a bit of work, but it can be done. See for instance what it took for itcl at https://sourceforge.net/tracker/index.php?func=detail&aid=1766617&group_id=13244&atid=113244.

If anybody wants to tackle fixing otcl to run with 8.5, I'll gladly help with the effort. I can be reached at <msofer@users.sf.net>
Comment 11 Federico Ferri (RETIRED) gentoo-dev 2009-08-08 00:18:57 UTC
if you can provide a working ebuild (or at least a patchset over last otcl release) it would really help

please reopen if there are updates.