Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-560857-90672/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.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 setting SOURCE_DATE_EPOCH=1785801600 Wrote: /builddir/build/SRPMS/perl-Syntax-Keyword-Try-0.31-1.an27.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-560857-90672/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.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 setting SOURCE_DATE_EPOCH=1785801600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fQiA5l Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1h4f0O + umask 022 + cd /builddir/build/BUILD/perl-Syntax-Keyword-Try-0.31-build + cd /builddir/build/BUILD/perl-Syntax-Keyword-Try-0.31-build + rm -rf Syntax-Keyword-Try-0.31 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Syntax-Keyword-Try-0.31.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Syntax-Keyword-Try-0.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/XS::Parse::Keyword::Builder\x27 => \x270\.35/XS::Parse::Keyword::Builder\x27 => \x270.32/' Build.PL + sed -i 's/XS::Parse::Keyword\x27 => \x270\.35/XS::Parse::Keyword\x27 => \x270.32/' Build.PL + sed -i 's/"XS::Parse::Keyword::Builder" : "0\.35"/"XS::Parse::Keyword::Builder" : "0.32"/' META.json + sed -i 's/"XS::Parse::Keyword" : "0\.35"/"XS::Parse::Keyword" : "0.32"/' META.json + sed -i 's/XS::Parse::Keyword::Builder: \x270\.35/XS::Parse::Keyword::Builder: \x270.32/' META.yml + sed -i 's/XS::Parse::Keyword: \x270\.35/XS::Parse::Keyword: \x270.32/' META.yml + for F in t/80await+SKT.t t/80defer+SKT.t t/99pod.t + rm -f t/80await+SKT.t + perl -i -ne 'print $_ unless m{\A\Qt/80await+SKT.t\E\b}' MANIFEST + for F in t/80await+SKT.t t/80defer+SKT.t t/99pod.t + rm -f t/80defer+SKT.t + perl -i -ne 'print $_ unless m{\A\Qt/80defer+SKT.t\E\b}' MANIFEST + for F in t/80await+SKT.t t/80defer+SKT.t t/99pod.t + rm -f t/99pod.t + perl -i -ne 'print $_ unless m{\A\Qt/99pod.t\E\b}' MANIFEST + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00use.t + chmod +x t/00use.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01trycatch.t + chmod +x t/01trycatch.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/02tryfinally.t + chmod +x t/02tryfinally.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/03trycatchfinally.t + chmod +x t/03trycatchfinally.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/04catch-types.t + chmod +x t/04catch-types.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/10snail.t + chmod +x t/10snail.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/11loop.t + chmod +x t/11loop.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/12return.t + chmod +x t/12return.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/13die-in-finally.t + chmod +x t/13die-in-finally.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/14try-localises.t + chmod +x t/14try-localises.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/15context.t + chmod +x t/15context.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/16final-expr.t + chmod +x t/16final-expr.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/30compat.t + chmod +x t/30compat.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/70deparse.t + chmod +x t/70deparse.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/90rt123547.t + chmod +x t/90rt123547.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/90rt125971.t + chmod +x t/90rt125971.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qp0UAk + umask 022 + cd /builddir/build/BUILD/perl-Syntax-Keyword-Try-0.31-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-hardened-ld-errors -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Syntax-Keyword-Try-0.31 + mkdir -p gcc-workaround + cat + chmod +x gcc-workaround/gcc + export PATH=/builddir/build/BUILD/perl-Syntax-Keyword-Try-0.31-build/Syntax-Keyword-Try-0.31/gcc-workaround:/usr/bin:/bin:/usr/sbin:/sbin + PATH=/builddir/build/BUILD/perl-Syntax-Keyword-Try-0.31-build/Syntax-Keyword-Try-0.31/gcc-workaround:/usr/bin:/bin:/usr/sbin:/sbin + perl Build.PL --installdirs=vendor '--optimize=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' Can't locate File/ShareDir.pm in @INC (you may need to install the File::ShareDir module) (@INC entries checked: /usr/local/lib64/perl5/5.42 /usr/local/share/perl5/5.42 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib64/perl5/vendor_perl/XS/Parse/Keyword/Builder.pm line 75. error: Bad exit status from /var/tmp/rpm-tmp.Qp0UAk (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Qp0UAk (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.spec'\n", 1)] 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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Syntax-Keyword-Try.spec'