Bug#361362: [Pbuilder-maint] Bug#361362: pbuilder: DEB_BUILD_OPTIONS not supported (?)

Mike Hommey mh+reportbug at glandium.org
Sat Apr 8 20:07:17 UTC 2006


On Sat, Apr 08, 2006 at 07:36:25PM +0900, Junichi Uekawa <dancer at netfort.gr.jp> wrote:
> Hi,
> 
> > 
> > Strangely enough, I thought it used to work but it seems it doesn't.
> > 
> > When running pbuilder with a command line like:
> > DEB_BUILD_OPTIONS=noopt sudo pbuilder build --debbuildopts -b somepackage.dsc
> > 
> > The build doesn't occur with the DEB_BUILD_OPTIONS set. Adding a hook at
> > level A that displays environment variables reveals the
> > DEB_BUILD_OPTIONS variable is not set at all.
> 
> You might want to try out 
> 
> 	sudo /usr/bin/env
> 
> too.
> 
> Sudo has changed behavior in 1.6.8p12-2. 

Yeah, I noticed that afterwards. I should have checked there before.
Anyways, this means that now there is no way to pass DEB_BUILD_OPTIONS
to dpkg-buildpackage out-of-the-box. Maybe it would be a wishlist on
pbuilder to add such an option, or one on dpkg-buildpackage.
What do you think ?

Mike




More information about the Pbuilder-maint mailing list