From owner-freebsd-ports@FreeBSD.ORG Sat Jan 5 15:43:53 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 05F934DC for ; Sat, 5 Jan 2013 15:43:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id BBFE11DE for ; Sat, 5 Jan 2013 15:43:52 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r05FhpGg014039; Sat, 5 Jan 2013 08:43:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r05Fhpel014036; Sat, 5 Jan 2013 08:43:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Jan 2013 08:43:51 -0700 (MST) From: Warren Block To: Kimmo Paasiala Subject: Re: pkg_libchk and lib/compat (was: Re: Notes on upgrades after libpcre update) In-Reply-To: Message-ID: References: <20121214142537.4ef00e1b53a7c55bffabdc63@FreeBSD.org> <50E7D49A.7060207@passap.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 05 Jan 2013 08:43:51 -0700 (MST) Cc: Boris Samorodov , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2013 15:43:53 -0000 On Sat, 5 Jan 2013, Kimmo Paasiala wrote: > On Sat, Jan 5, 2013 at 9:22 AM, Boris Samorodov wrote: >> 05.01.2013 09:09, Kevin Oberman ?????: >> >>> pkg_libchk does not count old libraries in >>> the compat folder, so it will still report the problem ports even >>> though you use '-w'. >> >> Are you sure? From PKG_LIBCHK(1): >> ----- >> DESCRIPTION >> The pkg_libchk script uses pkg_info(1), ldd(1) and readelf(1) to check >> whether a package is linked against missing libraries or libraries >> resid- >> ing in /usr/local/lib/compat and its subfolders. >> >> OPTIONS >> [...] >> -n --no-compat >> This deactivates detecting compat libraries in >> /usr/local/lib/compat as missing libraries. >> ----- > > It certainly does look at the compat -directories by default and > that's the correct thing to do. Yes. Because it considers links to libraries in compat to be a problem, old libraries there don't fool it.