Bug 2540984 - perl-Dancer2-Plugin-REST-1.03-2.fc46 FTBFS: Failed test 'headers have content_type set to (?^:text/x-data-dumper)'
Summary: perl-Dancer2-Plugin-REST-1.03-2.fc46 FTBFS: Failed test 'headers have content...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Dancer2-Plugin-REST
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F46FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-09-25 07:54 UTC by Petr Pisar
Modified: 2026-09-25 07:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2026-09-25 07:54:25 UTC
perl-Dancer2-Plugin-REST-1.03-2.fc46 fails to build in Fedora 46 because a test fails:

    # Failed test 'headers have content_type set to (?^:text/x-data-dumper)'
    # at t/02_prepare_serializer_for_format.t line 80.
    # +------------------+----+-------------------------+
    # | GOT              | OP | CHECK                   |
    # +------------------+----+-------------------------+
    # | application/json | =~ | (?^:text/x-data-dumper) |
    # +------------------+----+-------------------------+
    (If this table is too small, you can use the TABLE_TERM_SIZE=### env var to set a larger size, detected size is '74')
    
    # Failed test '$data has been encoded'
    # at t/02_prepare_serializer_for_format.t line 88.
    # +--------------+----+-------------------------+
    # | GOT          | OP | CHECK                   |
    # +--------------+----+-------------------------+
    # | {"foo":"42"} | eq | $VAR1 = {\n             |
    # |              |    |           'foo' => 42\n |
    # |              |    |         };\n            |
    # +--------------+----+-------------------------+
    (If this table is too small, you can use the TABLE_TERM_SIZE=### env var to set a larger size, detected size is '74')
    
# Failed test 'Subtest: (?^:text/x-data-dumper)'
# at t/02_prepare_serializer_for_format.t line 69.
# Looks like you failed 1 test of 6.
Failed 1/9 test programs. 1/44 subtests failed.

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/24037604>. The failure is triggered by upgrading perl-Dancer2 from 0:2.1.0-3.fc46 to 0:2.2.1-1.fc46.


Note You need to log in before you can comment on or make changes to this bug.