From owner-freebsd-pkg@freebsd.org Fri Oct 2 07:26:02 2015 Return-Path: Delivered-To: freebsd-pkg@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 CFC05A0E4BC for ; Fri, 2 Oct 2015 07:26:02 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CC9B1F04 for ; Fri, 2 Oct 2015 07:26:02 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([193.12.234.195]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t927PpiC041290 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 2 Oct 2015 08:25:51 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t927PpiC041290 Authentication-Results: smtp.infracaninophile.co.uk/t927PpiC041290; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [193.12.234.195] claimed to be liminal.local Subject: Re: Provided shared libraries not registering. To: freebsd-pkg@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <560E3176.2070808@FreeBSD.org> Date: Fri, 2 Oct 2015 09:25:42 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kcWm1XRCFlugdj4WVsOmStAJ9Q5hsfDL6" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 07:26:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kcWm1XRCFlugdj4WVsOmStAJ9Q5hsfDL6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/10/2015 08:27, Kimmo Paasiala wrote: > This came up on graphics/gdal but there could be others. It looks like > pkg doesn't register provided shared libraries if the libraries lack > an SONAME in their dynamic section. Was this changed on pkg 1.6 or has > it always been like that? What it does now is that 'pkg check -d' will > complain about missing shared libraries that are present and > applications using those libraries work fine. Yes, that was a deliberate choice. Not all shared libraries are created for sharing -- and some times it's hard to tell whether something is meant to be a loadable module rather than a shared library. In theory these are quite different binary formats, but it seems many developers don't appreciate the subtleties, and mix up the two. It's a heuristic that does as well as we could manage, but that doesn't mean there isn't room for improvement. The test on SONAME has been in the code for quite some time, certainly since before pkg-1.5.0 Cheers, Matthew --kcWm1XRCFlugdj4WVsOmStAJ9Q5hsfDL6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWDjF+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATBUoQAKrqHkcWQAWkS2FnyMQA1a0G FxrJaLadSRLOZyx3Myi88FOPGEdyGCl3s+B4LygRd+0/R88+XIp43ZuJZarisdsq JPOsfVXnicjChWqMo4ipGgzX+yyuhSEAJGXCdZ4gq8XP9SBASWBhnHXpYjsvq8IF 4C0dS4dRGObrToly2ptEkZsXYkdeb8vvxp/cVgwUV2TqrHfi47T/m6L3VLD1UHR1 0qrzzm26iBB15VNX7ZZNVrmNdJujl5fjZtU9Sumn9T3Dapa04WCL0Y0Te3h+ZlUz mVMj+lr4nRvarVUz19Pp3MRmogGyBWvqpucftJ7H1E1tQLO05GYKe1XAumUZa9MO Cr3vYvuEOJGWrpfUtltZGKp9PGK8ssn4IBFTMMnFxO0UiDfBhH3gwgJ+6okpQfd+ 7B5x4CUqa9xcFqLhJy9PXABPTHTnuh8u55NmWoMzN+dDPSJtspgZtCvQFDBVUeM6 YSeXMOnNPvG9REIAcbVucskXmCaiGMj/HguRns9lc2RxFuMDIpHSIKW+1diqYabD MaLh2hxvfrB9a8W8eS9qA26M0kRq9yMRkwiQ0iH7ALx0JwUlzi1G3dAze9cHNJOc qIqhVMNgmx/uvEPZyjVf7W4FslvbOUugnJtJFBpUHK5Ps49YMAyF8gsNk1w+59Pb ePda/GF8ZthDpcViDRrG =vIcP -----END PGP SIGNATURE----- --kcWm1XRCFlugdj4WVsOmStAJ9Q5hsfDL6--