https://bugzilla.redhat.com/show_bug.cgi?id=2488838
Bug ID: 2488838
Summary: perl-JSON-Any-1.40-7.fc45 FTBFS with
perl-Cpanel-JSON-XS-4.42: t/04-ENV.t fails
Product: Fedora
Version: 45
URL: https://koschei.fedoraproject.org//package/perl-JSON-A
ny
Status: NEW
Component: perl-JSON-Any
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected],
[email protected]
Blocks: 2433833 (F45FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
perl-JSON-Any-1.40-7.fc45 fails to build in Fedora 45 because a test fails:
$ perl -Ilib t/04-ENV.t
ok 1 - got the right handlerType
ok 2 - got a JSON::Any object
not ok 3 - trapped a failure because of a non-reference
# Failed test 'trapped a failure because of a non-reference'
# at t/04-ENV.t line 28.
# undef
# doesn't match '(?^:use allow_nonref)'
ok 4 - got another JSON::Any object
ok 5 - got the same data back again
ok 6 - no failure with config change
ok 7 - got another JSON::Any object
ok 8 - trapped a failure because the constructor option overrides the
environment variable
1..8
# Looks like you failed 1 test of 8.
This failure is triggered by upgrading perl-Cpanel-JSON-XS from 4.41-1.fc45 to
4.42-1.fc45. This seems to be an intentional change, from CPAN-JSON-XS
changelog:
> Change allow_nonref default to true (GH #241, matching JSON::PP and JSON::XS
> 4.0+ and the insecure RFC 7159). encode and decode now accept non-reference
> values by default. decode_json() with an explicit 0/1 second argument still
> works. allow_nonref(0) to disable scalars-only for secure JSON.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2433833
[Bug 2433833] Fedora 45 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2488838
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202488838%23c0
--
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new