Bug 139801 - [patch] port security/gorilla does not work after installation
Summary: [patch] port security/gorilla does not work after installation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 16:30 UTC by Artyom Bisyarin
Modified: 2009-11-21 15:30 UTC (History)
0 users

See Also:


Attachments
file.diff (340 bytes, patch)
2009-10-20 16:30 UTC, Artyom Bisyarin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artyom Bisyarin 2009-10-20 16:30:03 UTC
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"
..
==

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:
How-To-Repeat: Install security/gorilla and run:
$ gorilla
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2009-11-21 15:28:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-11-21 15:28:53 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"