On Sat, Apr 08, 2006 at 07:36:25PM +0900, Junichi Uekawa <[EMAIL PROTECTED]> 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

