From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K7j0l-0002ZE-Vz for garchives@archives.gentoo.org; Sun, 15 Jun 2008 03:34:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20A8AE06E8; Sun, 15 Jun 2008 03:34:35 +0000 (UTC) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by pigeon.gentoo.org (Postfix) with ESMTP id E5AEEE06E8 for ; Sun, 15 Jun 2008 03:34:34 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 23so4897866wfg.10 for ; Sat, 14 Jun 2008 20:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=9JCCpNYaDsM2tYx5dGGa/0MrRg0+dn7FucxHxrEN/HI=; b=GYcTZthMMEa3OE+jVz4yoiX+Q37+ykmYoRr9ZZpKdg7FrkpWVoV7xtw193KOz3z53t jvBIUryfYWFxzThG4coi7Hq8pKAziILF043kTqtg4+8lyZfFzISuXVuZKxOg93sqIYFP XunlP+ATte4n+szxAmKEZv7WWWetYi1yVJc/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=UNDEt3g5JP/L0IVLuNyDzmmr3ZX1uvpzDwvXgxHagDiv1OWo8qiJrMngTGxZ24+YP1 hEK0EnWPBbR0Q1RJhPjqgPu8n02gxFsGHxTF70hI7dHWFiYTVjQnK/z2oETQDw9flQOe Nzlc0bKTEtc3Lb5TBN4Sv1RZTZXkWTMwL6Qjk= Received: by 10.143.4.11 with SMTP id g11mr1794392wfi.52.1213500874479; Sat, 14 Jun 2008 20:34:34 -0700 (PDT) Received: by 10.142.179.7 with HTTP; Sat, 14 Jun 2008 20:34:34 -0700 (PDT) Message-ID: Date: Sat, 14 Jun 2008 22:34:34 -0500 From: "Lucian Poston" Sender: lucian.poston@gmail.com To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] Progress Report - Revdep-rebuild 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4e787eaa80f8ae32 X-Archives-Salt: dfbd6eb5-75e2-4b78-9a21-751eaf7dbc92 X-Archives-Hash: 83d7aec68e0f8c677d2f20c4763f0188 It's been a slow start due to the time it has taken me to understand the dynamic linker and the various python modules in portage. Initially, I intended to understand the current revdep-rebuild implementation, but trying to follow that monstrosity of a bash script only caused my eyes to glaze over. :) So instead, I decided to go another route and write an implementation of my own and deal with any problems as they arise, rather than initially basing my implementation off of the bash script. I put the new RevdepSet module in a separate file. Should I instead include this in one of the existing files? I couldn't find a clear description of the purpose of the set classes within each file, so I simply placed it in a new one. Also, did anyone have a more succinct, descriptive name suggestion for the set already in mind? Currently the class is nothing more than a skeleton of a package set class, which I've been using to test the various dbapi interfaces. It does not build a set of useful atoms yet. My plan over the next few days is to build a list of "needed" libraries (either through dbapi or my own implementation similar to linkmap), a list of installed libraries (I'm still unsure of the best way to build this list. Simply searching through lib directories perhaps?), and comparing the two lists to find which are missing. The packages are already associated with the libraries in var/db/pkg, so that shouldn't be a problem. I'll see how that works and go from there. Are there any future plans to integrate the concept of recompiling necessary binaries against newly updated libraries when upgrading through emerge? Or is it more likely to stay as is with preserved-lib functionality? I was just wondering about the futility of this whole project in the future. :) Should emerge revdep-rebuild rebuild the packages that are compiled against preserved libraries? I assume no, since that functionality is already present with preserved-libs, but I wanted to be sure. Thanks, Lucian -- gentoo-soc@lists.gentoo.org mailing list