Bug 1134235 - perl-MooX-Types-MooseLike-0.25-3.fc22 FTBFS: t/basic.t test fails with Moo-1.006000
Summary: perl-MooX-Types-MooseLike-0.25-3.fc22 FTBFS: t/basic.t test fails with Moo-1....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-MooX-Types-MooseLike
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-27 07:30 UTC by Petr Pisar
Modified: 2014-09-23 04:31 UTC (History)
2 users (show)

Fixed In Version: perl-MooX-Types-MooseLike-0.27-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-23 04:31:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 98111 0 None None None Never
Red Hat Bugzilla 1131073 0 unspecified CLOSED perl-Moo-1.006000 is available 2021-02-22 00:41:40 UTC

Internal Links: 1131073

Description Petr Pisar 2014-08-27 07:30:57 UTC
perl-MooX-Types-MooseLike-0.25-3.fc22 fails to build in F22 because t/basic.t is not compatible with Moo-1.006000:

#   Failed test 'The error looks like a useful stacktrace'
#   at t/basic.t line 322.
#                   'isa check for "an_undef" failed:  is not undef! at (eval 24) line 452.
#       eval {...} called at (eval 24) line 450
#       MooX::Types::MooseLike::Test::new("MooX::Types::MooseLike::Test", "an_undef", "") called at t/basic.t line 321
#       main::__ANON__() called at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 45
#       Test::Fatal::try {...} () called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 76
#       eval {...} called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 72
#       Try::Tiny::try(CODE(0x262b5e0), Try::Tiny::Catch=REF(0x262b2b0)) called at /usr/share/perl5/vendor_perl/Test/Fatal.pm line 52
#       Test::Fatal::exception(CODE(0x247d838)) called at t/basic.t line 322
# '
#     doesn't match '(?^:is not undef.*\n.*MooX::Types::MooseLike::Test::new.*basic\.t)'
# Looks like you failed 1 test of 74.
t/basic.t ........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/74 subtests

This is caused by upgrading perl-Moo from 1.005000 to 1.006000.

Comment 1 Petr Pisar 2014-08-29 11:15:46 UTC
The difference between last working and this failing buildroot is:

Removed packages:
	audit-libs-2.3.8
	bash-4.3.22
	krb5-libs-1.12.2
	libtasn1-4.0
	nspr-4.10.6
	nss-3.16.2
	nss-softokn-3.16.2
	nss-softokn-freebl-3.16.2
	nss-sysinit-3.16.2
	nss-tools-3.16.2
	nss-util-3.16.2
	p11-kit-0.20.3
	p11-kit-trust-0.20.3
	perl-Devel-GlobalDestruction-0.12
	perl-HTTP-Tiny-0.047
	perl-Moo-1.005000
	perl-Pod-Perldoc-3.23
	perl-Socket-2.014
	perl-Sub-Name-0.08
	perl-Test-Harness-3.32
	perl-version-0.99.08
	rpm-4.11.90
	rpm-build-4.11.90
	rpm-build-libs-4.11.90
	rpm-libs-4.11.90
	rpm-plugin-selinux-4.11.90
	setup-2.9.1
	sqlite-3.8.5
	systemd-libs-215
Added packages:
	audit-libs-2.4
	bash-4.3.24
	krb5-libs-1.13
	libtasn1-4.1
	nspr-4.10.7
	nss-3.17.0
	nss-softokn-3.17.0
	nss-softokn-freebl-3.17.0
	nss-sysinit-3.17.0
	nss-tools-3.17.0
	nss-util-3.17.0
	p11-kit-0.21.1
	p11-kit-trust-0.21.1
	perl-Devel-GlobalDestruction-0.13
	perl-HTTP-Tiny-0.048
	perl-Moo-1.006000
	perl-Pod-Perldoc-3.24
	perl-Socket-2.015
	perl-Sub-Name-0.09
	perl-Test-Harness-3.33
	perl-version-0.99.09
	rpm-4.12.0
	rpm-build-4.12.0
	rpm-build-libs-4.12.0
	rpm-libs-4.12.0
	rpm-plugin-selinux-4.12.0
	setup-2.9.2
	sqlite-3.8.6
	systemd-libs-216

Comment 2 Petr Pisar 2014-08-29 13:32:26 UTC
This is caused by upgrading perl-Moo from 1.005000 to 1.006000.

Comment 3 Petr Pisar 2014-08-29 13:39:47 UTC
F21 is affected too.

Comment 4 Fedora Update System 2014-08-29 13:53:16 UTC
perl-MooX-Types-MooseLike-0.27-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/perl-MooX-Types-MooseLike-0.27-1.fc21

Comment 5 Fedora Update System 2014-08-29 14:42:50 UTC
Package perl-MooX-Types-MooseLike-0.27-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-MooX-Types-MooseLike-0.27-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9898/perl-MooX-Types-MooseLike-0.27-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-09-23 04:31:19 UTC
perl-MooX-Types-MooseLike-0.27-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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