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 1Qhogv-0007kG-Ma for garchives@archives.gentoo.org; Fri, 15 Jul 2011 20:08:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D835821C028; Fri, 15 Jul 2011 20:08:43 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B1E9221C028 for ; Fri, 15 Jul 2011 20:08:43 +0000 (UTC) Received: by iwn37 with SMTP id 37so1679474iwn.40 for ; Fri, 15 Jul 2011 13:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2h+ofW6f4e0V9ZdoOu0apnBqabhCgQ3RHWuQwncUf9w=; b=u223rnz35beMmhPh/6on6GbLMBMTUI0AnEtkBrNkAbBRmClO61rVjaVqeTeId3Yz6y JkTOPPkQlQLsIQlR8yUcOOduSZtxBef2IlmAOBPcuQilbNe5o7C9k0Axny5RmSqS9YaH tMCgty3jJ6sKiZSk9GoezykC52QJDvsYcTfpM= 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 Received: by 10.231.47.2 with SMTP id l2mr3429098ibf.174.1310760522990; Fri, 15 Jul 2011 13:08:42 -0700 (PDT) Sender: neurogeekster@gmail.com Received: by 10.231.43.129 with HTTP; Fri, 15 Jul 2011 13:08:42 -0700 (PDT) In-Reply-To: <20110715185431.GJ2828@comet.mayo.edu> References: <20110715153136.GB2828@comet.mayo.edu> <20110715185431.GJ2828@comet.mayo.edu> Date: Fri, 15 Jul 2011 16:08:42 -0400 X-Google-Sender-Auth: UHksiDh8j490W0Cjp3KZVd22S1g Message-ID: Subject: Re: [gentoo-soc] Auto dependency builder progress report. Week 7. From: "Jesus Rivero (Neurogeek)" To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d77a9debd2cea24725fdd386d4253011 On Fri, Jul 15, 2011 at 2:54 PM, Donnie Berkholz wro= te: > On 16:29 Fri 15 Jul =9A =9A , =E1=CC=C5=CB=D3=C1=CE=C4=D2 =E2=C5=D2=D3=C5= =CE=C5=D7 wrote: >> 2011/7/15 Donnie Berkholz : >> > For DEPEND rather than RDEPEND ones, we'll want to make sure they're >> > definitely listed in dependencies of the ebuild being used, rather >> > than any level. >> >> 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. >> >> 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 > src_test as well as src_configure/src_compile, it's RDEPEND. Clearly > this won't work when src_test isn't defined, but it's a start. > RDEPEND will be tricky to get right, but I like this approach, could work for those packages with tests. We are going to discuss an approach for this and for the filtering of @system, as we need to find a way to get rid of second-hand deps. > -- > Thanks, > Donnie > > Donnie Berkholz > Admin, Summer of Code > Gentoo Linux and X.Org > Blog: http://dberkholz.com > > --=20 Jesus Rivero (Neurogeek) Gentoo Developer