public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris Houser <chouser@gentoo.org>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] A wishlist
Date: Mon Oct 15 06:46:02 2001	[thread overview]
Message-ID: <20011015084523.A56911@plato.zk3.dec.com> (raw)
In-Reply-To: <200110142248.AAA25222@mailgw3.netvision.net.il>

Dan Armak wrote:                      [Sun Oct 14 2001,  6:47:59PM EDT]         
> Another item: an automated dependency checker.
> 
> It would build a file->package database from /var/db/pkg and update it 
> whenever a request for a non-registered file is made.

This is done, although not well documented:
    gentoo-src/portage/bin/pdb

> It would run ldd on all dynamic exes in CONTENTS of a requested package, find 
> which packages the linked libraries were from and list the packages.

This isn't hard -- I wrote a little perl script to do this, but lost it
in my reiserfs fiasco.  I will try to write it again -- maybe in python
this time.

> With an interface to portage.py, it could caculate the DEPEND of the ebuild 
> and list missed deps.

It could assist it calculating the DEPEND, but there's no good way for
it to figure out version numbers, I think.  It could list missing deps,
and the ebuild author would have to make judgement calls about which
version to require.

> Also, maybe this Subterfuge can make a list of programs called by the ebuild 
> during emerge (make, gcc, ld, perl, whatever) and look those up too.

Hm! Interesting idea.  We've been discussing having emerge do everything
accept the merge itself as a non-root user to prevent 'make install'
accidents.  But if subterfuge could help with this step, perhaps it
would be a better solution.

--Chouser



  parent reply	other threads:[~2001-10-15 12:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 10:42 [gentoo-dev] A wishlist Karl Trygve Kalleberg
2001-10-14 11:40 ` Martin Schlemmer
2001-10-16  5:12   ` Mikael Hallendal
2001-10-16  5:40     ` Joshua Pierre
2001-10-20 11:22     ` [gentoo-dev] rc6 "bash:mc" Mark King
2001-10-20 11:24       ` Daniel Robbins
2001-10-20 13:06         ` Mark King
2001-10-14 16:08 ` [gentoo-dev] A wishlist Dan Armak
2001-10-14 16:49 ` Dan Armak
2001-10-14 22:12   ` Joshua Pierre
2001-10-15  6:46   ` Chris Houser [this message]
2001-10-15  7:17 ` Joshua Pierre
2001-10-16  5:05   ` Mikael Hallendal
2001-10-16  5:29     ` Joshua Pierre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011015084523.A56911@plato.zk3.dec.com \
    --to=chouser@gentoo.org \
    --cc=gentoo-dev@cvs.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox