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

Re: Bug#67896: Support patch for dh_builddeps

On Sun, Jul 30, 2000 at 11:35:09AM +0200, Christian Hammers wrote:
> > Previously Christian Hammers wrote:
> > > Attached you find a patch against dpkg-buildpackage which creates a
> > > debian/strace.debhelper file when running "debian/rules build".

There was a suggestion to write a wrapper library similar to fakeroot
which will wrap the exec* and open functions (I think that was it) and
log the files exec'd/opened to a log file.  joost probably never had
the time to do it, although he said that it was very important that it
was independent of fakeroot; he's tried having them both in the same
wrapper, and it hasn't worked.

This is probably the best way to go: emulate/modify the fakeroot code
to get openlog (or whatever you want to call it).

Also remember one other thing: just because the build uses a file from
a given package doesn't mean that the package should be listed in the
build dependencies: where binary package X is required for the build
and X depends on binary package Y, you don't want to list package Y in
the build dependencies unless you independently require Y.  So the
list of packages generated will require hand modification anyway.
(Also, there may be a need for version number listing.)  All that this
buys you is the list of packages which were used (which is,
admittedly, very useful).



  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

Reply to: