Bug 2450636 - perl-Dancer2-Plugin-REST-1.02-27.fc45 FTBFS: Failed test '$data has been encoded' at t/02_prepare_serializer_for_format.t line 82
Summary: perl-Dancer2-Plugin-REST-1.02-27.fc45 FTBFS: Failed test '$data has been enco...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Dancer2-Plugin-REST
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org//pa...
Whiteboard:
Depends On:
Blocks: F45FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-03-24 07:53 UTC by Petr Pisar
Modified: 2026-04-05 07:07 UTC (History)
2 users (show)

Fixed In Version: perl-Dancer2-Plugin-REST-1.03-1.fc45
Clone Of:
Environment:
Last Closed: 2026-04-05 07:07:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2026-03-24 07:53:57 UTC
perl-Dancer2-Plugin-REST-1.02-27.fc45 fails to build in Fedora 45 because a test fails:

    #   Failed test '$data has been encoded'
    #   at t/02_prepare_serializer_for_format.t line 82.
    #          got: '{"foo":"42"}'
    #     expected: '{"foo":42}'
    # Looks like you failed 1 test of 2.
#   Failed test '(?^:application/json)'
#   at t/02_prepare_serializer_for_format.t line 70.
# Looks like you failed 1 test of 6.
t/02_prepare_serializer_for_format.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests 

A difference beteen passing and failing build root is at <https://koschei.fedoraproject.org/build/22696632>. An upgrade of perl-JSON from 4.10-9.fc44 to 4.11-1.fc45 is suspicious.

Comment 1 Emmanuel Seyman 2026-04-05 07:07:32 UTC
Fixed in Dancer2-Plugin-REST-1.03


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