From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 20 23:20:01 2008 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 E06EC106567D for ; Mon, 20 Oct 2008 23:20:01 +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 C054A8FC17 for ; Mon, 20 Oct 2008 23:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KNK1Wv047049 for ; Mon, 20 Oct 2008 23:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KNK1TM047042; Mon, 20 Oct 2008 23:20:01 GMT (envelope-from gnats) Resent-Date: Mon, 20 Oct 2008 23:20:01 GMT Resent-Message-Id: <200810202320.m9KNK1TM047042@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, vassily ragosin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AFA9106569A for ; Mon, 20 Oct 2008 23:13:59 +0000 (UTC) (envelope-from vr@gray.vrgraphics.ru) Received: from gray.vrgraphics.ru (gray.vrgraphics.ru [212.67.2.238]) by mx1.freebsd.org (Postfix) with ESMTP id CC9C08FC19 for ; Mon, 20 Oct 2008 23:13:58 +0000 (UTC) (envelope-from vr@gray.vrgraphics.ru) Received: by gray.vrgraphics.ru (Postfix, from userid 1002) id E947B4AC38; Tue, 21 Oct 2008 02:54:39 +0400 (MSD) Message-Id: <20081020225439.E947B4AC38@gray.vrgraphics.ru> Date: Tue, 21 Oct 2008 02:54:39 +0400 (MSD) From: vassily ragosin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/128256: www/tomcat-native rewrites APR library distributed with www/apache* X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vassily ragosin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 23:20:02 -0000 >Number: 128256 >Category: ports >Synopsis: www/tomcat-native rewrites APR library distributed with www/apache* >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 20 23:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: vassily ragosin >Release: FreeBSD 7.0-STABLE i386 >Organization: vr graphics >Environment: System: FreeBSD >Description: www/tomcat-native is a port, which installs a native library for optimizing the performance of Apache Tomcat connectors by taking the advantage of a native compiled Apache Portable Runtime library (APR). APR library can be build by either using a devel/apr port, but it can also be installed along with the Apache HTTPD server, as a part of its normal installation process. Unfortunately, www/tomcat-native port is ignorant of this fact. Even if there already is APR library on the system, installed by one of the www/apache* ports, www/tomcat-native overwrites the library with a fresh install of devel/apr port. This creates a possible compatibility problem between www/apache* and devel/apr, and also makes it impossible to upgrade www/apache*, because it conflicts with devel/apr (unless specifically build against port's apr which is discouraged by the config screen of www/apache*). Also, I do NOT have any negative experience with running Tomcat with www/tomcat-native built against APR library included in www/apache22. >How-To-Repeat: 1. Install www/apache22 (don't use port's APR) 2. Install www/tomcat-native 3. Notice that APR library in the system was blindly rewritten. 4. Try to force upgrade www/apache22 5. Notice that build breaks because of a conflict with devel/apr. >Fix: Something needs to be done about LIB_DEPENDS for www/tomcat-native. >Release-Note: >Audit-Trail: >Unformatted: