[Bug 2150496] New: perl-Module-Pluggable-tests has bogus provides
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2150496
Bug ID: 2150496
Summary: perl-Module-Pluggable-tests has bogus provides
Product: Fedora
Version: rawhide
Status: NEW
Component: perl-Module-Pluggable
Assignee: mspacek(a)redhat.com
Reporter: paul(a)city-fan.org
QA Contact: extras-qa(a)fedoraproject.org
CC: mspacek(a)redhat.com, paul(a)city-fan.org,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
steve(a)silug.org
Target Milestone: ---
Classification: Fedora
The new tests subpackage of perl-Module-Pluggable has rpm provides for lots of
modules that it doesn't actually provide (since it does not ship anything in
the regular @INC path):
$ rpm -qp --provides perl-Module-Pluggable-tests-5.2-22.fc38.noarch.rpm
perl(Acme::FooBar)
perl(Acme::MyTest::Plugin::Foo)
perl(App::TestMPFP::Plugin::A)
perl(EditorJunk::Bar)
perl(EditorJunk::Foo)
perl(InnerTest::Plugin::Bar)
perl(InnerTest::Plugin::Foo)
perl(InnerTest::Plugin::Quux)
perl(M::X)
perl(MyOtherTest::Plugin::Bar)
perl(MyOtherTest::Plugin::Foo)
perl(MyOtherTest::Plugin::Quux)
perl(MyOtherTest::Plugin::Quux::Foo)
perl(MyTest::Extend::Plugin::Bar)
perl(MyTest::Plugin::Bar)
perl(MyTest::Plugin::Foo)
perl(MyTest::Plugin::Quux::Foo)
perl(No::Middle)
perl(No::Middle::Package::A)
perl(No::Middle::Package::B)
perl(TA::C::A::I)
perl(TA::C::A::I::A)
perl(TA::C::A::I::A::B)
perl(Text::Abbrev)
perl(TriggerTest::Plugin::After)
perl(TriggerTest::Plugin::CallbackAllow)
perl(TriggerTest::Plugin::CallbackDeny)
perl(TriggerTest::Plugin::Deny)
perl(TriggerTest::Plugin::Error)
perl-Module-Pluggable-tests = 2:5.2-22.fc38
These are mostly harmless but in particular the provide for perl(Text::Abbrev)
is a problem because it results in this package being pulled into the buildroot
when perl(Text::Abbrev) is required by another package, and that subsequently
causes tests to fail since that module is not actually provided. For an example
of this see perl-Data-Dump-Streamer.
Please filter these provides from the tests package (and filter requires for
the filtered private modules) to fix this.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2150496
1 year, 4 months
[Bug 2151461] New: perl-CGI-Session-4.48-26.fc38 FTBFS: Can't locate
Text/Abbrev.pm in @INC
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2151461
Bug ID: 2151461
Summary: perl-CGI-Session-4.48-26.fc38 FTBFS: Can't locate
Text/Abbrev.pm in @INC
Product: Fedora
Version: rawhide
URL: https://koschei.fedoraproject.org/package/perl-CGI-Ses
sion
Status: NEW
Component: perl-CGI-Session
Assignee: andreas(a)bawue.net
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: andreas(a)bawue.net, perl-devel(a)lists.fedoraproject.org
Blocks: 2117176 (F38FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
perl-CGI-Session-4.48-26.fc38 fails to build in Fedora 38 because tests fail
like this:
+ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
Can't locate Text/Abbrev.pm in @INC (you may need to install the Text::Abbrev
module) (@INC contains: /builddir/build/BUILD/CGI-Session-4.48/blib/lib
/builddir/build/BUILD/CGI-Session-4.48/blib/arch /usr/local/lib64/perl5/5.36
/usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/builddir/build/BUILD/CGI-Session-4.48/blib/lib/CGI/Session.pm line 148.
# Looks like your test exited with 2 just after 1.
t/api3_db_file.t ................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/14 subtests
A difference between passing and failing build root is at
<https://koschei.fedoraproject.org/build/14211831>.
This is a bug in perl-CGI-Session.spec. A build-dependency on Text::Abbrev is
not declared:
# parses the DSN string and returns it as a hash.
# Notably: Allows unique abbreviations of the keys: driver, serializer and
'id'.
# Also, keys and values of the returned hash are lower-cased.
sub parse_dsn {
my $self = shift;
my $dsn_str = shift;
croak "parse_dsn(): usage error" unless $dsn_str;
→ require Text::Abbrev;
my $abbrev = Text::Abbrev::abbrev( "driver", "serializer", "id" );
my %dsn_map = map { split /:/ } (split /;/, $dsn_str);
my %dsn = map { $abbrev->{lc $_}, lc $dsn_map{$_} } keys %dsn_map;
return \%dsn;
}
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2117176
[Bug 2117176] Fedora 38 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=2151461
1 year, 4 months