[buildd-tools-devel] Bug#609628: Bug#609628: Build interacts badly with local::lib (installs Perl modules to local::lib directory)
Roger Leigh
rleigh at codelibre.net
Tue Feb 1 14:02:45 UTC 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110201/8676fdb5/attachment.pgp>
More information about the Buildd-tools-devel
mailing list