From owner-freebsd-ports@FreeBSD.ORG Wed Mar 29 19:12:24 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34ADA16A425; Wed, 29 Mar 2006 19:12:24 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from zig.murex.com (mail.murex.com [194.98.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC23D43D73; Wed, 29 Mar 2006 19:12:19 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from interscan.fr.murex.com (interscan.fr.murex.com [172.21.17.207] (may be forged)) by zig.murex.com with ESMTP id k2TJEJTg002899; Wed, 29 Mar 2006 21:14:20 +0200 (CEST) Received: from mxmail.murex.com (interscan.murex.fr [127.0.0.1]) by interscan.fr.murex.com (8.11.6/8.11.6) with ESMTP id k2TJhfe05487; Wed, 29 Mar 2006 21:43:41 +0200 Received: from [172.21.130.86] ([172.21.130.86]) by mxmail.murex.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 29 Mar 2006 21:11:47 +0200 From: Mikhail Teterin Organization: Virtual Estates, Inc. To: ports@freebsd.org Date: Wed, 29 Mar 2006 14:11:45 -0500 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603291411.46142.mi+mx@aldan.algebra.com> X-OriginalArrivalTime: 29 Mar 2006 19:11:47.0400 (UTC) FILETIME=[A011E480:01C65364] Cc: kuriyama@freebsd.org Subject: just say NO to explicit shlib numbers (Broken dependency on expat) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 19:12:24 -0000 Amarendra Godbole wrote on Mar 29th: =I tried to build apache22 from the ports (/usr/ports/www/apache22/). =Now, the initial build failed, because of a broken dependency on =libexpat - as apache22 needed a newer version than the one I had =(1.95.*). This problem is what some committers continue to impose on the FreeBSD users. Apache22 does not care, which libexpat it is built against -- it would've been just as happy with libexpat.5, that Amarendra already had. Unfortunately, instead of removing the requirement for a particular shared library number altogether, kuriyama bumped it on Jan 30: revision 1.190 date: 2006/01/30 23:20:03; author: kuriyama; state: Exp; lines: +2 -2 Chase shlib bump of libexpat. This nonsense ought to stop. It is quite rare, that a port insists on a particular shared library version of a dependency. The number should not be explicitly specified in any other case... -mi =So, I forcibly deinstalled, and reinstalled expat2 from =/usr/ports/textproc/expat2/, and apache22 built and installed fine. =So far so good... =...but upgrading libexpat removed the original libexpat.so.5 link, and =put a libexpat.so.6...which caused all my X based programs, including =the window manager to break! X just refused to start, and so did many =other programs.