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-CGI.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69462-3999/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=982gid=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-CGI.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-CGI-4.54-5.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-CGI.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69462-3999/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=982gid=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-CGI.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.OxnU3D + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CGI-4.54 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/CGI-4.54.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd CGI-4.54 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f iso8859-1 -t utf-8 + mv Changes.1 Changes + chmod -c -x examples/clickable_image.cgi examples/cookie.cgi examples/crash.cgi examples/file_upload.cgi examples/mojo_proxy.pl examples/wikipedia_example.cgi examples/wilogo.gif mode of 'examples/clickable_image.cgi' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/cookie.cgi' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/crash.cgi' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/file_upload.cgi' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/wikipedia_example.cgi' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) ++ find t -name '*.t' + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/user_agent.t + chmod +x t/user_agent.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/popup_menu.t + chmod +x t/popup_menu.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/multipart_globals.t + chmod +x t/multipart_globals.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/multipart_init.t + chmod +x t/multipart_init.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/utf8.t + chmod +x t/utf8.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/upload_quoted_unquoted.t + chmod +x t/upload_quoted_unquoted.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/init.t + chmod +x t/init.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/upload.t + chmod +x t/upload.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/charset.t + chmod +x t/charset.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/multipart_start.t + chmod +x t/multipart_start.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/changes.t + chmod +x t/changes.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/gh-155.t + chmod +x t/gh-155.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/start_end_asterisk.t + chmod +x t/start_end_asterisk.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/cgi.t + chmod +x t/cgi.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/uploadInfo.t + chmod +x t/uploadInfo.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/nph.t + chmod +x t/headers/nph.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/charset.t + chmod +x t/headers/charset.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/attachment.t + chmod +x t/headers/attachment.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/cookie.t + chmod +x t/headers/cookie.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/default.t + chmod +x t/headers/default.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/p3p.t + chmod +x t/headers/p3p.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/type.t + chmod +x t/headers/type.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers/target.t + chmod +x t/headers/target.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-31107.t + chmod +x t/rt-31107.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/delete.t + chmod +x t/delete.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/end_form.t + chmod +x t/end_form.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/form.t + chmod +x t/form.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/push.t + chmod +x t/push.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/autoescape.t + chmod +x t/autoescape.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-52469.t + chmod +x t/rt-52469.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/redirect_query_string.t + chmod +x t/redirect_query_string.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/util-58.t + chmod +x t/util-58.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/unescapeHTML.t + chmod +x t/unescapeHTML.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/checkbox_group.t + chmod +x t/checkbox_group.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/url.t + chmod +x t/url.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/save_read_roundtrip.t + chmod +x t/save_read_roundtrip.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/util.t + chmod +x t/util.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/cookie.t + chmod +x t/cookie.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/pretty.t + chmod +x t/pretty.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/start_end_end.t + chmod +x t/start_end_end.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/postdata.t + chmod +x t/postdata.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sorted.t + chmod +x t/sorted.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/param_list_context.t + chmod +x t/param_list_context.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-75628.t + chmod +x t/rt-75628.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/headers.t + chmod +x t/headers.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-57524.t + chmod +x t/rt-57524.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/compiles_pod.t + chmod +x t/compiles_pod.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/no_tabindex.t + chmod +x t/no_tabindex.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/command_line.t + chmod +x t/command_line.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/html_functions.t + chmod +x t/html_functions.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/http.t + chmod +x t/http.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/can.t + chmod +x t/can.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/query_string.t + chmod +x t/query_string.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/rt-84767.t + chmod +x t/rt-84767.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/request.t + chmod +x t/request.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/hidden.t + chmod +x t/hidden.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/param_fetch.t + chmod +x t/param_fetch.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/function.t + chmod +x t/function.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/start_end_start.t + chmod +x t/start_end_start.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Dump.t + chmod +x t/Dump.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/append_query.t + chmod +x t/append_query.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/arbitrary_handles.t + chmod +x t/arbitrary_handles.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/html.t + chmod +x t/html.t + for F in `find t -name *.t` + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/carp.t + chmod +x t/carp.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IVMUfv + 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 CGI-4.54 + 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 1. BEGIN failed--compilation aborted at Makefile.PL line 1. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.IVMUfv (%build) Bad exit status from /var/tmp/rpm-tmp.IVMUfv (%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-CGI.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-CGI.spec