Bug#759960: libcatalyst-engine-psgi-perl: FTBFS: dh_auto_test: make -j1 test returned exit code 2

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 21:40:55 UTC 2014


Source: libcatalyst-engine-psgi-perl
Version: 0.13+dfsg-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 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):
> make[1]: Entering directory '/«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> Possible precedence issue with control flow operator at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/Builder.pm line 917.
> t/00_compile.t ... ok
> Possible precedence issue with control flow operator at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/Builder.pm line 917.
> [debug] Debug messages enabled
> [debug] Statistics enabled
> Term::Size::Any is not installed, can't autodetect terminal column width
> Trouble trying to detect your terminal size, looking at $ENV{COLUMNS}
> Cannot determine desired terminal width, using default of 80 columns
> [debug] Loaded PSGI Middleware:
> .----------------------------------------------------------------------------.
> | Catalyst::Middleware::Stash                                                |
> | Plack::Middleware::HTTPExceptions                                          |
> | Plack::Middleware::RemoveRedundantBody  0.04                               |
> | Plack::Middleware::FixMissingBodyInRedirect  0.10                          |
> | Plack::Middleware::ContentLength                                           |
> | Plack::Middleware::MethodOverride  0.10                                    |
> | Plack::Middleware::Head                                                    |
> '----------------------------------------------------------------------------'
> 
> [debug] Loaded Request Data Handlers:
> .----------------------------------------------------------------------------.
> | application/x-www-form-urlencoded                                          |
> | application/json                                                           |
> '----------------------------------------------------------------------------'
> 
> [debug] Loaded dispatcher "Catalyst::Dispatcher"
> [debug] Loaded engine "Catalyst::Engine"
> [debug] Found home "/«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/t/Hello"
> [debug] Loaded components:
> .-----------------------------------------------------------------+----------.
> | Class                                                           | Type     |
> +-----------------------------------------------------------------+----------+
> | Hello::Controller::Metalic                                      | instance |
> | Hello::Controller::Root                                         | instance |
> '-----------------------------------------------------------------+----------'
> 
> [debug] Loaded Private actions:
> .----------------------+--------------------------------------+--------------.
> | Private              | Class                                | Method       |
> +----------------------+--------------------------------------+--------------+
> | /welcome             | Hello::Controller::Root              | welcome      |
> | /default             | Hello::Controller::Root              | default      |
> | /headers             | Hello::Controller::Root              | headers      |
> | /index               | Hello::Controller::Root              | index        |
> | /end                 | Hello::Controller::Root              | end          |
> '----------------------+--------------------------------------+--------------'
> 
> [debug] Loaded Path actions:
> .-------------------------------------+--------------------------------------.
> | Path                                | Private                              |
> +-------------------------------------+--------------------------------------+
> | /                                   | /index                               |
> | /...                                | /default                             |
> | /headers/...                        | /headers                             |
> | /welcome/...                        | /welcome                             |
> '-------------------------------------+--------------------------------------'
> 
> [info] Hello powered by Catalyst 5.90071
> You are running Catalyst::Engine::PSGI, which is considered a legacy engine for
> this version of Catalyst.  We will continue running and use your existing psgi
> file, but it is recommended to perform the trivial upgrade process, which will
> leave you with less code and a forward path.
> 
> Please review Catalyst::Upgrading
> Subroutine Catalyst::Request::env redefined at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 13.
> env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/share/perl5/Catalyst/Engine.pm line 31.
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.002555s (391.389/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Welcome)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.00058s (1724.138/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Hello foo)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.000573s (1745.201/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Hello bar)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.000581s (1721.170/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 376.
> #          got: 'Bad request'
> #     expected: 'blah'
> Use of uninitialized value $this in pattern match (m//) at t/hello.t line 32.
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   undef
> #     doesn't match '(?^:^bar\s+baz$)'
> # Looks like you failed 5 tests of 7.
> t/hello.t ........ 
> Dubious, test returned 5 (wstat 1280, 0x500)
> Failed 5/7 subtests 
> Possible precedence issue with control flow operator at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/Builder.pm line 917.
> [debug] Debug messages enabled
> [debug] Statistics enabled
> Term::Size::Any is not installed, can't autodetect terminal column width
> Trouble trying to detect your terminal size, looking at $ENV{COLUMNS}
> Cannot determine desired terminal width, using default of 80 columns
> [debug] Loaded PSGI Middleware:
> .----------------------------------------------------------------------------.
> | Catalyst::Middleware::Stash                                                |
> | Plack::Middleware::HTTPExceptions                                          |
> | Plack::Middleware::RemoveRedundantBody  0.04                               |
> | Plack::Middleware::FixMissingBodyInRedirect  0.10                          |
> | Plack::Middleware::ContentLength                                           |
> | Plack::Middleware::MethodOverride  0.10                                    |
> | Plack::Middleware::Head                                                    |
> '----------------------------------------------------------------------------'
> 
> [debug] Loaded Request Data Handlers:
> .----------------------------------------------------------------------------.
> | application/json                                                           |
> | application/x-www-form-urlencoded                                          |
> '----------------------------------------------------------------------------'
> 
> [debug] Loaded dispatcher "Catalyst::Dispatcher"
> [debug] Loaded engine "Catalyst::Engine"
> [debug] Found home "/«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/t/Hello"
> [debug] Loaded components:
> .-----------------------------------------------------------------+----------.
> | Class                                                           | Type     |
> +-----------------------------------------------------------------+----------+
> | Hello::Controller::Metalic                                      | instance |
> | Hello::Controller::Root                                         | instance |
> '-----------------------------------------------------------------+----------'
> 
> [debug] Loaded Private actions:
> .----------------------+--------------------------------------+--------------.
> | Private              | Class                                | Method       |
> +----------------------+--------------------------------------+--------------+
> | /end                 | Hello::Controller::Root              | end          |
> | /welcome             | Hello::Controller::Root              | welcome      |
> | /index               | Hello::Controller::Root              | index        |
> | /headers             | Hello::Controller::Root              | headers      |
> | /default             | Hello::Controller::Root              | default      |
> '----------------------+--------------------------------------+--------------'
> 
> [debug] Loaded Path actions:
> .-------------------------------------+--------------------------------------.
> | Path                                | Private                              |
> +-------------------------------------+--------------------------------------+
> | /                                   | /index                               |
> | /...                                | /default                             |
> | /headers/...                        | /headers                             |
> | /welcome/...                        | /welcome                             |
> '-------------------------------------+--------------------------------------'
> 
> [info] Hello powered by Catalyst 5.90071
> You are running Catalyst::Engine::PSGI, which is considered a legacy engine for
> this version of Catalyst.  We will continue running and use your existing psgi
> file, but it is recommended to perform the trivial upgrade process, which will
> leave you with less code and a forward path.
> 
> Please review Catalyst::Upgrading
> Subroutine Catalyst::Request::env redefined at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 13.
> env as a writer is deprecated, you probably need to upgrade Catalyst::Engine::PSGI at /usr/share/perl5/Catalyst/Engine.pm line 31.
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.002443s (409.333/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Welcome)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.000571s (1751.313/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Hello foo)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.000566s (1766.784/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Hello bar)'
> Use of uninitialized value in string eq at /usr/share/perl5/Catalyst/Request.pm line 339.
> [debug] Response Code: 400; Content-Type: text/plain; Content-Length: unknown
> [info] Request took 0.000557s (1795.332/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> '------------------------------------------------------------+-----------'
> 
> [error] Caught exception in engine "Can't use an undefined value as a HASH reference at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/blib/lib/Catalyst/Engine/PSGI.pm line 113."
> 
> #   Failed test at /«BUILDDIR»/libcatalyst-engine-psgi-perl-0.13+dfsg/inc/Test/More.pm line 420.
> #                   'Bad request'
> #     doesn't match '(?^:Hello bar2)'
> # Looks like you failed 4 tests of 6.
> t/hello_mount.t .. 
> Failed 2/3 test programs. 9/14 subtests failed.
> make[1]: *** [test_dynamic] Error 4
> dh_auto_test: make -j1 test returned exit code 2

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/libcatalyst-engine-psgi-perl_0.13+dfsg-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the pkg-perl-maintainers mailing list