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-base-build-362268-43487/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=FalseprintOutput=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-10.0.3-4.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-base-build-362268-43487/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=FalseprintOutput=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.i4Mfru + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf frr-frr-10.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/frr-frr-10.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd frr-frr-10.0.3 + /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-10.0.3 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/0001-fixed-CVE-2024-44070.patch + /usr/bin/git apply --index --reject -p1 - Checking patch bgpd/bgp_attr.c... Hunk #1 succeeded at 2728 (offset 41 lines). Applied patch bgpd/bgp_attr.c cleanly. + /usr/bin/git commit -q -m 0001-fixed-CVE-2024-44070.patch --author 'rpm-build ' + /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 63 (offset 22 lines). Hunk #2 succeeded at 96 (offset 32 lines). Hunk #3 succeeded at 250 (offset 80 lines). Hunk #4 succeeded at 286 (offset 96 lines). Checking patch isisd/isis_lsp.c... Hunk #1 succeeded at 22 (offset -13 lines). Checking patch isisd/isis_pdu.c... Hunk #1 succeeded at 20 (offset -13 lines). Checking patch isisd/isis_te.c... Hunk #1 succeeded at 24 (offset -14 lines). 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 #1 succeeded at 25 (offset -15 lines). Hunk #2 succeeded at 90 (offset -7 lines). Hunk #3 succeeded at 118 (offset -7 lines). Hunk #4 succeeded at 148 (offset -7 lines). Hunk #5 succeeded at 164 (offset -7 lines). Hunk #6 succeeded at 208 (offset -7 lines). Hunk #7 succeeded at 238 (offset -7 lines). Hunk #8 succeeded at 263 (offset -7 lines). Hunk #9 succeeded at 296 (offset -7 lines). Hunk #10 succeeded at 307 (offset -7 lines). Checking patch eigrpd/eigrp_filter.c... Hunk #1 succeeded at 32 (offset -15 lines). Checking patch eigrpd/eigrp_hello.c... Hunk #1 succeeded at 28 (offset -15 lines). Checking patch eigrpd/eigrp_query.c... Hunk #1 succeeded at 23 (offset -15 lines). Checking patch eigrpd/eigrp_reply.c... Hunk #1 succeeded at 27 (offset -15 lines). Checking patch eigrpd/eigrp_siaquery.c... Hunk #1 succeeded at 23 (offset -15 lines). Checking patch eigrpd/eigrp_siareply.c... Hunk #1 succeeded at 22 (offset -15 lines). Checking patch eigrpd/eigrp_snmp.c... Hunk #1 succeeded at 27 (offset -15 lines). Checking patch eigrpd/eigrp_update.c... Hunk #1 succeeded at 27 (offset -15 lines). Checking patch eigrpd/eigrp_cli.c... Hunk #1 succeeded at 11 (offset -14 lines). Hunk #2 succeeded at 836 (offset 110 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/0004-fixed-CVE-2025-61099-to-CVE-2025-61107-1.patch + /usr/bin/git apply --index --reject -p1 - :31: trailing whitespace. * Implement proper validation to ensure functab Checking patch ospfd/ospf_opaque.c... Hunk #1 succeeded at 1299 (offset -3 lines). Applied patch ospfd/ospf_opaque.c cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 0004-fixed-CVE-2025-61099-to-CVE-2025-61107-1.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-fixed-CVE-2025-61099-to-CVE-2025-61107-2.patch + /usr/bin/git apply --index --reject -p1 - :27: trailing whitespace. { :36: trailing whitespace. * Check if lsa.data is NULL to prevent null pointer :37: trailing whitespace. * dereferencing in show_opaque_info_detail :38: trailing whitespace. * when parsing the LSA. Checking patch ospfd/ospf_opaque.c... Hunk #1 succeeded at 1250 (offset -3 lines). Hunk #2 succeeded at 1321 (offset 7 lines). Applied patch ospfd/ospf_opaque.c cleanly. warning: 4 lines add whitespace errors. + /usr/bin/git commit -q -m 0005-fixed-CVE-2025-61099-to-CVE-2025-61107-2.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-fixed-CVE-2025-61099-to-CVE-2025-61107-3.patch + /usr/bin/git apply --index --reject -p1 - Checking patch ospfd/ospf_ext.c... Applied patch ospfd/ospf_ext.c cleanly. + /usr/bin/git commit -q -m 0006-fixed-CVE-2025-61099-to-CVE-2025-61107-3.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-fixed-CVE-2025-61099-to-CVE-2025-61107-4.patch + /usr/bin/git apply --index --reject -p1 - Checking patch ospfd/ospf_ext.c... Checking patch ospfd/ospf_opaque.c... Hunk #1 succeeded at 1250 (offset -3 lines). Hunk #2 succeeded at 1300 (offset -3 lines). Hunk #3 succeeded at 1321 (offset -3 lines). Applied patch ospfd/ospf_ext.c cleanly. Applied patch ospfd/ospf_opaque.c cleanly. + /usr/bin/git commit -q -m 0007-fixed-CVE-2025-61099-to-CVE-2025-61107-4.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-fixed-CVE-2026-37457.patch + /usr/bin/git apply --index --reject -p1 - Checking patch bgpd/bgp_flowspec_util.c... Applied patch bgpd/bgp_flowspec_util.c cleanly. + /usr/bin/git commit -q -m 0008-fixed-CVE-2026-37457.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-fixed-CVE-2026-37459.patch + /usr/bin/git apply --index --reject -p1 - Checking patch bgpd/bgp_attr.c... error: while searching for: tlv_code = stream_getw(s); tlv_length = stream_getw(s); if (length < tlv_length) { zlog_err("%pBP rcvd BGP NHC TLV length %d exceeds remaining length %d", peer, tlv_length, length); bgp_nhc_free(nhc); error: patch failed: bgpd/bgp_attr.c:3887 Applying patch bgpd/bgp_attr.c with 1 reject... Rejected hunk #1. error: Bad exit status from /var/tmp/rpm-tmp.i4Mfru (%prep) Bad exit status from /var/tmp/rpm-tmp.i4Mfru (%prep) RPM build errors: 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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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