Subject: | Cannot build/package module |
Date: | Mon, 16 Jul 2018 15:48:22 +0200 |
To: | bug-WWW-Pastebin-PastebinCom-Create [...] rt.cpan.org |
From: | Jan Dyk <jandyk [...] uni-potsdam.de> |
Hello,
I try to build a rpm-package of your Module using cpanspec and rpmbuild.
It seems it is needed somehow to get out of the the depencecy jungle I
currently walk through.
But when I start building it unfortunately fails. It gives the message
"Failed test 'paste URI looks like a proper paste URI'" (which doesn't
make any sense to me) and exits with Errorcode 1. :-(
I hope you can help me. :-)
Down Below I pasted the whole output of the build-procedure. Let me know if I should provide you with more Information.
sincerly
Jan
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.yImmfI
+ umask 022
+ cd /home/user/rpm/BUILD
+ cd /home/user/rpm/BUILD
+ rm -rf WWW-Pastebin-PastebinCom-Create-1.003
+ /usr/bin/gzip -dc /home/user/rpm/SOURCES/WWW-Pastebin-PastebinCom-Create-1.003.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd WWW-Pastebin-PastebinCom-Create-1.003
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.PpuB5j
+ umask 022
+ cd /home/user/rpm/BUILD
+ cd WWW-Pastebin-PastebinCom-Create-1.003
+ /usr/bin/perl Build.PL installdirs=vendor
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'WWW-Pastebin-PastebinCom-Create' version '1.003'
+ ./Build
Building WWW-Pastebin-PastebinCom-Create
+ exit 0
Ausführung(%install): /bin/sh -e /var/tmp/rpm-tmp.KVWNXY
+ umask 022
+ cd /home/user/rpm/BUILD
+ '[' /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64 '!=' / ']'
+ rm -rf /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64
++ dirname /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64
+ mkdir -p /home/user/rpm/BUILDROOT
+ mkdir /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64
+ cd WWW-Pastebin-PastebinCom-Create-1.003
+ rm -rf /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64
+ ./Build install destdir=/home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64 create_packlist=0
Building WWW-Pastebin-PastebinCom-Create
Installing /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64/usr/share/perl5/vendor_perl/WWW/Pastebin/PastebinCom/Create.pm
Installing /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64/usr/share/man/man3/WWW::Pastebin::PastebinCom::Create.3pm
+ find /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.x86_64 -depth -type d -exec rmdir '{}' ';'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/user/rpm/BUILDROOT/perl-WWW-Pastebin-PastebinCom-Create-1.003-1.el7.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/user/rpm/BUILD/WWW-Pastebin-PastebinCom-Create-1.003
/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
Ausführung(%check): /bin/sh -e /var/tmp/rpm-tmp.0GceHH
+ umask 022
+ cd /home/user/rpm/BUILD
+ cd WWW-Pastebin-PastebinCom-Create-1.003
+ ./Build testIn the following my output.
t/00-load.t ... 2/6 # Testing WWW::Pastebin::PastebinCom::Create 1.003, Perl 5.016003, /usr/bin/perl
t/00-load.t ... ok
t/01-paste.t .. # Pasted something. Paste URI is supposedly this: https://pastebin.com/qs39T6nq
t/01-paste.t .. 1/5
# Failed test 'paste URI looks like a proper paste URI'
# at t/01-paste.t line 52.
# 'https://pastebin.com/qs39T6nq'
# doesn't match '(?^:\Ahttp://pastebin\.com/\w+\z)'
# Looks like you failed 1 test of 5.
t/01-paste.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Test Summary Report
-------------------
t/01-paste.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=2, Tests=11, 3 wallclock secs ( 0.04 usr 0.01 sys + 0.77 cusr 0.11 csys = 0.93 CPU)
Result: FAIL
Failed 1/2 test programs. 1/11 subtests failed.
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.0GceHH (%check)
Fehler beim Bauen des RPM:
Fehler-Status beim Beenden von /var/tmp/rpm-tmp.0GceHH (%check)
Message body not shown because it is not plain text.