Date: Thu, 3 Jun 2010 22:37:28 +1000 From: Peter Jeremy <peter@vk2pj.dyndns.org> To: ports-list freebsd <freebsd-ports@freebsd.org> Subject: Re: Direct or indirect libdependencies (using the libintl.so.8 case) Message-ID: <20100603123728.GA1605@server.vk2pj.dyndns.org> In-Reply-To: <4C04CAAA.7080001@janh.de> References: <4C04CAAA.7080001@janh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Jun-01 10:54:02 +0200, Jan Henrik Sylvester <me@janh.de> wrote: >Yesterday, I was chasing libintl.so.8, rebuilding all ports that got=20 >bumped, checking with libchk for other libintl.so.8 dependencies, and=20 >forcing a rebuild of all these packages: All but two of them had an=20 >indirect dependency on devel/gettext (and I did email the maintainers of= =20 >devel/ccrtp and textproc/gsed linking without a dependency). This might be unrealistic but, IMHO, these "indirect dependencies" should not exist. IMHO, there should only be two situations: 1) Port X directly links against or dlopen's libY.so from port Y. In this case, port Y should be listed in LIB_DEPENDS or equivalent for port X and port X will need a portrevision bump and rebuild if the port Y ABI changes (eg a .so version bump) 2) Port X directly links against or dlopen's libZ.so and libZ.so pulls in libY.so from port Y. In this case, port X should not be directly accessing any symbols in libY.so. If the libY.so ABI changes, libZ.so will need to be rebuilt but unless the libZ.so ABI changes, there should be no need to rebuild port X. Are there any other situations that have to be considered? --=20 Peter Jeremy --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwHoggACgkQ/opHv/APuIdUNwCdHbzO/dXKh5OyysQDDWZDEvpc KEYAoLgfpEs0awVKIqvd8YO/Z4eZ4mE/ =I4TF -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100603123728.GA1605>