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 x86_64 --nodeps /builddir/build/SPECS/frr.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-66539-3338/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 x86_64 --nodeps /builddir/build/SPECS/frr.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 Wrote: /builddir/build/SRPMS/frr-8.4-5.ocs23.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/frr.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-66539-3338/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 x86_64 --nodeps /builddir/build/SPECS/frr.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Chc57X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf frr-frr-8.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/frr-8.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd frr-frr-8.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'frr-8.4 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-enable-openssl.patch + /usr/bin/git apply --index --reject -p1 - Checking patch lib/subdir.am... Hunk #1 succeeded at 57 (offset 16 lines). Hunk #2 succeeded at 85 (offset 21 lines). Hunk #3 succeeded at 227 (offset 57 lines). Hunk #4 succeeded at 256 (offset 66 lines). Checking patch isisd/isis_lsp.c... Checking patch isisd/isis_pdu.c... Checking patch isisd/isis_te.c... Hunk #1 succeeded at 39 (offset 1 line). Applied patch lib/subdir.am cleanly. Applied patch isisd/isis_lsp.c cleanly. Applied patch isisd/isis_pdu.c cleanly. Applied patch isisd/isis_te.c cleanly. + /usr/bin/git commit -q -m 0002-enable-openssl.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-disable-eigrp-crypto.patch + /usr/bin/git apply --index --reject -p1 - Checking patch eigrpd/eigrp_packet.c... Hunk #2 succeeded at 105 (offset 8 lines). Hunk #3 succeeded at 133 (offset 8 lines). Hunk #4 succeeded at 163 (offset 8 lines). Hunk #5 succeeded at 179 (offset 8 lines). Hunk #6 succeeded at 223 (offset 8 lines). Hunk #7 succeeded at 253 (offset 8 lines). Hunk #8 succeeded at 278 (offset 8 lines). Hunk #9 succeeded at 311 (offset 8 lines). Hunk #10 succeeded at 322 (offset 8 lines). Checking patch eigrpd/eigrp_filter.c... Checking patch eigrpd/eigrp_hello.c... Checking patch eigrpd/eigrp_query.c... Checking patch eigrpd/eigrp_reply.c... Checking patch eigrpd/eigrp_siaquery.c... Checking patch eigrpd/eigrp_siareply.c... Checking patch eigrpd/eigrp_snmp.c... Checking patch eigrpd/eigrp_update.c... Checking patch eigrpd/eigrp_cli.c... Hunk #2 succeeded at 733 (offset 7 lines). Applied patch eigrpd/eigrp_packet.c cleanly. Applied patch eigrpd/eigrp_filter.c cleanly. Applied patch eigrpd/eigrp_hello.c cleanly. Applied patch eigrpd/eigrp_query.c cleanly. Applied patch eigrpd/eigrp_reply.c cleanly. Applied patch eigrpd/eigrp_siaquery.c cleanly. Applied patch eigrpd/eigrp_siareply.c cleanly. Applied patch eigrpd/eigrp_snmp.c cleanly. Applied patch eigrpd/eigrp_update.c cleanly. Applied patch eigrpd/eigrp_cli.c cleanly. + /usr/bin/git commit -q -m 0003-disable-eigrp-crypto.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-remove-grpc-test.patch + /usr/bin/git apply --index --reject -p1 - Checking patch tests/lib/subdir.am... Applied patch tests/lib/subdir.am cleanly. + /usr/bin/git commit -q -m 0005-remove-grpc-test.patch --author 'rpm-build ' + mkdir selinux + cp -p /builddir/build/SOURCES/frr.fc /builddir/build/SOURCES/frr.te /builddir/build/SOURCES/frr.if selinux + sed -r -i 's/(AX_CXX_COMPILE_STDCXX\(\[)11(\])/\117\2/' configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eQKmkq + 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/lib64/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/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd frr-frr-8.4 + autoreconf -ivf 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/bin/autoreconf line 48. BEGIN failed--compilation aborted at /usr/bin/autoreconf line 48. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.eQKmkq (%build) Bad exit status from /var/tmp/rpm-tmp.eQKmkq (%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/frr.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 x86_64 --nodeps /builddir/build/SPECS/frr.spec