D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Math-Primality-0.80.0-3.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OPVnCt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Math-Primality-0.08 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/Math-Primality-0.08.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Math-Primality-0.08 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sEgjB6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Math-Primality-0.08 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Warning: prerequisite Module::Build 0.38 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Math::Primality Writing MYMETA.yml and MYMETA.json + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 cp lib/Math/Primality/AKS.pm blib/lib/Math/Primality/AKS.pm cp lib/Math/Primality/BigPolynomial.pm blib/lib/Math/Primality/BigPolynomial.pm cp aks.pl blib/lib/Math/aks.pl cp lib/Math/Primality.pm blib/lib/Math/Primality.pm cp bin/primes.pl blib/script/primes.pl "/usr/bin/perl5.26.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/primes.pl cp bin/strong_psuedoprimes.pl blib/script/strong_psuedoprimes.pl "/usr/bin/perl5.26.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/strong_psuedoprimes.pl Manifying 2 pod documents Manifying 3 pod documents + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e4kREK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64 + cd Math-Primality-0.08 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64 'INSTALL=/usr/bin/install -p' Manifying 2 pod documents Manifying 3 pod documents Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/lib/perl5/vendor_perl/5.26.0/Math/Primality.pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/lib/perl5/vendor_perl/5.26.0/Math/aks.pl Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/lib/perl5/vendor_perl/5.26.0/Math/Primality/BigPolynomial.pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/lib/perl5/vendor_perl/5.26.0/Math/Primality/AKS.pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/share/man/man1/strong_psuedoprimes.pl.1 Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/share/man/man1/primes.pl.1 Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/share/man/man3/Math::Primality::BigPolynomial.3pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/share/man/man3/Math::Primality::AKS.3pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/share/man/man3/Math::Primality.3pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/bin/strong_psuedoprimes.pl Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/bin/primes.pl Appending installation info to /home/pterjan/rpmbuild/BUILDROOT/perl-Math-Primality-0.80.0-3.mga7.x86_64/usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/perllocal.pod + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.80.0-3.mga7 --unique-debug-suffix -0.80.0-3.mga7.x86_64 --unique-debug-src-base perl-Math-Primality-0.80.0-3.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08 + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A2UgWp + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Math-Primality-0.08 + '[' 1 -eq 1 ']' + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 test PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Math::Primality;' # at t/00-load.t line 7. # Tried to use 'Math::Primality'. # Error: Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. # at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. # Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. # BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. # Compilation failed in require at t/00-load.t line 7. # BEGIN failed--compilation aborted at t/00-load.t line 7. # Failed test 'use Math::Primality::AKS;' # at t/00-load.t line 8. # Tried to use 'Math::Primality::AKS'. # Error: Attempt to reload Math/GMPz.pm aborted. # Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality/AKS.pm line 8. # BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality/AKS.pm line 8. # Compilation failed in require at t/00-load.t line 8. # BEGIN failed--compilation aborted at t/00-load.t line 8. # Failed test 'use Math::Primality::BigPolynomial;' # at t/00-load.t line 9. # Tried to use 'Math::Primality::BigPolynomial'. # Error: Attempt to reload Math/GMPz.pm aborted. # Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality/BigPolynomial.pm line 8. # BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality/BigPolynomial.pm line 8. # Compilation failed in require at t/00-load.t line 9. # BEGIN failed--compilation aborted at t/00-load.t line 9. # Testing Math::Primality , Perl 5.026000, /usr/bin/perl5.26.0 # Looks like you failed 3 tests of 3. t/00-load.t ...................... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at t/big_polynomial.t line 8. BEGIN failed--compilation aborted at t/big_polynomial.t line 8. t/big_polynomial.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/boilerplate.t .................. ok Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at t/is_aks_prime.t line 8. BEGIN failed--compilation aborted at t/is_aks_prime.t line 8. # Looks like your test exited with 2 before it could output anything. t/is_aks_prime.t ................. Dubious, test returned 2 (wstat 512, 0x200) Failed 232/232 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/is_prime.t line 7. BEGIN failed--compilation aborted at t/is_prime.t line 7. # Looks like your test exited with 2 before it could output anything. t/is_prime.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 573/573 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/is_prime_bigint.t line 6. BEGIN failed--compilation aborted at t/is_prime_bigint.t line 6. t/is_prime_bigint.t .............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/is_pseudoprime.t line 7. BEGIN failed--compilation aborted at t/is_pseudoprime.t line 7. # Looks like your test exited with 2 before it could output anything. t/is_pseudoprime.t ............... Dubious, test returned 2 (wstat 512, 0x200) Failed 72/72 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/is_strong_lucas_pseudoprime.t line 7. BEGIN failed--compilation aborted at t/is_strong_lucas_pseudoprime.t line 7. # Looks like your test exited with 2 before it could output anything. t/is_strong_lucas_pseudoprime.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 23/23 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/is_strong_pseudoprime.t line 6. BEGIN failed--compilation aborted at t/is_strong_pseudoprime.t line 6. # Looks like your test exited with 2 before it could output anything. t/is_strong_pseudoprime.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 512/512 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/next_prime.t line 7. BEGIN failed--compilation aborted at t/next_prime.t line 7. # Looks like your test exited with 2 before it could output anything. t/next_prime.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 498/498 subtests t/pod.t .......................... skipped: Test::Pod 1.22 required for testing POD Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/prev_prime.t line 7. BEGIN failed--compilation aborted at t/prev_prime.t line 7. # Looks like your test exited with 2 before it could output anything. t/prev_prime.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 500/500 subtests Can't load '/usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so' for module Math::GMPz: /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Math/GMPz/GMPz.so: undefined symbol: Perl_pad_sv at /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/Math/GMPz.pm line 110. Compilation failed in require at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. BEGIN failed--compilation aborted at /home/pterjan/rpmbuild/BUILD/Math-Primality-0.08/blib/lib/Math/Primality.pm line 8. Compilation failed in require at t/prime_count.t line 7. BEGIN failed--compilation aborted at t/prime_count.t line 7. # Looks like your test exited with 2 before it could output anything. t/prime_count.t .................. Dubious, test returned 2 (wstat 512, 0x200) Failed 79/79 subtests Test Summary Report ------------------- t/00-load.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 t/big_polynomial.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/is_aks_prime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 232 tests but ran 0. t/is_prime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 573 tests but ran 0. t/is_prime_bigint.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/is_pseudoprime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 72 tests but ran 0. t/is_strong_lucas_pseudoprime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 23 tests but ran 0. t/is_strong_pseudoprime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 512 tests but ran 0. t/next_prime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 498 tests but ran 0. t/prev_prime.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 500 tests but ran 0. t/prime_count.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 79 tests but ran 0. Files=13, Tests=6, 1 wallclock secs ( 0.06 usr 0.00 sys + 0.50 cusr 0.08 csys = 0.64 CPU) Result: FAIL Failed 11/13 test programs. 3/6 subtests failed. Makefile:906: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.A2UgWp (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.A2UgWp (%check) I: [iurt_root_command] ERROR: chroot