Source: pgformatter
Version: 5.6-1
Severity: important
Tags: ftbfs forky sid upstream fixed-upstream
Forwarded: https://github.com/darold/pgFormatter/pull/366
User: debian-perl@lists.debian.org
Usertags: perl-5.42-transition
This package fails to build with Perl 5.42 (currently in experimental.)
https://perl.debian.net/rebuild-logs/perl-5.42-throwaway/pgformatter_5.6-1/pgformatter_5.6-1_amd64-2025-08-22T10:45:27Z.build
# Failed test 'Test file t/test-files/expected/ex0.sql'
# at t/02_regress.t line 48.
Uncaught exception: Uncaught exception: Uncaught exception: Uncaught exception: Possible precedence problem between ! and string eq at /build/pgformatter-hkHx2n/pgformatter-5.6/lib/pgFormatter/Beautify.pm line 510.
at ./pg_format line 19.
[...]
Test Summary Report
-------------------
t/02_regress.t (Wstat: 18432 (exited 72) Tests: 75 Failed: 72)
Failed tests: 2-60, 62-65, 67-75
Non-zero exit status: 72
Files=2, Tests=77, 4 wallclock secs ( 0.03 usr 0.00 sys + 2.68 cusr 0.68 csys = 3.39 CPU)
Result: FAIL
This seems to be already fixed upstream with
https://github.com/darold/pgFormatter/pull/366
If you want to test changes against Perl 5.42 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.
Thanks for your work on Debian,