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: ppi...@redhat.com
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: mmasl...@redhat.com,
                    perl-devel@lists.fedoraproject.org, ppi...@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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to