Bug#746138: perlbrew: FTBFS: Tests failures

Alessandro Ghedini ghedo at debian.org
Sun Apr 27 14:28:48 UTC 2014


Control: tags -1 confirmed fixed-upstream pending

On dom, apr 27, 2014 at 02:49:41 +0200, David Suárez wrote:
> Source: perlbrew
> Version: 0.66-1
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20140426 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
> >
> > t/installation-perlbrew.t .............. ok
> > t/installation.t ....................... ok
> > t/installation2.t ...................... ok
> > t/installation3.t ...................... ok
> > t/unit-files-are-the-same.t ............ ok
> > 
> > Test Summary Report
> > -------------------
> > t/command-env.t                      (Wstat: 256 Tests: 2 Failed: 1)
> >   Failed test:  2
> >   Non-zero exit status: 1
> > Files=44, Tests=384, 16 wallclock secs ( 0.23 usr  0.24 sys +  9.69 cusr  6.14 csys = 16.30 CPU)
> > Result: FAIL
> > Failed 1/44 test programs. 1/384 subtests failed.
> > make[1]: *** [test_dynamic] Error 255
> > dh_auto_test: make -j1 test returned exit code 2

Here's a more useful snippet:

> #   Failed test 'env command, when invoked with a perl installation name with lib name, displays local::lib-related environment variables that should be set to use the given perl.'
> #   at t/command-env.t line 56.
> # STDOUT is:
> # export PERL5LIB="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/lib/perl5"
> # export PERLBREW_LIB="nobita"
> # export PERLBREW_MANPATH="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/man:/tmp/lU3XUGRbbf/perls/perl-5.14.1/man"
> # export PERLBREW_PATH="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/bin:/tmp/lU3XUGRbbf/bin:/tmp/lU3XUGRbbf/perls/perl-5.14.1/bin"
> # export PERLBREW_PERL="perl-5.14.1"
> # export PERLBREW_ROOT="/tmp/lU3XUGRbbf"
> # export PERLBREW_VERSION="0.66"
> # export PERL_LOCAL_LIB_ROOT="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"
> # export PERL_MB_OPT="--install_base "/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita""
> # export PERL_MM_OPT="INSTALL_BASE=/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"
> # 
> # not:
> # export PERL5LIB="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/lib/perl5"
> # export PERLBREW_LIB="nobita"
> # export PERLBREW_MANPATH="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/man:/tmp/lU3XUGRbbf/perls/perl-5.14.1/man"
> # export PERLBREW_PATH="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita/bin:/tmp/lU3XUGRbbf/bin:/tmp/lU3XUGRbbf/perls/perl-5.14.1/bin"
> # export PERLBREW_PERL="perl-5.14.1"
> # export PERLBREW_ROOT="/tmp/lU3XUGRbbf"
> # export PERLBREW_VERSION="0.66"
> # export PERL_LOCAL_LIB_ROOT="/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"
> # export PERL_MB_OPT="--install_base /tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"
> # export PERL_MM_OPT="INSTALL_BASE=/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"
> # 
> # as expected
> # Looks like you failed 1 test of 2.
> t/command-env.t ........................ 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/2 subtests 

The offending line seems to be the PERM_MB_OPT one.

Expected:

> # export PERL_MB_OPT="--install_base /tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita"

Got:

> # export PERL_MB_OPT="--install_base "/tmp/sGeSG_zRYR/libs/perl-5.14.1 at nobita""

This seems to be fixed in the UNRELEASED version currently sitting in git, so
I'm going to uplaod it.

Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140427/9b10bfdd/attachment.sig>


More information about the pkg-perl-maintainers mailing list