From owner-svn-ports-all@FreeBSD.ORG Thu Aug 7 17:26:55 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 854C66CE; Thu, 7 Aug 2014 17:26:55 +0000 (UTC) Received: from h.highsecure.ru (h.highsecure.ru [144.76.31.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 416CE2B6A; Thu, 7 Aug 2014 17:26:54 +0000 (UTC) Received: from medway.cl.cam.ac.uk (medway.cl.cam.ac.uk [IPv6:2001:630:212:238:21c:c0ff:fe4b:2b85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vsevolod@highsecure.ru) by h.highsecure.ru (Postfix) with ESMTPSA id 128C93002DD; Thu, 7 Aug 2014 19:26:46 +0200 (CEST) Message-ID: <53E3B6D8.9080101@FreeBSD.org> Date: Thu, 07 Aug 2014 18:26:48 +0100 From: Vsevolod Stakhov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Matthias Andree , Tijl Coosemans Subject: Re: svn commit: r364287 - head/ports-mgmt/pkg-devel References: <53e39939.55bc.4ca5432c@svn.freebsd.org> <20140807172841.58633e63@kalimero.tijl.coosemans.org> <53E3A468.5050603@FreeBSD.org> <53E3AC0C.5020904@gmx.de> <53E3AD09.2050000@FreeBSD.org> <53E3B3B5.9000104@gmx.de> In-Reply-To: <53E3B3B5.9000104@gmx.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2014 17:26:55 -0000 On 07/08/14 18:13, Matthias Andree wrote: > Am 07.08.2014 um 18:44 schrieb Vsevolod Stakhov: > >> On 07/08/14 17:40, Matthias Andree wrote: >>> Am 07.08.2014 um 18:08 schrieb Vsevolod Stakhov: >>> > [skipped] > Please reconsider/revert that change, and instead snatch the embedded > ELF SONAME from all libraries and use that for shared object (= dynamic > library) requires/provides. Ok, I'll spend some more of my time to explain the problem. 1) We have the field called manifestdigest, that is intended to be unique per package. 2) We have packages with wrong provides (they could be generated by 1.2 or some of 1.3 versions) 3) Manifestdigest is not changed by shlib changes (there is a request but it requires to rebuild all digests from the scratch). 4) So for now, we have installed package with a wrong provide and a remote package with the same manifestdigest. 5) Remote package is not even considered by pkg as packages with the same digests are considered equal. 6) Pkg installs something from the remote repo that has the provide needed (e.g. wine-devel-i386). Hence, I *won't* revert this change until we fix other problems with shared libraries and digests calculation. I understand that it might be unclear, but currently shared library dependencies are used merely to fix ports that lack explicit dependencies. For example, if your port has something like LIB_DEPENDS= libblah.so.2:${PORTSDIR}/some/port then you would have *explicit* dependency and you won't be affected by my change. It merely prevents pkg from installing unnecessary shit for now. -- Vsevolod Stakhov