From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QhnX8-0006A6-PK for garchives@archives.gentoo.org; Fri, 15 Jul 2011 18:54:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A447221C086; Fri, 15 Jul 2011 18:54:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6B18A21C086 for ; Fri, 15 Jul 2011 18:54:33 +0000 (UTC) Received: from localhost (mayo-nat4.mayo.edu [129.176.197.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dberkholz) by smtp.gentoo.org (Postfix) with ESMTPSA id D5BE22AC151 for ; Fri, 15 Jul 2011 18:54:32 +0000 (UTC) Date: Fri, 15 Jul 2011 13:54:31 -0500 From: Donnie Berkholz To: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] Auto dependency builder progress report. Week 7. Message-ID: <20110715185431.GJ2828@comet.mayo.edu> References: <20110715153136.GB2828@comet.mayo.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dwWFXG4JqVa0wfCP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 82052103aa5a45b43d526cfd0062a875 --dwWFXG4JqVa0wfCP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16:29 Fri 15 Jul , =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4= =D1=80 =D0=91=D0=B5=D1=80=D1=81=D0=B5=D0=BD=D0=B5=D0=B2 wrote: > 2011/7/15 Donnie Berkholz : > > For DEPEND rather than RDEPEND ones, we'll want to make sure they're=20 > > definitely listed in dependencies of the ebuild being used, rather=20 > > than any level. >=20 > The main drawback of hooklib approach is an inability to track what > files have been loaded while exec call(runtime libraries). Most > RDEPENDS are naturally filtered here. Fusefs approach logs all file > system events. >=20 > This is a difficult problem to distinguish RDEPENDS from DEPENDS. If I > look on files accessed I can say if the dependency is runtime, but I > haven't general strategy. I should watch more building logs of various > packages to find a way. You might be able to use src_test for this. If a package is accessed in=20 src_test as well as src_configure/src_compile, it's RDEPEND. Clearly=20 this won't work when src_test isn't defined, but it's a start. --=20 Thanks, Donnie Donnie Berkholz Admin, Summer of Code Gentoo Linux and X.Org Blog: http://dberkholz.com --dwWFXG4JqVa0wfCP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk4gjOYACgkQXVaO67S1rtsn+QCfaBwKGnMl8CDKYe9vFt33NhFd ML0AoLDjcgWpCWPC6UH8PLRnMaxwPPcn =2SPd -----END PGP SIGNATURE----- --dwWFXG4JqVa0wfCP--