From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 03:36:56 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 238CD16A41F for ; Sun, 17 Jun 2007 03:36:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id AE50713C44C for ; Sun, 17 Jun 2007 03:36:55 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1HzlZN-000Faf-3m for freebsd-ports@freebsd.org; Sun, 17 Jun 2007 06:36:54 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5H3afGV018083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Jun 2007 06:36:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5H3af6A010607; Sun, 17 Jun 2007 06:36:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l5H3aeXv010595; Sun, 17 Jun 2007 06:36:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 17 Jun 2007 06:36:39 +0300 From: Kostik Belousov To: Peter Jeremy Message-ID: <20070617033639.GO2268@deviant.kiev.zoral.com.ua> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z3lzBUW4AuN+dmih" Content-Disposition: inline In-Reply-To: <20070617011612.GW1173@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 565941832c2f675ae953af64aa3a5396 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1148 [June 14 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Nikola Lecic , Jeremie Le Hen , freebsd-ports@freebsd.org, Stephen Hurd Subject: Re: Keeping track of automatically installed dependency-only ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 03:36:56 -0000 --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 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--