Bug#765049: libmojolicious-plugin-i18n-perl: FTBFS - tests return URL without hostname

Michael Tautschnig mt at debian.org
Mon Oct 13 08:27:56 UTC 2014


Package: libmojolicious-plugin-i18n-perl
Version: 1.21-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
   dh_auto_test
t/i18n.t .................... ok
t/i18n_app.t ................ ok
t/i18n_lite_app.t ........... ok
t/i18n_shortcut_lite_app.t .. ok

#   Failed test 'Location: http://localhost:38539/auth'
#   at t/i18n_url_for.t line 87.
#          got: '/auth'
#     expected: 'http://localhost:38539/auth'

#   Failed test 'Location: http://localhost:38539/ru/auth'
#   at t/i18n_url_for.t line 93.
#          got: '/ru/auth'
#     expected: 'http://localhost:38539/ru/auth'

#   Failed test 'Location: http://localhost:38539/en/auth'
#   at t/i18n_url_for.t line 99.
#          got: '/en/auth'
#     expected: 'http://localhost:38539/en/auth'

#   Failed test 'Location: http://localhost:38539/es/auth'
#   at t/i18n_url_for.t line 102.
#          got: '/es/auth'
#     expected: 'http://localhost:38539/es/auth'

#   Failed test 'Location: http://localhost:38539/ru/en/auth'
#   at t/i18n_url_for.t line 105.
#          got: '/ru/en/auth'
#     expected: 'http://localhost:38539/ru/en/auth'

#   Failed test 'Location: http://localhost:38539/english/auth'
#   at t/i18n_url_for.t line 108.
#          got: '/english/auth'
#     expected: 'http://localhost:38539/english/auth'
# Looks like you failed 6 tests of 44.
t/i18n_url_for.t ............ 
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/44 subtests 

Test Summary Report
-------------------
t/i18n_url_for.t          (Wstat: 1536 Tests: 44 Failed: 6)
  Failed tests:  23, 29, 35, 38, 41, 44
  Non-zero exit status: 6
Files=5, Tests=123,  4 wallclock secs ( 0.09 usr  0.02 sys +  3.40 cusr  0.36 csys =  3.87 CPU)
Result: FAIL
Failed 1/5 test programs. 6/123 subtests failed.
dh_auto_test: perl Build test returned exit code 6
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 6


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmojolicious-plugin-i18n-perl-build-log.txt.gz
Type: application/x-gunzip
Size: 4660 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141013/781f5e0f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141013/781f5e0f/attachment.sig>


More information about the pkg-perl-maintainers mailing list