Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-threads.spec'], chrootPath='/var/lib/mock/module-perl-5.32-8070020221025055029-d4344feb-build-149574-57863/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-threads.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-threads.spec'], chrootPath='/var/lib/mock/module-perl-5.32-8070020221025055029-d4344feb-build-149574-57863/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-threads.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1P8xL2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf threads-2.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/threads-2.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd threads-2.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (threads-2.21-Upgrade-to-2.22.patch):' Patch #0 (threads-2.21-Upgrade-to-2.22.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/threads.pm patching file threads.xs + echo 'Patch #1 (threads-2.21-Upgrade-to-2.25.patch):' Patch #1 (threads-2.21-Upgrade-to-2.25.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/threads.pm patching file threads.xs + chmod -x examples/pool.pl examples/pool_reuse.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KeUSaK + umask 022 + cd /builddir/build/BUILD + cd threads-2.21 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for threads + /usr/bin/make -O -j64 Running Mkbootstrap for threads () chmod 644 "threads.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.bs 644 cp lib/threads.pm blib/lib/threads.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' threads.xs > threads.xsc mv threads.xsc threads.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"2.25\" -DXS_VERSION=\"2.25\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAS_PPPORT_H threads.c threads.xs: In function 'S_ithread_run': threads.xs:583:5: warning: implicit declaration of function 'thread_locale_init'; did you mean 'pthread_cond_init'? [-Wimplicit-function-declaration] thread_locale_init(); ^~~~~~~~~~~~~~~~~~ pthread_cond_init threads.xs:670:5: warning: implicit declaration of function 'thread_locale_term'; did you mean 'pthread_create'? [-Wimplicit-function-declaration] thread_locale_term(); ^~~~~~~~~~~~~~~~~~ pthread_create rm -f blib/arch/auto/threads/threads.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong threads.o -o blib/arch/auto/threads/threads.so \ -lpthread -lperl \ chmod 755 blib/arch/auto/threads/threads.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7ht3Xm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 + cd threads-2.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64/usr/lib64/perl5/vendor_perl/auto/threads/threads.so Installing /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64/usr/lib64/perl5/vendor_perl/threads.pm Installing /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64/usr/share/man/man3/threads.3pm + find /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 2.25-457.module+an8.7.0+10890+cabd1b03 --unique-debug-suffix -2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 --unique-debug-src-base perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/threads-2.21 extracting debug info from /builddir/build/BUILDROOT/perl-threads-2.25-457.module+an8.7.0+10890+cabd1b03.x86_64/usr/lib64/perl5/vendor_perl/auto/threads/threads.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 632 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.40CplJ + umask 022 + cd /builddir/build/BUILD + cd threads-2.21 + unset GIT_DIR PERL_BUILD_PACKAGING PERL_CORE PERL_RUNPERL_DEBUG PERL5_ITHREADS_STACK_SIZE RUN_MAINTAINER_TESTS + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.bs 644 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 load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/basic.t line 33. Compilation failed in require at t/basic.t line 33. BEGIN failed--compilation aborted at t/basic.t line 33. t/basic.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 34/34 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/blocks.t line 14. Compilation failed in require at t/blocks.t line 14. BEGIN failed--compilation aborted at t/blocks.t line 14. t/blocks.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/context.t line 14. Compilation failed in require at t/context.t line 14. BEGIN failed--compilation aborted at t/context.t line 14. t/context.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/end.t line 14. Compilation failed in require at t/end.t line 14. BEGIN failed--compilation aborted at t/end.t line 14. t/end.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run # Failed test 1 - at t/err.t line 17 at ./t/test.pl line 612 # got "Can\'t load \'/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so\' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193.\n\000 at (eval 10) line 1.\nCompilation failed in require at (eval 10) line 1.\nBEGIN failed--compilation aborted at (eval 10) line 1.\n" # expected "" # use threads Can't locate object method "create" via package "threads" at t/err.t line 24. # Looks like you planned 10 tests but ran 1. t/err.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/exit.t line 17. Compilation failed in require at t/exit.t line 17. BEGIN failed--compilation aborted at t/exit.t line 17. t/exit.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/free.t line 19. Compilation failed in require at t/free.t line 19. BEGIN failed--compilation aborted at t/free.t line 19. t/free.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/free2.t line 19. Compilation failed in require at t/free2.t line 19. BEGIN failed--compilation aborted at t/free2.t line 19. t/free2.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/join.t line 14. Compilation failed in require at t/join.t line 14. BEGIN failed--compilation aborted at t/join.t line 14. t/join.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/kill.t line 14. Compilation failed in require at t/kill.t line 14. BEGIN failed--compilation aborted at t/kill.t line 14. t/kill.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/kill2.t line 15. Compilation failed in require at t/kill2.t line 15. BEGIN failed--compilation aborted at t/kill2.t line 15. t/kill2.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/kill3.t line 19. Compilation failed in require at t/kill3.t line 19. BEGIN failed--compilation aborted at t/kill3.t line 19. t/kill3.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run # Failed test 1 - at t/libc.t line 17 at ./t/test.pl line 612 # got "Can\'t load \'/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so\' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193.\n\000 at (eval 10) line 1.\nCompilation failed in require at (eval 10) line 1.\nBEGIN failed--compilation aborted at (eval 10) line 1.\n" # expected "" # use threads Can't locate object method "create" via package "threads" at t/libc.t line 42. # Looks like you planned 11 tests but ran 1. t/libc.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/list.t line 33. Compilation failed in require at t/list.t line 33. BEGIN failed--compilation aborted at t/list.t line 33. t/list.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/15 subtests t/no_threads.t ..... skipped: Perl compiled with 'useithreads' t/pod.t ............ skipped: Module maintainer tests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/problems.t line 14. Compilation failed in require at t/problems.t line 14. BEGIN failed--compilation aborted at t/problems.t line 14. t/problems.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/stack.t line 33. Compilation failed in require at t/stack.t line 33. BEGIN failed--compilation aborted at t/stack.t line 33. t/stack.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 18/18 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/stack_env.t line 35. Compilation failed in require at t/stack_env.t line 35. BEGIN failed--compilation aborted at t/stack_env.t line 35. t/stack_env.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/4 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/state.t line 14. Compilation failed in require at t/state.t line 14. BEGIN failed--compilation aborted at t/state.t line 14. t/state.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/stress_cv.t line 35. Compilation failed in require at t/stress_cv.t line 35. BEGIN failed--compilation aborted at t/stress_cv.t line 35. t/stress_cv.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 61/61 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/stress_re.t line 35. Compilation failed in require at t/stress_re.t line 35. BEGIN failed--compilation aborted at t/stress_re.t line 35. t/stress_re.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 61/61 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/stress_string.t line 35. Compilation failed in require at t/stress_string.t line 35. BEGIN failed--compilation aborted at t/stress_string.t line 35. t/stress_string.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 61/61 subtests Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/thread.t line 15. Compilation failed in require at t/thread.t line 15. BEGIN failed--compilation aborted at t/thread.t line 15. t/thread.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't load '/builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so' for module threads: /builddir/build/BUILD/threads-2.21/blib/arch/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/lib64/perl5/DynaLoader.pm line 193. at t/unique.t line 18. Compilation failed in require at t/unique.t line 18. BEGIN failed--compilation aborted at t/unique.t line 18. t/unique.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/basic.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 34 tests but ran 0. t/blocks.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/context.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/end.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/err.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 10 tests but ran 1. t/exit.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/free.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/free2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/join.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/kill.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/kill2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/kill3.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/libc.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 1. t/list.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 15 tests but ran 0. t/problems.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/stack.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 18 tests but ran 0. t/stack_env.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 0. t/state.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/stress_cv.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 61 tests but ran 0. t/stress_re.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 61 tests but ran 0. t/stress_string.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 61 tests but ran 0. t/thread.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/unique.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=25, Tests=2, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.32 cusr 0.06 csys = 0.44 CPU) Result: FAIL Failed 23/25 test programs. 2/2 subtests failed. make: *** [Makefile:930: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.40CplJ (%check) Bad exit status from /var/tmp/rpm-tmp.40CplJ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-threads.spec