Subject: | Failed Build on CentOS 7 |
Date: | Fri, 22 Jan 2016 15:33:38 -0800 |
To: | bug-MooX-late [...] rt.cpan.org |
From: | "Joseph D. Wagner" <joe [...] josephdwagner.info> |
I was trying to rebuild the rpm for CentOS 7, and it failed testing. I
know the rpm build is little outside of your project. However, I'm
hoping you can at least provide some detail as to what the test failure
means; perhaps some hints, or direction to take, to fix it, if you can.
Output below.
Thanks in advance!
Joseph D. Wagner
$ rpmbuild --rebuild perl-MooX-late-0.014-4.fc21.src.rpm
Installing perl-MooX-late-0.014-4.fc21.src.rpm
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1bq1Zw
+ umask 022
+ cd /home/joseph/rpmbuild/BUILD
+ cd /home/joseph/rpmbuild/BUILD
+ rm -rf MooX-late-0.014
+ /usr/bin/gzip -dc /home/joseph/rpmbuild/SOURCES/MooX-late-0.014.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MooX-late-0.014
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4PJgdV
+ umask 022
+ cd /home/joseph/rpmbuild/BUILD
+ cd MooX-late-0.014
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor --skipdeps
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.98 >= 0.96)
- Test::Requires ...loaded. (0.06 >= 0.06)
- ExtUtils::MakeMaker ...loaded. (6.68 >= 6.59)
- Test::Fatal ...loaded. (0.010 >= 0.010)
- Type::Utils ...loaded. (1.000005 >= 0.016)
- Moo ...loaded. (1.006000 >= 1.003000)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for MooX::late
Writing MYMETA.yml and MYMETA.json
+ make -j3
cp lib/MooX/late.pm blib/lib/MooX/late.pm
Manifying blib/man3/MooX::late.3pm
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y1JEHk
+ umask 022
+ cd /home/joseph/rpmbuild/BUILD
+ '['
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
'!=' / ']'
+ rm -rf
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
++ dirname
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
+ mkdir -p /home/joseph/rpmbuild/BUILDROOT
+ mkdir
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
+ cd MooX-late-0.014
+ make pure_install
DESTDIR=/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
Manifying blib/man3/MooX::late.3pm
Installing
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64/usr/share/perl5/vendor_perl/MooX/late.pm
Installing
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64/usr/share/man/man3/MooX::late.3pm
+ find
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64
-type f -name .packlist -exec rm -f '{}' ';'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w
/home/joseph/rpmbuild/BUILDROOT/perl-MooX-late-0.014-4.el7.centos.x86_64/usr
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000
/home/joseph/rpmbuild/BUILD/MooX-late-0.014
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KHdzMK
+ umask 022
+ cd /home/joseph/rpmbuild/BUILD
+ cd MooX-late-0.014
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01basic.t
t/02inflation.t t/03invalid_tc.t t/04arrayofattrs.t
t/05haveimissedanytypes.t t/06handlesvia.t t/07coerce1.t
t/01basic.t ................ ok
t/02inflation.t ............ ok
t/03invalid_tc.t ........... ok
t/04arrayofattrs.t ......... ok
t/05haveimissedanytypes.t .. ok
t/06handlesvia.t ........... ok
t/07coerce1.t .............. 1/? Use of uninitialized value $this in
pattern match (m//) at t/07coerce1.t line 44.
# Failed test at t/07coerce1.t line 44.
# undef
# doesn't match '(?^:^Invalid coerce '1')'
# Looks like you failed 1 test of 2.
t/07coerce1.t .............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/07coerce1.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=7, Tests=89, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.52 cusr
0.04 csys = 0.61 CPU)
Result: FAIL
Failed 1/7 test programs. 1/89 subtests failed.
make: *** [test_dynamic] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.KHdzMK (%check)
RPM build errors:
user mockbuild does not exist - using root
group mockbuild does not exist - using root
user mockbuild does not exist - using root
group mockbuild does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.KHdzMK (%check)