From owner-freebsd-ports@FreeBSD.ORG Wed May 20 23:11:47 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52481065676; Wed, 20 May 2009 23:11:47 +0000 (UTC) (envelope-from p.christias@noc.ntua.gr) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [IPv6:2001:648:2000:de::220]) by mx1.freebsd.org (Postfix) with ESMTP id 3AF6A8FC21; Wed, 20 May 2009 23:11:47 +0000 (UTC) (envelope-from p.christias@noc.ntua.gr) Received: from [147.102.224.68] (ovpn-68.noc.ntua.gr [147.102.224.68]) (authenticated bits=0) by diomedes.noc.ntua.gr (8.14.3/8.14.3) with ESMTP id n4KNBd3O041083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 May 2009 02:11:40 +0300 (EEST) (envelope-from p.christias@noc.ntua.gr) Message-ID: <4A148E2D.1040001@noc.ntua.gr> Date: Thu, 21 May 2009 02:11:41 +0300 From: Panagiotis Christias Organization: NTUA NOC User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: d@delphij.net References: <4A13FF70.9040008@noc.ntua.gr> <4A147113.3010902@delphij.net> In-Reply-To: <4A147113.3010902@delphij.net> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (diomedes.noc.ntua.gr [147.102.222.220]); Thu, 21 May 2009 02:11:40 +0300 (EEST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on diomedes.noc.ntua.gr X-Virus-Status: Clean Cc: Xin LI , freebsd-ports@FreeBSD.ORG Subject: Re: port net/openldap24-sasl-client fails to register as dependency 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, 20 May 2009 23:11:48 -0000 Hello, (I am adding freebsd-ports@ to the thread as you suggested) Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, Panagiotis, > > Panagiotis Christias wrote: >> Hello, >> >> I came across another dependency bug. It looks like packages that depend >> on net/openldap24-client (e.g. mail/sendmail-ldap, mail/dovecot with >> WITH_LDAP=true etc) fail to register the openldap dependency in systems >> that have net/openldap24-sasl-client port installed. > > I am aware of this problem but I don't have a good solution for it (at > hand), this is an infrastructural issue with the ports dependency > tracking - if two ports installs exactly the same files, there is no way > to distinguish between the two without forcing to install one even if a > conflicting one is already installed. Hm.. messy. How does lang/perl5.[6,8,10] handle such problems? > Can we post this to -ports@ so we can bring more people into the > discussion? I think this would be an interesting topic that should have > been addressed sooner than later. > > (By the way, as a workaround portupgrade(1) for instance can be > configured to force specified dependency, just FYI;). Are you referring to something like the following in pkgtools.conf? ALT_PKGDEP = { 'net/openldap24-client' => 'net/openldap24-sasl-client', } I am already using that. Without it portinstall/upgrade would try every time to install net/openldap24-client (and fail). But it still does not register the dependency. Regards, Panagiotis -- Panagiotis J. Christias Network Management Center p.christias@noc.ntua.gr National Technical Univ. of Athens, GREECE