From owner-freebsd-ports@FreeBSD.ORG Mon May 15 08:04:52 2006 Return-Path: X-Original-To: freebsd-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 6EC3216A414 for ; Mon, 15 May 2006 08:04:52 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B54143D5D for ; Mon, 15 May 2006 08:04:51 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 15 May 2006 08:04:50 -0000 Received: from x236.vpn.hrz.tu-darmstadt.de (EHLO [130.83.72.236]) [130.83.72.236] by mail.gmx.net (mp043) with SMTP; 15 May 2006 10:04:50 +0200 X-Authenticated: #5465401 Message-ID: <4468361E.1090405@gmx.de> Date: Mon, 15 May 2006 10:04:46 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: Jiawei Ye References: <44682A60.1090701@gmx.de> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-ports@freebsd.org Subject: Re: dependency inheritance 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: Mon, 15 May 2006 08:04:55 -0000 Jiawei Ye wrote: > On 5/15/06, [LoN]Kamikaze wrote: >> First of all I don't understand why it should have any dependencies >> apart from portupgrade. >> The second problem is that apart from ruby-1.8.4_6,1 and perl-5.8.8, >> which were obviously inherited from portupgrade, why does it inherit the >> wrong version of ruby-bdb and why doesn't it inherit bdb4? > During my conversation with the author of portmanager, we found that > pkg_* tools look at the ports Makefiles instead of the installed > db/pkg/+CONTENTS when determining the dependancies. Portmanager did an > excellent job resolving these dependancy things, but it is not in > active development now. > > Jiawei Ye > What I'd like to know is weather there is something wrong with my port. This problem makes it necessary to run 'pkgdb -F' to use portupgrade. Which is annoying in my opinion. Since dependencies are travelled recursively I think inheriting only makes it more difficult to maintain the package database, without gaining anything from it. I consider this a bug in the Ports system that should be fixed.