Re: Build-Depends
On Fri, Feb 23, 2001 at 03:38:00PM +0100, Enrique Robledo Arnuncio wrote:
> Ben Collins wrote such a script some time ago:
>
> http://auric.debian.org/~bcollins/genbuilddeps_0.3.dsc
>
> It strace-runs dpkg-buildpackage, gets a list of used files from the
> arguments of "open" and "exec" calls, an prints out a list of the
> packages that provide those files (using /var/lib/dpkg/info/*.list
> files).
Be warned, though: my experience of strace is that it doesn't always
succeed, possibly because of vforks. I think the idea was to have a
variant of fakeroot to trace open's and exec's instead of the other
things it traces; there were all sorts of conflicts when fakeroot used
to try to do everything. The code is basically present in the
fakeroot source, it just needs a bit of work. (Any volunteers?)
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: