Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 06:36:39 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        Nikola Lecic <nlecic@EUnet.yu>, Jeremie Le Hen <jeremie@le-hen.org>, freebsd-ports@freebsd.org, Stephen Hurd <shurd@sasktel.net>
Subject:   Re: Keeping track of automatically installed dependency-only ports
Message-ID:  <20070617033639.GO2268@deviant.kiev.zoral.com.ua>
In-Reply-To: <20070617011612.GW1173@turion.vk2pj.dyndns.org>
References:  <20070614070602.GD39533@obiwan.tataz.chchile.org> <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu> <20070614075418.GA8093@obiwan.tataz.chchile.org> <200706142322.l5ENMbZt009741@smtpclu-6.eunet.yu> <20070615121125.GH1173@turion.vk2pj.dyndns.org> <4673B353.5040006@sasktel.net> <20070616114154.GA56829@obiwan.tataz.chchile.org> <20070617011612.GW1173@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--z3lzBUW4AuN+dmih
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 17, 2007 at 11:16:12AM +1000, Peter Jeremy wrote:
> On 2007-Jun-16 13:41:54 +0200, Jeremie Le Hen <jeremie@le-hen.org> wrote:
> >On Sat, Jun 16, 2007 at 02:54:27AM -0700, Stephen Hurd wrote:
> >>  All of this rather assumes that *everything* is installed from ports.=
=20
> >>  1) install portXXX which requires SDL, so SDL gets sucked in
> >>  2) build thingYYY (which uses configure and only uses SDL if it's alr=
eady=20
> >>  installed - common) manually and install it
> >
> >If thingYYY detects SDL and uses it at configure stage, it should be
> >recorded in the dependency list.
>=20
> Agreed, but this situation is not easy to detect with the automated
> ports checks that are in place.
>=20
> >  I suppose this is up to the
> >maintainer to deal with this
>=20
> Yes - but since it requires the maintainer to manually determine what
> features are automatically detected and enabled, it is something that
> is error-prone - the maintainer could easily accidently overlook it.
>=20
> >exists or not, nothing would prevent the user from deinstalling SDL
> >and break thingYYY otherwise.
>=20
> Unfortunately, I can't think of any way to automatically detect this
> situation.  This means that we are basically limited to waiting for
> people to trip over instances of the problem and report it.
RPM-based Linux distros do this automatically for long time. They look
into the list of shared libraries required by the package binaries and
record them as dependencies.

--z3lzBUW4AuN+dmih
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGdKxHC3+MBN1Mb4gRAnY4AKDbww7jzUVlxkQWziWWOTeaIC+WLQCgw+nk
wY98ARzq9s6kD5L2GZhHrYU=
=pDpG
-----END PGP SIGNATURE-----

--z3lzBUW4AuN+dmih--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070617033639.GO2268>