On Sun, Jan 30, 2011 at 10:18:13AM -0500, Jonathan Yu wrote: > I ran into this issue again, so I had it dump out `env' during build > (by adding it to debian/rules). > > Notice these variables (put in by local:;lib -- if these are sanitized > by sbuild, this bug should go away. Perhaps Env::Sanctify can be used > for this purpose?) > > MODULEBUILDRC=/home/jon/.perl5/.modulebuildrc > PERL_MM_OPT=INSTALL_BASE=/home/jon/.perl5 > PERL5LIB=/home/jon/.perl5/lib/perl5/i486-linux-gnu-thread-multi:/home/jon/.perl5/lib/perl5 > > I might be in a position to provide a patch at some point...
This is the current environment filter regex (lib/Sbuild/Conf.pm):
'ENVIRONMENT_FILTER' => {
DEFAULT => ['^DEB(IAN|SIGN)?_[A-Z_]+$',
'^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$']
},
This is from current git, though a similar regex is in the
unstable version. Are you using the version from unstable or git?
If not, could you try it using the above regex?
Note you can set '$environment_filter = ['^DEB(IAN|SIGN)?_[A-Z_]+$',
'^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$'];'
in your .sbuildrc.
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature

