Bug 1382027 - perl-Dist-Zilla-6.007-1.fc26 FTBFS: Failed test 'BrokenPlugin4'
Summary: perl-Dist-Zilla-6.007-1.fc26 FTBFS: Failed test 'BrokenPlugin4'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Dist-Zilla
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/rjbs/Dist-Zilla/is...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-05 14:35 UTC by Petr Pisar
Modified: 2016-10-10 12:31 UTC (History)
3 users (show)

Fixed In Version: perl-Dist-Zilla-6.008-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 12:30:59 UTC
Type: Bug


Attachments (Terms of Use)

Description Petr Pisar 2016-10-05 14:35:26 UTC
perl-Dist-Zilla-6.007-1.fc26 fails to build in F26:

t/diagnostics/main-module.t ..... ok
    #   Failed test 'Exception explains that it couldn't load the plugin 2-layers down'
    #   at t/diagnostics/plugin-fail.t line 46.
    #                   'You can only consume roles, Some::Package::That::Does::Not::Exist::Due::To::A::Typo is not a Moose role at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 419
    # 	Moose::with('Some::Package::That::Does::Not::Exist::Due::To::A::Typo') called at /builddir/build/BUILD/Dist-Zilla-6.007/t/lib/Dist/Zilla/Plugin/BrokenPlugin4.pm line 8
    # 	require Dist/Zilla/Plugin/BrokenPlugin4.pm at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317
    # 	Module::Runtime::require_module('Dist::Zilla::Plugin::BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Class/Load.pm line 174
    # 	Class::Load::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 99
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c82e8)', 'Try::Tiny::Catch=REF(0x46c7fd0)') called at /usr/share/perl5/vendor_perl/Class/Load.pm line 180
    # 	Class::Load::try_load_class('Dist::Zilla::Plugin::BrokenPlugin4', undef) called at /usr/share/perl5/vendor_perl/Class/Load.pm line 118
    # 	Class::Load::load_optional_class('Dist::Zilla::Plugin::BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 231
    # 	Config::MVP::Section::load_package('Dist::Zilla::MVP::Section=HASH(0x46c57d0)', 'Dist::Zilla::Plugin::BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 277
    # 	Config::MVP::Section::_BUILD_package_settings('Dist::Zilla::MVP::Section=HASH(0x46c57d0)') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 287
    # 	Config::MVP::Section::BUILD('Dist::Zilla::MVP::Section=HASH(0x46c57d0)', 'HASH(0x46c76b8)') called at constructor Dist::Zilla::MVP::Section::new (defined at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/MVP/Section.pm line 44) line 89
    # 	Dist::Zilla::MVP::Section::new('Dist::Zilla::MVP::Section', 'HASH(0x46c8258)') called at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 144
    # 	Config::MVP::Assembler::begin_section('Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)', 'BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 187
    # 	Config::MVP::Assembler::change_section('Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)', 'BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader/INI.pm line 53
    # 	Config::MVP::Reader::INI::INIReader::change_section('Config::MVP::Reader::INI::INIReader=HASH(0x46c8018)', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/INI/Reader.pm line 111
    # 	Config::INI::Reader::read_handle('Config::MVP::Reader::INI::INIReader=HASH(0x46c8018)', 'IO::File=GLOB(0x46c7f70)') called at /usr/share/perl5/vendor_perl/Mixin/Linewise/Readers.pm line 103
    # 	Mixin::Linewise::Readers::__ANON__ at /usr/share/perl5/vendor_perl/Config/MVP/Reader/INI.pm line 25
    # 	Config::MVP::Reader::INI::read_into_assembler('Config::MVP::Reader::INI=HASH(0x46c7d60)', '/builddir/build/BUILD/Dist-Zilla-6.007/tmp/9x6GBXTA5i/source/dist.ini', 'Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader.pm line 53
    # 	Config::MVP::Reader::read_config('Config::MVP::Reader::INI=HASH(0x46c7d60)', '/builddir/build/BUILD/Dist-Zilla-6.007/tmp/9x6GBXTA5i/source/dist.ini', 'HASH(0x46c7c40)') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader/Finder.pm line 115
    # 	Config::MVP::Reader::Finder::read_config('Dist::Zilla::MVP::Reader::Finder', 'Path::Tiny=ARRAY(0x46c7c88)', 'HASH(0x46c7c40)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 287
    # 	Dist::Zilla::Dist::Builder::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 103
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c76e8)', 'Try::Tiny::Catch=REF(0x46ae960)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 312
    # 	Dist::Zilla::Dist::Builder::_load_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c5890)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 45
    # 	Dist::Zilla::Dist::Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Tester.pm line 196
    # 	Class::MOP::Class:::around('CODE(0x380ba60)', 'Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at /usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 164
    # 	Dist::Zilla::Tester::_Builder::_wrapped_from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at /usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 95
    # 	Dist::Zilla::Tester::_Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at t/diagnostics/plugin-fail.t line 13
    # 	main::mkconfig('corpus/dist/DZT', 'ARRAY(0x46c3e40)') called at t/diagnostics/plugin-fail.t line 43
    # 	main::__ANON__ at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 129
    # 	Test::Fatal::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 101
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c4c30)', 'Try::Tiny::Catch=REF(0x46c4a10)') called at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 136
    # 	Test::Fatal::exception('CODE(0x233df28)') called at t/diagnostics/plugin-fail.t line 43
    # 	main::__ANON__ at /usr/share/perl5/vendor_perl/Test/Builder.pm line 302
    # 	eval {...} at /usr/share/perl5/vendor_perl/Test/Builder.pm line 302
    # 	Test::Builder::subtest('Test::Builder=HASH(0x1c1e690)', 'BrokenPlugin4', 'CODE(0x233deb0)') called at /usr/share/perl5/vendor_perl/Test/More.pm line 807
    # 	Test::More::subtest('BrokenPlugin4', 'CODE(0x233deb0)') called at t/diagnostics/plugin-fail.t line 48
    # Compilation failed in require at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317, <GEN3> line 8. at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 144.
    # '
    #     doesn't match '(?^:Can't locate)'
    #   Failed test 'Exception reports the original problem'
    #   at t/diagnostics/plugin-fail.t line 47.
    #                   'You can only consume roles, Some::Package::That::Does::Not::Exist::Due::To::A::Typo is not a Moose role at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 419
    # 	Moose::with('Some::Package::That::Does::Not::Exist::Due::To::A::Typo') called at /builddir/build/BUILD/Dist-Zilla-6.007/t/lib/Dist/Zilla/Plugin/BrokenPlugin4.pm line 8
    # 	require Dist/Zilla/Plugin/BrokenPlugin4.pm at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317
    # 	Module::Runtime::require_module('Dist::Zilla::Plugin::BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Class/Load.pm line 174
    # 	Class::Load::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 99
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c82e8)', 'Try::Tiny::Catch=REF(0x46c7fd0)') called at /usr/share/perl5/vendor_perl/Class/Load.pm line 180
    # 	Class::Load::try_load_class('Dist::Zilla::Plugin::BrokenPlugin4', undef) called at /usr/share/perl5/vendor_perl/Class/Load.pm line 118
    # 	Class::Load::load_optional_class('Dist::Zilla::Plugin::BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 231
    # 	Config::MVP::Section::load_package('Dist::Zilla::MVP::Section=HASH(0x46c57d0)', 'Dist::Zilla::Plugin::BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 277
    # 	Config::MVP::Section::_BUILD_package_settings('Dist::Zilla::MVP::Section=HASH(0x46c57d0)') called at /usr/share/perl5/vendor_perl/Config/MVP/Section.pm line 287
    # 	Config::MVP::Section::BUILD('Dist::Zilla::MVP::Section=HASH(0x46c57d0)', 'HASH(0x46c76b8)') called at constructor Dist::Zilla::MVP::Section::new (defined at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/MVP/Section.pm line 44) line 89
    # 	Dist::Zilla::MVP::Section::new('Dist::Zilla::MVP::Section', 'HASH(0x46c8258)') called at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 144
    # 	Config::MVP::Assembler::begin_section('Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)', 'BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 187
    # 	Config::MVP::Assembler::change_section('Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)', 'BrokenPlugin4', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader/INI.pm line 53
    # 	Config::MVP::Reader::INI::INIReader::change_section('Config::MVP::Reader::INI::INIReader=HASH(0x46c8018)', 'BrokenPlugin4') called at /usr/share/perl5/vendor_perl/Config/INI/Reader.pm line 111
    # 	Config::INI::Reader::read_handle('Config::MVP::Reader::INI::INIReader=HASH(0x46c8018)', 'IO::File=GLOB(0x46c7f70)') called at /usr/share/perl5/vendor_perl/Mixin/Linewise/Readers.pm line 103
    # 	Mixin::Linewise::Readers::__ANON__ at /usr/share/perl5/vendor_perl/Config/MVP/Reader/INI.pm line 25
    # 	Config::MVP::Reader::INI::read_into_assembler('Config::MVP::Reader::INI=HASH(0x46c7d60)', '/builddir/build/BUILD/Dist-Zilla-6.007/tmp/9x6GBXTA5i/source/dist.ini', 'Dist::Zilla::MVP::Assembler::Zilla=HASH(0x46c4b48)') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader.pm line 53
    # 	Config::MVP::Reader::read_config('Config::MVP::Reader::INI=HASH(0x46c7d60)', '/builddir/build/BUILD/Dist-Zilla-6.007/tmp/9x6GBXTA5i/source/dist.ini', 'HASH(0x46c7c40)') called at /usr/share/perl5/vendor_perl/Config/MVP/Reader/Finder.pm line 115
    # 	Config::MVP::Reader::Finder::read_config('Dist::Zilla::MVP::Reader::Finder', 'Path::Tiny=ARRAY(0x46c7c88)', 'HASH(0x46c7c40)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 287
    # 	Dist::Zilla::Dist::Builder::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 103
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c76e8)', 'Try::Tiny::Catch=REF(0x46ae960)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 312
    # 	Dist::Zilla::Dist::Builder::_load_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c5890)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Dist/Builder.pm line 45
    # 	Dist::Zilla::Dist::Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)') called at /builddir/build/BUILD/Dist-Zilla-6.007/blib/lib/Dist/Zilla/Tester.pm line 196
    # 	Class::MOP::Class:::around('CODE(0x380ba60)', 'Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at /usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 164
    # 	Dist::Zilla::Tester::_Builder::_wrapped_from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at /usr/lib64/perl5/vendor_perl/Class/MOP/Method/Wrapped.pm line 95
    # 	Dist::Zilla::Tester::_Builder::from_config('Dist::Zilla::Tester::_Builder', 'HASH(0x46c4398)', 'HASH(0x46134d0)') called at t/diagnostics/plugin-fail.t line 13
    # 	main::mkconfig('corpus/dist/DZT', 'ARRAY(0x46c3e40)') called at t/diagnostics/plugin-fail.t line 43
    # 	main::__ANON__ at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 129
    # 	Test::Fatal::try {...}  at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 101
    # 	eval {...} at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 94
    # 	Try::Tiny::try('CODE(0x46c4c30)', 'Try::Tiny::Catch=REF(0x46c4a10)') called at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 136
    # 	Test::Fatal::exception('CODE(0x233df28)') called at t/diagnostics/plugin-fail.t line 43
    # 	main::__ANON__ at /usr/share/perl5/vendor_perl/Test/Builder.pm line 302
    # 	eval {...} at /usr/share/perl5/vendor_perl/Test/Builder.pm line 302
    # 	Test::Builder::subtest('Test::Builder=HASH(0x1c1e690)', 'BrokenPlugin4', 'CODE(0x233deb0)') called at /usr/share/perl5/vendor_perl/Test/More.pm line 807
    # 	Test::More::subtest('BrokenPlugin4', 'CODE(0x233deb0)') called at t/diagnostics/plugin-fail.t line 48
    # Compilation failed in require at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317, <GEN3> line 8. at /usr/share/perl5/vendor_perl/Config/MVP/Assembler.pm line 144.
    # '
    #     doesn't match '(?^:Some/Package/That/Does/Not/Exist/)'
    # Looks like you failed 2 tests of 3.
