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-URI.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-68999-3993/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-URI.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-URI-5.19-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-URI.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-68999-3993/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-URI.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.kM8FCl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf URI-5.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/URI-5.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd URI-5.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c 644 uri-test mode of 'uri-test' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + for F in t/*.t t/*.pl + head -1 t/00-report-prereqs.t + grep -q -e '^#!.*perl\b' + perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' t/00-report-prereqs.t + chmod +x t/00-report-prereqs.t + for F in t/*.t t/*.pl + head -1 t/abs.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/abs.t + chmod +x t/abs.t + for F in t/*.t t/*.pl + head -1 t/clone.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/clone.t + chmod +x t/clone.t + for F in t/*.t t/*.pl + head -1 t/cwd.t + grep -q -e '^#!.*perl\b' + perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' t/cwd.t + chmod +x t/cwd.t + for F in t/*.t t/*.pl + head -1 t/data.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/data.t + chmod +x t/data.t + for F in t/*.t t/*.pl + head -1 t/escape-char.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/escape-char.t + chmod +x t/escape-char.t + for F in t/*.t t/*.pl + head -1 t/escape.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/escape.t + chmod +x t/escape.t + for F in t/*.t t/*.pl + head -1 t/file.t + grep -q -e '^#!.*perl\b' + perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' t/file.t + chmod +x t/file.t + for F in t/*.t t/*.pl + head -1 t/ftp.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/ftp.t + chmod +x t/ftp.t + for F in t/*.t t/*.pl + head -1 t/generic.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/generic.t + chmod +x t/generic.t + for F in t/*.t t/*.pl + head -1 t/gopher.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/gopher.t + chmod +x t/gopher.t + for F in t/*.t t/*.pl + head -1 t/heuristic.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/heuristic.t + chmod +x t/heuristic.t + for F in t/*.t t/*.pl + head -1 t/http.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/http.t + chmod +x t/http.t + for F in t/*.t t/*.pl + head -1 t/idna.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/idna.t + chmod +x t/idna.t + for F in t/*.t t/*.pl + head -1 t/ipv6.t + grep -q -e '^#!.*perl\b' + perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' t/ipv6.t + chmod +x t/ipv6.t + for F in t/*.t t/*.pl + head -1 t/iri.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/iri.t + chmod +x t/iri.t + for F in t/*.t t/*.pl + head -1 t/ldap.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/ldap.t + chmod +x t/ldap.t + for F in t/*.t t/*.pl + head -1 t/mailto.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/mailto.t + chmod +x t/mailto.t + for F in t/*.t t/*.pl + head -1 t/mix.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/mix.t + chmod +x t/mix.t + for F in t/*.t t/*.pl + head -1 t/mms.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/mms.t + chmod +x t/mms.t + for F in t/*.t t/*.pl + head -1 t/news.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/news.t + chmod +x t/news.t + for F in t/*.t t/*.pl + head -1 t/num_eq.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/num_eq.t + chmod +x t/num_eq.t + for F in t/*.t t/*.pl + head -1 t/old-absconf.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/old-absconf.t + chmod +x t/old-absconf.t + for F in t/*.t t/*.pl + head -1 t/old-base.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/old-base.t + chmod +x t/old-base.t + for F in t/*.t t/*.pl + head -1 t/old-file.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/old-file.t + chmod +x t/old-file.t + for F in t/*.t t/*.pl + head -1 t/old-relbase.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/old-relbase.t + chmod +x t/old-relbase.t + for F in t/*.t t/*.pl + head -1 t/path-segments.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/path-segments.t + chmod +x t/path-segments.t + for F in t/*.t t/*.pl + head -1 t/pop.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/pop.t + chmod +x t/pop.t + for F in t/*.t t/*.pl + head -1 t/punycode.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/punycode.t + chmod +x t/punycode.t + for F in t/*.t t/*.pl + head -1 t/query-param.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/query-param.t + chmod +x t/query-param.t + for F in t/*.t t/*.pl + head -1 t/query.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/query.t + chmod +x t/query.t + for F in t/*.t t/*.pl + head -1 t/rel.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/rel.t + chmod +x t/rel.t + for F in t/*.t t/*.pl + head -1 t/rfc2732.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/rfc2732.t + chmod +x t/rfc2732.t + for F in t/*.t t/*.pl + head -1 t/roy-test.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/roy-test.t + chmod +x t/roy-test.t + for F in t/*.t t/*.pl + head -1 t/rsync.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/rsync.t + chmod +x t/rsync.t + for F in t/*.t t/*.pl + head -1 t/rtsp.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/rtsp.t + chmod +x t/rtsp.t + for F in t/*.t t/*.pl + head -1 t/scheme-exceptions.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/scheme-exceptions.t + chmod +x t/scheme-exceptions.t + for F in t/*.t t/*.pl + head -1 t/sip.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/sip.t + chmod +x t/sip.t + for F in t/*.t t/*.pl + head -1 t/sort-hash-query-form.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/sort-hash-query-form.t + chmod +x t/sort-hash-query-form.t + for F in t/*.t t/*.pl + head -1 t/split.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/split.t + chmod +x t/split.t + for F in t/*.t t/*.pl + head -1 t/sq-brackets-legacy.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/sq-brackets-legacy.t + chmod +x t/sq-brackets-legacy.t + for F in t/*.t t/*.pl + head -1 t/sq-brackets.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/sq-brackets.t + chmod +x t/sq-brackets.t + for F in t/*.t t/*.pl + head -1 t/storable.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/storable.t + chmod +x t/storable.t + for F in t/*.t t/*.pl + head -1 t/urn-isbn.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/urn-isbn.t + chmod +x t/urn-isbn.t + for F in t/*.t t/*.pl + head -1 t/urn-oid.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/urn-oid.t + chmod +x t/urn-oid.t + for F in t/*.t t/*.pl + head -1 t/userpass.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/userpass.t + chmod +x t/userpass.t + for F in t/*.t t/*.pl + head -1 t/utf8.t + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/utf8.t + chmod +x t/utf8.t + for F in t/*.t t/*.pl + head -1 t/storable-test.pl + grep -q -e '^#!.*perl\b' + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' t/storable-test.pl + chmod +x t/storable-test.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q9VHP3 + 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 URI-5.19 + perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=true NO_PERLLOCAL=true 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 7. BEGIN failed--compilation aborted at Makefile.PL line 7. error: Bad exit status from /var/tmp/rpm-tmp.q9VHP3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.q9VHP3 (%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-URI.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-URI.spec