Subject: pkg/25574: Is there some reason devel/libstroke requires tcl83?
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rivie@ridgenet.net>
List: pkgsrc-bugs
Date: 05/15/2004 02:49:33
>Number:         25574
>Category:       pkg
>Synopsis:       Is there some reason devel/libstroke requires tcl83?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat May 15 02:50:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roger Ivie
>Release:        1.6.2 with pkgsrc from 2004-05-08
>Organization:
>Environment:
NetBSD Stench.no.domain 1.6.2 NetBSD 1.6.2 (StenchToo) #0: Mon Apr 12 14:52:21 PDT 2004     rivie@StenchToo.no.domain:/usr/src/sys/arch/i386/compile/StenchToo i386
>Description:
I installed gEDA on my machine a while ago; seems to be working fine. For problems with some other package, it was suggested that I update my pkgsrc; so I pulled down a -current pkgsrc and dropped it in place. For reasons that aren't relevant to this problem, I decided that I need to rebuild gEDA.

gEDA depends on libstroke, which depends on tcl83.

In the old pkgsrc, gEDA depended on libstroke, which depended on tcl. Consequently, when I installed gEDA I got tcl-8.4.6nb3.

Somewhere along the line, tcl83 was added alongside tcl. Libstroke now refers to tcl83. Tcl83 doesn't recognize tcl-8.4.6nb3 as being >= tcl-8.3.4, so it insists on installing tcl83. Tcl83 won't install because it DOES recognize tcl-8.4.6nb3 as being >= tcl-8.3.4.

So, the question: do I NEED tcl-8.3.4 for libstroke to work, or can I continue with tcl-8.4.6nb3? Since gEDA has been working so far, I suspect the latter.

BTW, the README.html for libstroke just says "tcl>=8.3.4"; it is no help in this case.

>How-To-Repeat:
Attempt to install cad/gEDA on a system on which lang/tcl has been previously installed.
>Fix:
For the moment, I've hacked the Makefile and buildlink for libstroke to refer to lang/tcl instead of lang/tcl83. However, I don't know if this is appropriate.

Either tcl83 needs to realize it is a different package from tcl, or the README for devel/libstroke needs to be more explicit.

>Release-Note:
>Audit-Trail:
>Unformatted: