From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FDBch-0001Lv-Eb for garchives@archives.gentoo.org; Sun, 26 Feb 2006 02:26:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1Q2QegE029906; Sun, 26 Feb 2006 02:26:40 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1Q2QddF023506 for ; Sun, 26 Feb 2006 02:26:39 GMT Received: from smarthost179.mail.easynet.fr ([212.180.1.179] helo=smtp4.mail.easynet.fr) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FDBcN-0007XJ-1w for gentoo-qa@lists.gentoo.org; Sun, 26 Feb 2006 02:26:39 +0000 Received: from easyconnect2121138-64.clients.easynet.fr ([212.11.38.64] helo=eusebe) by smtp4.mail.easynet.fr with esmtp (Exim 4.50) id 1FDBd2-0005Qt-Mp for gentoo-qa@gentoo.org; Sun, 26 Feb 2006 03:27:20 +0100 Date: Sun, 26 Feb 2006 03:27:46 +0100 From: Thomas de Grenier de Latour To: gentoo-qa@lists.gentoo.org Subject: [gentoo-qa] Tracking suspect optionnal DEPENDs Message-ID: <20060226032746.3ddf9bef@eusebe> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-qa@gentoo.org Reply-to: gentoo-qa@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 00322b70-70f3-4153-b57d-9c476367389a X-Archives-Hash: bf038322f04966e8adf9ce2bb8f62e6c Hi, [ Sorry if this has already been discussed, or if i'm at the wrong place, or whatever. I'm new to this list, and it's not archived at the usual places, so i don't know much about it. ] When a USE flag is used in DEPEND, as in "foo? ( bar/foo )", but is not dynamicaly used by the build process (no "use_enable foo" or alike), it generaly means that: - either bar/foo is a convenience runtime dep, which for some reasons has slid from RDEPEND to DEPEND, - or bar/foo is an optionnal buildtime dependency and the ebuilds relies on automagic detection. Sure, there are some other cases (probably including some legitimate ones), but this two ones seems to be by far the most usual, and are both bad QA (the latter being a major annoyance imho). I've written a script which tries to grep the tree for ebuilds which do such suspect usage of USE flags in their DEPEND strings, and I've thought you might be interested: http://tdegreni.free.fr/gentoo/check_DEPEND_flags_usage/ Detailed results are here: http://tdegreni.free.fr/gentoo/check_DEPEND_flags_usage/full-log.txt Don't expect them to be accurate (the script is just a quick hack, it will do both false positives and negatives, and anyway the check for USE flag usage is undecidable), but from what i've seen so far the ebuilds it points to are worth a closer look. The problem is that it's 1118 ebuilds (for 471 packages), which is a lot, so i'm not sure what i should do from here. I can take care of checking the ones i already have installed (73 ebuilds) in the next days, and reporting fixes for those which have obvious mistakes, but that's it (and i certainly don't want to spam devs with some "my script said your ebuild is suspect" reports). Comments/ideas? -- TGL. -- gentoo-qa@gentoo.org mailing list