From owner-freebsd-ports@freebsd.org Sat Dec 19 13:27:56 2015 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 42573A4CF35 for ; Sat, 19 Dec 2015 13:27:56 +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 C60B81C2D for ; Sat, 19 Dec 2015 13:27:55 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tBJDRouA076142 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 19 Dec 2015 13:27:50 GMT (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 tBJDRouA076142 Authentication-Results: smtp.infracaninophile.co.uk/tBJDRouA076142; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: pkg info -B not listing all shared libraries To: freebsd-ports@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56755B4B.7060606@FreeBSD.org> Date: Sat, 19 Dec 2015 13:27:39 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1qH4WppRIga5a5nfFHlRIlEe8FaQIDsvX" 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-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 13:27:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1qH4WppRIga5a5nfFHlRIlEe8FaQIDsvX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 19/12/2015 13:07, Dewayne Geraghty wrote: > Does "pkg info -B $pkg_name" only list the shared packages from the fir= st > level of supporting "ports", or is it supposed to be all shared (ports'= ) > libraries that are used? It lists the shared libraries that are: * not provided by the base system * that any binary or shared library in the package has a reference to * but not any shlibs provided by the same package The 'references' are as shown in the 'Dynamic Section' in the output of 'objdump -x filename' This does not in general include grandchild dependencies of shlibs directly required from the package. The idea here is that the shlib dependencies can be used for PROVIDES/REQUIRES style dependency tracking. We don't want to roll up all of the dependencies all the way up the tree, because that means we'd end up reinstalling packages unnecessarily if some grandfather shlib changed. Cheers, Matthew --1qH4WppRIga5a5nfFHlRIlEe8FaQIDsvX 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 iQJ8BAEBCgBmBQJWdVtRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATrSEQAJScEmtgBpbAaXrNE+5dCUb2 DjDthEsIsu2ibc9xQCZ0vHo6Xo46TePrDCa5dWF3HghLHX2Sj/vIQIL+3cWEBC0z PBdmZVbROICCSSDCKfniscyYg4QX4v1XnICsztJ9cLTJgqJYRae/gTpXrW9leqkC u9xRbt3DbRs/NSQKn9fc/59einsTRZU7+oevM1mApck6Wkaj0KIcXXL9CnDcOPVa IL9UZq0DtzhwwKF/1E3YFcTUWsUWkcFHdWp/MosyNhLYP9eDeyFxHcO4rZa+heOz t03gwj2uKAQD1DuOR5k1BQMwalZ1SD+DA6gGtJmBnPgooRLdGziATekoy7Gf+bq7 IX2fRcbZRjACnUJqB35bzPinbjNTO3ZJ84CfvjqVC3jpBY/kwb+oB7RJmlOlF4LR AnNGf66ggSwV2tfQMIuK0HDIa/wRkoYESXUYDCUvBZhKoG13j+Vz9pz0TMctpD7H gB8oh0GO2mAs5EcG2/3ith3r8OgE3JRb9Vf7/i82q1eGQWbJKK82UTQnQLcPh2gW wBMYsrgLCkarjei1nP/sllDCzzUr39/YxdUkZxsivgIacR9Klxu0pvqBq/p7OZV3 AhPS0NR4W2a9WGXczM3DiJac4cRxdLsORzJ43q6Jg921wejT435c90MqVcJwOhdX CX9HHxWx7CnXAglAkfkY =USBG -----END PGP SIGNATURE----- --1qH4WppRIga5a5nfFHlRIlEe8FaQIDsvX--