From owner-freebsd-ports@FreeBSD.ORG Thu Mar 30 07:27:13 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 7F14016A41F; Thu, 30 Mar 2006 07:27:13 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD00443D45; Thu, 30 Mar 2006 07:27:12 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id C3DD2B857; Thu, 30 Mar 2006 10:27:11 +0300 (EEST) Received: (nullmailer pid 90972 invoked by uid 1002); Thu, 30 Mar 2006 07:27:11 -0000 Date: Thu, 30 Mar 2006 10:27:11 +0300 From: Vasil Dimov To: Mikhail Teterin Message-ID: <20060330072711.GA87198@qlovarnika.bg.datamax> References: <200603291411.46142.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603291411.46142.mi+mx@aldan.algebra.com> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: ports@freebsd.org, kuriyama@freebsd.org Subject: Re: 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 Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 07:27:13 -0000 On Wed, Mar 29, 2006 at 02:11:45PM -0500, Mikhail Teterin wrote: > 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. portupgrade -r expat would have saved you from the X breakage. Otherwise you are right for the shared library versions. -- Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra