[Bug 1115971] New: perl-Test-Apocalypse-1.002-7.fc21 FTBFS: 'Test::Apocalypse::Dependencies loaded ok' t/00-compile.t test fails with YAML 0.95

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 3 12:23:18 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1115971

            Bug ID: 1115971
           Summary: perl-Test-Apocalypse-1.002-7.fc21 FTBFS:
                    'Test::Apocalypse::Dependencies loaded ok'
                    t/00-compile.t test fails with YAML 0.95
           Product: Fedora
           Version: rawhide
         Component: perl-Test-Apocalypse
          Assignee: ppisar at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com



perl-Test-Apocalypse-1.002-7.fc21 fails to build due failing test:

$ prove -b -v t/00-compile.t
t/00-compile.t ..
1..36
ok 1 - Test::Apocalypse loaded ok
ok 2 - Test::Apocalypse::AutoLoader loaded ok
ok 3 - Test::Apocalypse::CPANMeta loaded ok
ok 4 - Test::Apocalypse::CPANMeta_JSON loaded ok
ok 5 - Test::Apocalypse::CPANMeta_YAML loaded ok
ok 6 - Test::Apocalypse::CheckChanges loaded ok
ok 7 - Test::Apocalypse::Compile loaded ok
ok 8 - Test::Apocalypse::ConsistentVersion loaded ok
ok 9 - Test::Apocalypse::DOSnewline loaded ok
YAML::Any does not define $YAML::Any::VERSION--version check failed at
lib/Test/Apocalypse/Dependencies.pm line 22.
BEGIN failed--compilation aborted at lib/Test/Apocalypse/Dependencies.pm line
22.
Compilation failed in require at -e line 1.
not ok 10 - Test::Apocalypse::Dependencies loaded ok

#   Failed test 'Test::Apocalypse::Dependencies loaded ok'
#   at t/00-compile.t line 46.
#                   ''
#     doesn't match '(?^s:^\s*Test::Apocalypse::Dependencies ok)'

This is caused by upgrading perl-YAML from 0.94 to 0.95. The code checks for
YAML modules version, but YAML-0.95 changes how the YAML's version is declared:

-$YAML::VERSION = '0.94';
+our $VERSION = '0.95';

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=QgKEO8pugd&a=cc_unsubscribe



More information about the perl-devel mailing list