ports/139801: [patch] port security/gorilla does not work after installation
Artyom Bisyarin
artyom at zool.in.ua
Tue Oct 20 15:30:04 UTC 2009
>Number: 139801
>Category: ports
>Synopsis: [patch] port security/gorilla does not work after installation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 20 15:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Artyom Bisyarin
>Release: FreeBSD 7.2-STABLE
>Organization:
>Environment:
FreeBSD artem.localnet. 7.2-STABLE FreeBSD 7.2-STABLE #7: Tue Oct 13 00:54:34 EEST 2009 root at artem.localnet.:/usr/obj/usr/src/sys/CUSTOM i386
>Description:
Gorilla application does not work after installation. It shows a dialog box which says that incr-tcl is needed, but "lang/itcl" is present. If we make a little change to "/usr/local/lib/gorilla/gorilla.tcl" and try to include itcl library without exception catching, then following error message arise:
==
Error in startup script: version conflict for package "Tcl": have 8.5.7, need exactly 8.4
while executing
"load /usr/local/lib/itcl3.3/../libitcl.so.3 Itcl"
..
==
>How-To-Repeat:
Install security/gorilla and run:
$ gorilla
>Fix:
Process of installing "security/gorilla" installs as dependecies "lang/tcl85" (USE_TCL_RUN=yes) and "x11-toolkits/tk85" (USE_TK=yes). Gorilla also requires "lang/itcl" which requires "lang/tcl84" (USE_TCL=84). So after Gorilla's installation we have "lang/tcl85", "lang/tcl84", "x11-toolkits/tk85" and unworking Gorilla because "lang/itcl" can work with tk84, not with tk85. I think that "security/gorilla" must require "lang/tcl84" and "x11-toolkits/tk84". This approach works fine for me (see attached patch).
Patch attached with submission follows:
--- Makefile 2009-10-16 02:01:45.000000000 +0300
+++ myMakefile 2009-10-16 00:59:51.000000000 +0300
@@ -17,8 +17,8 @@
LIB_DEPENDS= itcl.3:${PORTSDIR}/lang/itcl
RUN_DEPENDS= ${LOCALBASE}/lib/bwidget/init.tcl:${PORTSDIR}/x11-toolkits/bwidget
-USE_TCL_RUN= yes
-USE_TK= yes
+USE_TCL_RUN= 84
+USE_TK= 84
GNU_CONFIGURE= yes
NO_BUILD= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list