Skip site navigation (1)Skip section navigation (2)

ports/139801: [patch] port security/gorilla does not work after installation

From:Artyom Bisyarin <artyom@zool.in.ua>
Date:Tue, 20 Oct 2009 15:21:11 GMT
Subject:[patch] port security/gorilla does not work after installation
Send-pr version:www-3.1

Number:139801
Category:ports
Synopsis:[patch] port security/gorilla does not work after installation
Severity:non-critical
Priority:low
Responsible:freebsd-ports-bugs@FreeBSD.org
State:closed
Class:sw-bug
Arrival-Date:Tue Oct 20 15:30:03 UTC 2009
Closed-Date:Sat Nov 21 15:28:53 UTC 2009
Last-Modified:Sat Nov 21 15:30:03 UTC 2009
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@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).
Download patch.txt
--- 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:
State Changed
From-To:open->closed
By:miwi
When:Sat Nov 21 15:28:52 UTC 2009
Why:Committed. Thanks!

Reply via E-mail
From:dfilter@FreeBSD.ORG (dfilter service)
Date:Sat, 21 Nov 2009 15:28:53 +0000 (UTC)
miwi 2009-11-21 15:28:44 UTC

FreeBSD ports repository

Modified files:
security/gorilla Makefile
Log:
- Use explicit tk/tcl 84
- Bump PORTREVISION

PR: 139801
Submitted by: Artyom Bisyarin <artyom@zool.in.ua>

Revision Changes Path
1.11 +3 -3 ports/security/gorilla/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"


Unformatted:
 
Submit Followup | Raw PR | Find another PR