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-SNMP_Session.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-67487-3603/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-SNMP_Session.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-SNMP_Session-1.13-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-SNMP_Session.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-67487-3603/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-SNMP_Session.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.lduB7k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snmp-session-ea593f051e258c0730f6ba3836053a010294a728 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/snmp-session-ea593f0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snmp-session-ea593f051e258c0730f6ba3836053a010294a728 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm Net_SNMP_util.pm + perl -pi -e 's{^#!/usr/local/bin/perl\b}{#!/usr/bin/perl}' test/README test/SNMPAgent.pm test/arp test/asn1-test.pl test/atm-cfgmaker test/atol-test.c test/bad-trap.pl test/bay-atm-test.pl test/ber-test.pl test/bgpls test/bridge-list-fdb test/cammer test/capturetest.pl test/cisco-config-history test/cisco-cpus test/cisco-list-cards test/cisco-memory test/cisco-tftp.pl test/counter64-test.pl test/d.pl test/digital-bug test/discover test/entls test/fore-test.pl test/hex-test.pl test/if-counters.pl test/if-status.pl test/if-to-routes.pl test/iftop test/inexist.pl test/ip-addr-to-if-index test/lambda-monitor.pl test/lambda-webmon.pl test/list-bgp4-neighbors test/list-bgp4-table test/list-ospf-neighbors test/look-at-counters.pl test/ls1010-list-vcls test/make-cisco-products.pl test/map-table.pl test/max-list-sessions test/mcount.pl test/mdebug test/mrouted-genconf test/mrtg-ipmcast test/msdpls test/mtf.pl test/negative-counter.pl test/party-test.pl test/pnni-find-ilmi-neighbors.pl test/qosls test/router-stats.pl test/sequence-bug.pl test/set-test.pl test/shipmr test/snmpmap_table-test.pl test/snmpspeed.pl test/snmptrap.note test/snmptrap.pl test/snmpwalkh.pl test/sorrento-nest-list test/sun-find-process test/sun-ps test/test-table.pl test/test.pl test/trap-listener test/trap-send test/v6-list-prefixes test/vc-counters.pl test/verio-problem.pl test/walk-intf.pl test/walk-test.pl test/wwwtest + chmod -c 644 test/README test/SNMPAgent.pm test/arp test/asn1-test.pl test/atm-cfgmaker test/atol-test.c test/bad-trap.pl test/bay-atm-test.pl test/ber-test.pl test/bgpls test/bridge-list-fdb test/cammer test/capturetest.pl test/cisco-config-history test/cisco-cpus test/cisco-list-cards test/cisco-memory test/cisco-tftp.pl test/counter64-test.pl test/d.pl test/digital-bug test/discover test/entls test/fore-test.pl test/hex-test.pl test/if-counters.pl test/if-status.pl test/if-to-routes.pl test/iftop test/inexist.pl test/ip-addr-to-if-index test/lambda-monitor.pl test/lambda-webmon.pl test/list-bgp4-neighbors test/list-bgp4-table test/list-ospf-neighbors test/look-at-counters.pl test/ls1010-list-vcls test/make-cisco-products.pl test/map-table.pl test/max-list-sessions test/mcount.pl test/mdebug test/mrouted-genconf test/mrtg-ipmcast test/msdpls test/mtf.pl test/negative-counter.pl test/party-test.pl test/pnni-find-ilmi-neighbors.pl test/qosls test/router-stats.pl test/sequence-bug.pl test/set-test.pl test/shipmr test/snmpmap_table-test.pl test/snmpspeed.pl test/snmptrap.note test/snmptrap.pl test/snmpwalkh.pl test/sorrento-nest-list test/sun-find-process test/sun-ps test/test-table.pl test/test.pl test/trap-listener test/trap-send test/v6-list-prefixes test/vc-counters.pl test/verio-problem.pl test/walk-intf.pl test/walk-test.pl test/wwwtest mode of 'test/arp' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/asn1-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/bay-atm-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/ber-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cammer' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cisco-config-history' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cisco-cpus' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cisco-list-cards' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cisco-memory' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/cisco-tftp.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/d.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/digital-bug' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/discover' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/fore-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/hex-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/if-counters.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/if-status.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/if-to-routes.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/inexist.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/ip-addr-to-if-index' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/lambda-webmon.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/list-bgp4-neighbors' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/list-ospf-neighbors' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/look-at-counters.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/ls1010-list-vcls' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/max-list-sessions' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/mcount.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/mdebug' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/mrouted-genconf' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/msdpls' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/mtf.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/party-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/pnni-find-ilmi-neighbors.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/qosls' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/router-stats.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/set-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/shipmr' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/sun-ps' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/test-table.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/trap-listener' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/trap-send' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/walk-test.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'test/wwwtest' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ldjUwL + 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 snmp-session-ea593f051e258c0730f6ba3836053a010294a728 + perl Makefile.PL INSTALLDIRS=vendor 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. error: Bad exit status from /var/tmp/rpm-tmp.ldjUwL (%build) Bad exit status from /var/tmp/rpm-tmp.ldjUwL (%build) RPM build errors: 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-SNMP_Session.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-SNMP_Session.spec