#   Failed test 'BrokenPlugin4'
#   at t/diagnostics/plugin-fail.t line 48.
# Looks like you failed 1 test of 7.
t/diagnostics/plugin-fail.t ..... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests 

A difference between working and failing build root is:

perl-Moose 	2.1805-1.fc26 	> 	2.1806-1.fc26
	perl-Test-Simple 	1.302056-1.fc26 	> 	1.302059-1.fc26
	openssl-libs 	1:1.0.2i-1.fc26 	> 	1:1.0.2j-1.fc26
	perl-podlators 	4.07-366.fc26 	> 	4.08-1.fc26
	crypto-policies 	20160921-1.git75b9b04.... 	> 	20160926-1.git08b5501....
	perl-HTTP-Tiny 	0.064-1.fc26 	> 	0.068-1.fc26
	openssl 	1:1.0.2i-1.fc26 	> 	1:1.0.2j-1.fc26
	binutils 	2.27-8.fc26 	> 	2.27-9.fc26
	perl-Time-HiRes 	1.9739-1.fc25 	> 	1.9740-1.fc26
	libarchive 	3.2.1-3.fc26 	> 	3.2.1-4.fc26
	libnghttp2 	1.14.1-1.fc26 	> 	1.15.0-1.fc26

Comment 1 Petr Šabata 2016-10-10 12:31:29 UTC
FTR, also fixed in F25.  Tracking the update in bug #1382943.


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