From owner-freebsd-ports@freebsd.org Wed Mar 16 09:47:55 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22347AD255A for ; Wed, 16 Mar 2016 09:47:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1015FEB for ; Wed, 16 Mar 2016 09:47:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 07CB9AD2558; Wed, 16 Mar 2016 09:47:55 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0737AAD2556; Wed, 16 Mar 2016 09:47:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 C1792E8; Wed, 16 Mar 2016 09:47:53 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 0A5012842E; Wed, 16 Mar 2016 10:47:45 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1CDA128412; Wed, 16 Mar 2016 10:47:43 +0100 (CET) Message-ID: <56E92BBF.1000905@quip.cz> Date: Wed, 16 Mar 2016 10:47:43 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Andrey Chernov , pkg@FreeBSD.org CC: ports@FreeBSD.org Subject: Re: "pkg check -B" drop shlibs from local.sqlite on -stable References: <56E8F424.8070304@freebsd.org> In-Reply-To: <56E8F424.8070304@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2016 09:47:55 -0000 Andrey Chernov wrote on 03/16/2016 06:50: > On recent -stable and pkg 1.6.4: > > 1# pkg check -d > Checking all packages: 100% > 2# pkg check -B > Checking all packages: 100% > 3# pkg check -d > Checking all packages: 100% > firefox has require a missing libraries: libgdk_pixbuf-2.0.so.0 > gtk-update-icon-cache has require a missing libraries: libgdk_pixbuf-2.0.so.0 > gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0 > gtk3 has require a missing libraries: libgdk_pixbuf-2.0.so.0 > libnotify has require a missing libraries: libgdk_pixbuf-2.0.so.0 > nspluginwrapper has require a missing libraries: libgdk_pixbuf-2.0.so.0 > > Well, I can repair it using: > > 1# sqlite3 /var/db/pkg/local.sqlite "select * from shlibs where name='libgdk_pixbuf-2.0.so.0';" > 81|libgdk_pixbuf-2.0.so.0 > 2# sqlite3 /var/db/pkg/local.sqlite "select * from packages where name='gdk-pixbuf2';" > 4207|graphics/gdk-pixbuf2|gdk-pixbuf2|2.32.3|... > ... > 3# sqlite3 /var/db/pkg/local.sqlite "insert into pkg_shlibs_provided values(4207,81);" > 4# pkg check -d > Checking all packages: 100% > > but it repeats again after the next "pkg check -B". > Please fix. I cannot reproduce it on 10.2. But I have a question - is there some change in functionality of -B? Because I noticed changes in manpage description. It was "reanalyse shared libraries of installed packages" and now it is "regenerates the library dependency metadata for a package by extracting library requirement information from the binary ELF files in the package" Different words for the same thing or was it changed? I used 'pkg check -Ba' after each upgrade or install to be sure everything is OK. Miroslav Lachman