From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 20 15:30:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 913C71065672 for ; Tue, 20 Oct 2009 15:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 536FB8FC2A for ; Tue, 20 Oct 2009 15:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9KFU3Bt099932 for ; Tue, 20 Oct 2009 15:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9KFU3lR099929; Tue, 20 Oct 2009 15:30:03 GMT (envelope-from gnats) Resent-Date: Tue, 20 Oct 2009 15:30:03 GMT Resent-Message-Id: <200910201530.n9KFU3lR099929@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Artyom Bisyarin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 214EA106568B for ; Tue, 20 Oct 2009 15:21:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 105498FC27 for ; Tue, 20 Oct 2009 15:21:12 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9KFLBvZ094280 for ; Tue, 20 Oct 2009 15:21:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9KFLBHw094279; Tue, 20 Oct 2009 15:21:11 GMT (envelope-from nobody) Message-Id: <200910201521.n9KFLBHw094279@www.freebsd.org> Date: Tue, 20 Oct 2009 15:21:11 GMT From: Artyom Bisyarin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139801: [patch] port security/gorilla does not work after installation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 15:30:04 -0000 >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@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: