Creating a patch

Michael S. Fischer michael@dynamine.net
Wed, 1 Aug 2001 15:32:16 -0700


On Wed, Aug 01, 2001 at 04:34:42PM -0400, Matt Zimmerman wrote:

> On Wed, Aug 01, 2001 at 12:07:15AM -0700, Michael S. Fischer wrote:
> 
> > I'm about ready to upload my patch to go with my bug submission for the
> > 'host' package; part of the patch would be an additional entry to the
> > Build-Depends: line of debian/control.  However, I'm having difficulty
> > testing my change to control: dpkg-buildpackage -D seems to build the package
> > whether I put the real dependent package entry (in this case bind-dev (>=
> > 8.2.4-1)) in there or I put a bogus entry in there (bind-dev (>= 8.2.4-2)).
> 
> Note that -D is the default in recent dpkg-dev.  Did you try running
> dpkg-checkbuilddeps by hand?

Not at the time, but I tried it just now and it seems to have passed:

[michael@phoenix]:~/src/host-20000331 $ dpkg-checkbuilddeps 
[michael@phoenix]:~/src/host-20000331 $ echo $?
0

The Build-Depends: line looks like:

Build-Depends: debhelper, bind-dev (>= 8.2.4-2)

(This is the bogus entry which should cause a failure.)

[michael@phoenix]:~/src/host-20000331 $ dpkg -l bind-dev
||/ Name           Version        Description
+++-==============-==============-============================================
ii  bind-dev       8.2.4-1        Libraries used by BIND

Any ideas?

-- 
Michael S. Fischer / michael at dynamine.net / +1 650-533-4684
Lead Hacketeer, Dynamine Consulting, Silicon Valley, CA