Bug#547472: DEBBUILDOPTS variable nuked by /usr/share/pbuilder/pbuilderrc

Loïc Minier lool at dooz.org
Mon Sep 21 13:57:59 UTC 2009


On Sun, Sep 20, 2009, Robert Collins wrote:
> /usr/share/pbuilder/pbuilderrc contains (on line 51)
> DEBBUILDOPTS=""
> 
> the result of this is that exporting DEBBUILDOPTS has no effect.
> 
> This is similar to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501390
> 
> I suggest that pbuilderrc should either not set DEBBUILDOPTS at all, or
> set it as an append:
> DEBBUILDOPTS="$DEBBUILDOPTS"
> 
> Users that need to reset the opts over the default one can do so in
> /etc/pbuilderrc or ~/.pbuilderrc

 Well that's the case for a bunch of pbuilderrc configs.  For this
 particular config, it would be possible not to set it in the default
 pbuilderrc but inherit it from the env instead, but I think the
 behaviour should be consistent for all pbuilder config vars.

 (BTW perhaps you meant DEB_BUILD_OPTIONS?  that one goes through)

-- 
Loïc Minier





More information about the Pbuilder-maint mailing list