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

Re: Bug#67896: Support patch for dh_builddeps


[forwarded to debian-mentors as the main discussion was there]

On Sat, 29.07.00 19:20 +0200, Wichert Akkerman 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".
> Sorry, won't work for multiple reasons:
> 1. strace can't handle more then 256 subprocesses, a limit you can (and
> will) reach when building packages.
really? I'll check it.

> 2. strace'ing an application can influence it: timings can change,
> things can fail subtle due to bugs in the kernel or strace, etc.
What subtle timings can change the *build* process of a package? 

> 3. current strace doesn't support following vfork and clone (except on
> ia64), so you can still have incomplete build dependencies.
That's what the vfork wrapper is good for - fork and vfork are the same
on Linux x86 (I can't prove it, see mailing list dpkg-mentors).

And remember that this is only a "suggestive" tool like dpkg-shlibdeps,
if your package is so strange that it really does not work you can omit it
and you can *always* add own dependencies - just like with dpkg-shlibdeps.

> Wichert.


  Did You know that MicroSoft was named after Bill Gates' penis ?
Linux - the choice of the GNU generation.           Join the Debian Project 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17

Reply to: