On Mon, Jun 20, 2005 at 07:23:50PM +0900, Junichi Uekawa wrote:
> > > When I pass "--debbuildopts -B" to pdebuild, dpkg-buildpackage
> > > produces the following error:
> > > 
> > >  dpkg-buildpackage: cannot combine -B and -S
> > > 
> > > pdebbuild should strip out the -B before it passes DEBBUILDOPTS to
> > > dpkg-buildpackage.
> > 
> > humph, looks a bit problematic.
> > 
> > I'm not sure if pdebuild wants DEBBUILDOPTS at all.
> > ... er, it does for the '-i' option.
> > 
> > So as you suggested, pdebuild will need to strip -B / -b options
> > from DEBBUILDOPTS.
> 
> ... and it's not quite obvious how I can do that without breaking stuff.
> 
> I'm thinking of doing 
>       's/-B //g'
> But I've got an impression that it can fail.
> 
> Thoughts?

Do you need to pass DEBBUILDOPTS to the first invocation of
dpkg-buildpackage?

-- 
Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to