[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I made a script for auto. creating build-depends

On Wed, 26 Jul 2000, Christian Hammers wrote:

> Hello

Hi Christian,

> 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 (>=
> 	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.

I tried:
$ strace -f -F -e trace=file -o /tmp/trace dpkg-buildpackage -rfakeroot

and then
$ ../strace2builddepends.pl /tmp/trace 

That means I didn't get any Build-Depends! Where's my mistake?

> Hope to hear from you,
>  -christian-


A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
                -- Mahatma Ghandi

Reply to: