Date: Tue, 21 Oct 2008 02:54:39 +0400 (MSD) From: vassily ragosin <vr@vrgraphics.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128256: www/tomcat-native rewrites APR library distributed with www/apache* Message-ID: <20081020225439.E947B4AC38@gray.vrgraphics.ru> Resent-Message-ID: <200810202320.m9KNK1TM047042@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081020225439.E947B4AC38>