Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-62567-2507/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-Math-BigInt-1.9998.39-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-62567-2507/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7hsl5W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Math-BigInt-1.999839 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Math-BigInt-1.999839.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Math-BigInt-1.999839 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find t -name '*.pm' + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00sig.t + chmod +x t/00sig.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01load.t + chmod +x t/01load.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bare_mbf.t + chmod +x t/bare_mbf.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bare_mbi.t + chmod +x t/bare_mbi.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bare_mif.t + chmod +x t/bare_mif.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bfround_numify.t + chmod +x t/bfround_numify.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/big_pi_e.t + chmod +x t/big_pi_e.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigfltpm.t + chmod +x t/bigfltpm.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigintc-import.t + chmod +x t/bigintc-import.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigintc.t + chmod +x t/bigintc.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigintpm.t + chmod +x t/bigintpm.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigints.t + chmod +x t/bigints.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/biglog.t + chmod +x t/biglog.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/bigroot.t + chmod +x t/bigroot.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/calling-class-methods.t + chmod +x t/calling-class-methods.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/calling-constant.t + chmod +x t/calling-constant.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/calling-instance-methods.t + chmod +x t/calling-instance-methods.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/calling-lib1.t + chmod +x t/calling-lib1.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/calling-lib2.t + chmod +x t/calling-lib2.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/config.t + chmod +x t/config.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/downgrade.t + chmod +x t/downgrade.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/inf_nan.t + chmod +x t/inf_nan.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/isa.t + chmod +x t/isa.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/mbf_ali.t + chmod +x t/mbf_ali.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/mbi_ali.t + chmod +x t/mbi_ali.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/mbi_rand.t + chmod +x t/mbi_rand.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/mbimbf.t + chmod +x t/mbimbf.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/nan_cmp.t + chmod +x t/nan_cmp.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/new_overloaded.t + chmod +x t/new_overloaded.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbf0.t + chmod +x t/req_mbf0.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbf1.t + chmod +x t/req_mbf1.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbfa.t + chmod +x t/req_mbfa.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbfi.t + chmod +x t/req_mbfi.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbfn.t + chmod +x t/req_mbfn.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/req_mbfw.t + chmod +x t/req_mbfw.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/require.t + chmod +x t/require.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/round.t + chmod +x t/round.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-16221.t + chmod +x t/rt-16221.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sub_ali.t + chmod +x t/sub_ali.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sub_mbf.t + chmod +x t/sub_mbf.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sub_mbi.t + chmod +x t/sub_mbi.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sub_mif.t + chmod +x t/sub_mif.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/trap.t + chmod +x t/trap.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/upgrade.t + chmod +x t/upgrade.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/upgrade2.t + chmod +x t/upgrade2.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/upgradef.t + chmod +x t/upgradef.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use.t + chmod +x t/use.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib1.t + chmod +x t/use_lib1.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib2.t + chmod +x t/use_lib2.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib3.t + chmod +x t/use_lib3.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib4.t + chmod +x t/use_lib4.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib5.t + chmod +x t/use_lib5.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_lib6.t + chmod +x t/use_lib6.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/use_mbfw.t + chmod +x t/use_mbfw.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/with_sub.t + chmod +x t/with_sub.t + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/alias.inc + chmod +x t/alias.inc + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigFloat/Subclass.pm + chmod +x t/Math/BigFloat/Subclass.pm + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigInt/BareCalc.pm + chmod +x t/Math/BigInt/BareCalc.pm + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigInt/Subclass.pm + chmod +x t/Math/BigInt/Subclass.pm + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigInt/Scalar.pm + chmod +x t/Math/BigInt/Scalar.pm + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigInt/Lib/Minimal.pm + chmod +x t/Math/BigInt/Lib/Minimal.pm + for F in t/*.t t/alias.inc `find t -name *.pm` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Math/BigInt/Lib/TestUtil.pm + chmod +x t/Math/BigInt/Lib/TestUtil.pm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tyJKnh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Math-BigInt-1.999839 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 13. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 13. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tyJKnh (%build) Bad exit status from /var/tmp/rpm-tmp.tyJKnh (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Math-BigInt.spec