Bug#1040491: libhtml-mason-perl: FTBFS with Perl 5.38: t/13-errors.t failure
Niko Tyni
ntyni at debian.org
Thu Jul 6 17:34:49 BST 2023
Source: libhtml-mason-perl
Version: 1:1.59-2
Severity: important
Tags: ftbfs sid trixie fixed-upstream
Forwarded: https://github.com/houseabsolute/HTML-Mason/issues/33
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition
This package fails to build with Perl 5.38 (currently in experimental).
# Running top_level_compilation_error (#20): Make sure top-level compiler errors work in output mode
# Got ...
# -----
# Error during compilation of /<<PKGBUILDDIR>>/mason_tests/3797995/comps/errors/top_level_compilation_error:
# syntax error at /<<PKGBUILDDIR>>/mason_tests/3797995/comps/errors/top_level_compilation_error line 2, near ";"
# Execution of /<<PKGBUILDDIR>>/mason_tests/3797995/comps/errors/top_level_compilation_error aborted due to compilation errors.
#
# Stack:
# [/<<PKGBUILDDIR>>/mason_tests/3797995/comps/errors/top_level_compilation_error:2]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:817]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:445]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Request.pm:250]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Request.pm:212]
# [/usr/share/perl5/Class/Container.pm:275]
# [/usr/share/perl5/Class/Container.pm:353]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:348]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:342]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:528]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:515]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:456]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:263]
# [t/13-errors.t:12]
#
#
# Stack:
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:450]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Request.pm:250]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Request.pm:212]
# [/usr/share/perl5/Class/Container.pm:275]
# [/usr/share/perl5/Class/Container.pm:353]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:348]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Interp.pm:342]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:528]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:515]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:456]
# [/<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm:263]
# [t/13-errors.t:12]
#
# -----
# ... but expected ...
# -----
# (?^s:Error during compilation((?!Stack:).)*Stack:((?!Stack:).)*$)
# -----
# Failed test 'top_level_compilation_error'
# at /<<PKGBUILDDIR>>/blib/lib/HTML/Mason/Tests.pm line 593.
# Running component_error_handler_false (#21): Test error-handling with component_error_handler set to false
# Running component_error_Handler_no_upgrade (#22): Test that errors do not become object with component_error_handler set to false
# Running component_error_handler_false_fatal_mode (#23): Test error-handling with component_error_handler set to false and error_mode set to fatal
# Running component_error_handler_uc_message (#24): Test error-handling with component_error_handler set to a subroutine that upper-cases all text
# Running use_bad_module (#25): Use a module with an error
# Running require_bad_module_in_once (#26): Require a module with an error in a once block
# Looks like you failed 1 test of 26.
t/13-errors.t .................
[...]
Test Summary Report
-------------------
t/13-errors.t (Wstat: 256 (exited 1) Tests: 26 Failed: 1)
Failed test: 20
Non-zero exit status: 1
Files=36, Tests=543, 36 wallclock secs ( 0.13 usr 0.08 sys + 5.50 cusr 1.04 csys = 6.75 CPU)
Result: FAIL
Failed 1/36 test programs. 1/543 subtests failed.
make[1]: *** [Makefile:1017: test_dynamic] Error 255
Looks like it's fixed upstream in 1.60:
1.60 2023-02-11
- Fixed a test failure with Perl blead (5.37.x). Reported by Jim Keenan
and diagnosed by Yves Orton. GH #33.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list