[buildd-tools-devel] Bug#609628: Bug#609628: Build interacts badly with local::lib (installs Perl modules to local::lib directory)
Jonathan Yu
jawnsy at cpan.org
Sun Feb 13 02:38:12 UTC 2011
Hi Roger,
Thanks for the follow-up.
I did a dist-upgrade of my system. I'm not sure what exactly was
upgraded (incidentally a new version of liblocal-lib-perl seems to be
installed, as the environment variables are slightly different now).
Anyway, I can no longer reproduce the issue, so I take it the new
sbuild fixed things. I suppose the bug can be closed (though I don't
know what version specifically it was fixed in).
Cheers,
Jonathan
On Tue, Feb 1, 2011 at 9:02 AM, Roger Leigh <rleigh at codelibre.net> wrote:
> 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.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk1IEoUACgkQVcFcaSW/uEh2VQCfakJePFgQ5oJOgDKSGoOQcBY0
> K7gAoMvP7TqQCgsqmR5vwP3XIh0Uk09u
> =4y5E
> -----END PGP SIGNATURE-----
>
>
More information about the Buildd-tools-devel
mailing list