Re: I made a script for auto. creating build-depends
Hi,
At Wed, 26 Jul 2000 01:17:41 +0200,
Christian Hammers <ch@westend.com> wrote:
> After the recent questions how to automatically create a list
> of packages that belong to the build dependencies line I've wrote
> a perl script, that reads the file generated by
> # strace -f -F -e trace=file -o /tmp/trace debuild
> and produces a list like:
> binutils (>= 2.9.5.0.22-4)
> cpp (>= 1:2.95.2-6)
> debhelper (>= 2.0.82)
> dpkg-dev (>= 1.6.9)
> file (>= 3.28-1)
> gcc (>= 1:2.95.2-6)
> It takes essential packages and the build-essentials list into account.
As Ben Collins already pointed out, strace can't follow child process's
access.
BTW, "auto-apt debuild", which is in auto-apt package in woody, will
produce better estimation of build dependencies. It's not too difficult
to get perfect build dependencies. For instance, since auto-apt uses
LD_PRELOAD tricks, it can't follow setuid executable, but it's rare
case, I think. It didn't take essential packages and package versions
into account, but I'll fix it in the future.
Regards,
Fumitoshi UKAI
Reply to: