https://bugzilla.redhat.com/show_bug.cgi?id=1433344 Bug ID: 1433344 Summary: Circular build dependency on perl-Type-Tie, perl-Return-Type, and perl-Types-Path-Tiny Product: Fedora Version: rawhide Component: perl-Type-Tiny Assignee: rc040203@xxxxxxxxxx Reporter: ppisar@xxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, rc040203@xxxxxxxxxx perl-Type-Tiny cannot be bootstrapped because it has three circular dependencies on: (1) perl-Type-Tie: perl-Type-Tiny build-requires (and should run-require) perl(Type::Tie), perl-Type-Tie build-requires perl(Types::Standard) for optional tests. Because perl-Type-Tiny uses Type::Tie at run-time (lib/Type/Tiny.pm:1146), I recommend to put a condition into perl-Type-Tie package: --- a/perl-Type-Tie.spec +++ b/perl-Type-Tie.spec @@ -25,7 +25,10 @@ BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests: +%if !%{defined perl_bootstrap} +# Build-cycle: perl-Type-Tiny → perl-Type-Tie BuildRequires: perl(Types::Standard) +%endif BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Test::Fatal) I also recommend to add explicit run-time dependency on perl(Type::Tie) to perl-Type-Tiny package as it is not autogenerated. (2) perl-Return-Type: perl-Type-Tiny build-requires perl(Return::Type) >= 0.004 for optional tests, perl-Return-Type build- and run-requires perl(Types::Standard) and perl(Types::TypeTiny). I recommend to put a condition into perl-Type-Tiny: --- a/perl-Type-Tiny.spec +++ b/perl-Type-Tiny.spec @@ -89,7 +89,10 @@ BuildRequires: perl(mro) BuildRequires: perl(Object::Accessor) BuildRequires: perl(re) %{?with_reply_plugin:BuildRequires: perl(Reply::Plugin)} +%if !%{defined perl_bootstrap} +# Build-cycle: perl-Return-Type → perl-Type-Tiny BuildRequires: perl(Return::Type) >= 0.004 +%endif BuildRequires: perl(Role::Tiny) BuildRequires: perl(Role::Tiny::With) BuildRequires: perl(Sub::Exporter::Lexical) >= 0.092291 (3) perl-Types-Path-Tiny: perl-Type-Tiny build-requires perl(Types::Path::Tiny) for optional tests, perl-Types-Path-Tiny build- and run-requires perl(Types::Standard) and perl(Types::TypeTiny) >= 0.004. I recommend to put a condition into perl-Type-Tiny: --- a/perl-Type-Tiny.spec +++ b/perl-Type-Tiny.spec @@ -102,7 +102,10 @@ BuildRequires: perl(Sub::Quote) %{?with_reply_plugin:BuildRequires: perl(Term::ANSIColor)} BuildRequires: perl(Test::Warnings) BuildRequires: perl(Type::Tie) +%if !%{defined perl_bootstrap} +# Build-cycle: perl-Types-Path-Tiny → perl-Type-Tiny BuildRequires: perl(Types::Path::Tiny) +%endif BuildRequires: perl(Validation::Class) >= 7.900017 BuildRequires: perl(Validation::Class::Simple) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx