Subject: pkg/34229: x11/tk accepts too-old lang/tcl as dependency
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Gustafsson <gson@gson.org>
List: pkgsrc-bugs
Date: 08/18/2006 12:50:00
>Number:         34229
>Category:       pkg
>Synopsis:       x11/tk accepts too-old lang/tcl as dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 18 12:50:00 +0000 2006
>Originator:     Andreas Gustafsson
>Release:        NetBSD 3.99.24
>Organization:
>Environment:
System: NetBSD guava.gson.org 3.99.24 NetBSD 3.99.24 (GENERIC) #0: Fri Aug 4 13:14:16 EEST 2006 root@guru.araneus.fi:/usr/build/1005/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

One one of my NetBSD-current/i386 machines, running wish8.4
(from the x11/tk package) and typing "exit" caused a core dump:

  $ wish8.4
  % exit
  Tcl_Release couldn't find reference for 0x8055f08
  Abort trap (core dumped)
  $

It turned out the versions of the tcl and tk packages on
this machine were tcl-8.4.7nb2 and tk-8.4.13, respectively.
Updating tcl to 8.4.13 fixed the problem.

It would appear that these two versions are not compatible, and that
tk should require a newer version of tcl than it currently does
(it currently only requires 8.4.7nb1).

>How-To-Repeat:

Install tcl-8.4.7nb2 and tk-8.4.13, type "wish8.4", and then "exit".

>Fix:

None provided.