Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iproute.spec'], chrootPath='/var/lib/mock/dist-oc8-build-20546-5261/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iproute.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/iproute-5.15.0-4.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/iproute.spec'], chrootPath='/var/lib/mock/dist-oc8-build-20546-5261/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/iproute.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.DloHnq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iproute2-5.15.0 + /usr/bin/xz -dc /builddir/build/SOURCES/iproute2-5.15.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iproute2-5.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-configure-fix-parsing-issue-on-include_dir-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-configure-fix-parsing-issue-on-libbpf_dir-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-configure-fix-parsing-issue-with-more-than-one-value.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-configure-simplify-options-parsing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-configure-support-param-value-style.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-configure-add-the-prefix-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-configure-add-the-libdir-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-vdpa-align-uapi-headers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-vdpa-Enable-user-to-query-vdpa-device-config-layout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-vdpa-Enable-user-to-set-mac-address-of-vdpa-device.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0011-vdpa-Enable-user-to-set-mtu-of-the-vdpa-device.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-tc-u32-add-support-for-json-output.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-tc-u32-add-json-support-in-print_raw-print_ipv4-prin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0014-Update-kernel-headers-and-import-virtio_net.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0015-uapi-update-vdpa.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0016-vdpa-Remove-unsupported-command-line-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0017-vdpa-Allow-for-printing-negotiated-features-of-a-dev.patch + /usr/bin/cat /builddir/build/SOURCES/0018-vdpa-Support-for-configuring-max-VQ-pairs-for-a-devi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0019-vdpa-Support-reading-device-features.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0020-vdpa-Update-man-page-with-added-support-to-configure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yUsIDq + umask 022 + cd /builddir/build/BUILD + cd iproute2-5.15.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info TC schedulers ATM no IPT using xtables IPSET yes lib directory: /usr/lib64 iptables modules directory: /usr/lib64/xtables libc has setns: yes libc has name_to_handle_at: yes SELinux support: yes libbpf support: yes libbpf version 0.4.0 ELF support: yes libmnl support: yes Berkeley DB: yes need for strlcpy: yes libcap support: yes + /usr/bin/make -O -j32 lib CC ll_proto.o CC bpf_glue.o CC mpls_pton.o CC ll_addr.o CC ll_types.o CC color.o CC mpls_ntop.o CC inet_proto.o CC exec.o CC cg_map.o CC libgenl.o CC json_print_math.o CC names.o CC namespace.o CC utils_math.o CC json_writer.o CC fs.o CC mnl_utils.o CC bpf_libbpf.o CC json_print.o CC ll_map.o CC rt_names.o CC libnetlink.o AR libnetlink.a CC utils.o CC bpf_legacy.o AR libutil.a ip CC iplink_dummy.o CC rtm_map.o CC ipprefix.o CC iplink_team.o CC iplink_ifb.o CC iplink_nlmon.o CC iplink_vcan.o CC iplink_vxcan.o CC link_veth.o CC iptoken.o CC ipaddrlabel.o CC ip.o CC ipmonitor.o CC ipmroute.o CC xfrm_monitor.o CC link_xfrm.o CC tunnel.o CC iplink_vlan.o CC ipmaddr.o CC iplink_xdp.o CC iptuntap.o CC link_vti6.o CC link_vti.o CC iplink_ipoib.o CC ip6tunnel.o CC iplink_macvlan.o CC ipntable.o CC ipnetconf.o CC iplink_bond_slave.o CC iplink_hsr.o CC link_gre.o CC iptunnel.o CC ipneigh.o CC iplink_ipvlan.o CC iplink_vrf.o CC iplink_xstats.o CC tcp_metrics.o CC iplink_can.o CC link_ip6tnl.o CC iplink_netdevsim.o CC iplink_rmnet.o CC iplink_bridge_slave.o CC ipnetns.o CC link_iptnl.o CC ipfou.o CC iprule.o CC ipseg6.o CC ipl2tp.o CC ipila.o CC iplink_wwan.o CC iplink_vxlan.o CC iplink_bareudp.o CC iplink_geneve.o CC xfrm_policy.o CC link_gre6.o CC iplink_bridge.o CC iplink_bond.o CC ipioam6.o CC rtmon.o CC ipvrf.o CC xfrm_state.o LINK rtmon CC ipmptcp.o CC ipxfrm.o CC ipnexthop.o CC iplink.o CC ipmacsec.o CC ipaddress.o CC iproute_lwtunnel.o CC iproute.o LINK ip tc LEX emp_ematch.lex.c YACC emp_ematch.tab.c CC m_estimator.o CC tc_exec.o CC tc_monitor.o CC q_multiq.o CC q_fifo.o CC q_skbprio.o CC q_rr.o CC q_prio.o CC f_basic.o CC f_fw.o CC f_cgroup.o CC f_route.o CC q_sfb.o CC q_ingress.o CC q_choke.o CC tc.o CC f_bpf.o CC q_sfq.o CC q_red.o CC m_police.o CC q_tbf.o CC q_dsmark.o CC f_tcindex.o CC q_drr.o CC f_flow.o CC q_qfq.o CC f_rsvp.o CC m_ematch.o CC tc_qdisc.o CC m_gact.o CC tc_class.o CC m_nat.o CC q_cbq.o CC m_simple.o CC m_mirred.o CC m_connmark.o CC m_mpls.o CC q_hfsc.o CC q_htb.o CC m_skbmod.o CC m_action.o CC m_csum.o CC m_skbedit.o CC p_icmp.o CC m_bpf.o CC m_sample.o CC tc_filter.o CC p_eth.o CC p_ip.o CC q_gred.o CC m_ife.o CC p_ip6.o CC m_vlan.o CC m_ctinfo.o CC tc_util.o CC p_udp.o CC p_tcp.o CC q_netem.o CC em_canid.o CC q_clsact.o CC em_nbyte.o CC em_u32.o CC m_ct.o CC m_gate.o CC em_cmp.o CC q_plug.o CC q_codel.o CC q_cbs.o CC m_pedit.o CC f_matchall.o CC em_ipt.o CC e_bpf.o CC q_hhf.o CC q_etf.o CC m_tunnel_key.o CC q_fq_codel.o CC tc_red.o CC em_ipset.o CC q_fq_pie.o CC tc_cbq.o CC tc_estimator.o CC tc_core.o CC q_pie.o CC q_mqprio.o CC tc_stab.o CC q_ets.o CC q_fq.o CC em_meta.o CC tc_qevent.o AR libtc.a CC f_u32.o CC q_taprio.o CC emp_ematch.tab.o CC m_xt.so CC q_cake.o CC emp_ematch.lex.o CC f_flower.o LINK tc rm emp_ematch.lex.c bridge CC monitor.o CC bridge.o CC mdb.o CC link.o CC fdb.o CC vlan.o LINK bridge misc YACC ssfilter.tab.c CC ssfilter_check.o CC lnstat_util.o CC lnstat.o LINK lnstat CC ssfilter.tab.o CC rtacct CC arpd CC nstat CC ifstat CC ss.o LINK ss netem gcc -I../include -o pareto pareto.c -lm gcc -I../include -o normal normal.c -lm gcc -I../include -o paretonormal paretonormal.c -lm ./pareto > pareto.dist gcc -I../include -o maketable maketable.c -lm ./normal > normal.dist ./paretonormal > paretonormal.dist ./maketable experimental.dat > experimental.dist genl CC genl.o CC ctrl.o LINK genl tipc CC msg.o CC socket.o CC cmdl.o CC tipc.o CC peer.o CC nametable.o CC misc.o CC media.o CC node.o CC link.o CC bearer.o LINK tipc devlink CC mnlg.o CC devlink.o LINK devlink rdma CC stat-mr.o CC res-pd.o CC res-cq.o CC res-mr.o CC res-ctx.o CC rdma.o CC sys.o CC dev.o CC res-cmid.o CC res-qp.o CC res-srq.o CC link.o CC res.o CC utils.o CC stat.o LINK rdma dcb CC dcb_maxrate.o CC dcb_dcbx.o CC dcb_buffer.o CC dcb_pfc.o CC dcb_ets.o CC dcb.o CC dcb_app.o LINK dcb man make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all'. sed \ -e "s|@NETNS_ETC_DIR@|/etc/netns|g" \ -e "s|@NETNS_RUN_DIR@|/var/run/netns|g" \ -e "s|@SYSCONFDIR@|/etc/iproute2|g" \ ip-address.8.in > ip-address.8 sed \ -e "s|@NETNS_ETC_DIR@|/etc/netns|g" \ -e "s|@NETNS_RUN_DIR@|/var/run/netns|g" \ -e "s|@SYSCONFDIR@|/etc/iproute2|g" \ ip-netns.8.in > ip-netns.8 sed \ -e "s|@NETNS_ETC_DIR@|/etc/netns|g" \ -e "s|@NETNS_RUN_DIR@|/var/run/netns|g" \ -e "s|@SYSCONFDIR@|/etc/iproute2|g" \ ip-link.8.in > ip-link.8 sed \ -e "s|@NETNS_ETC_DIR@|/etc/netns|g" \ -e "s|@NETNS_RUN_DIR@|/var/run/netns|g" \ -e "s|@SYSCONFDIR@|/etc/iproute2|g" \ ip-route.8.in > ip-route.8 vdpa CC vdpa.o vdpa.c:446:3: error: 'VIRTIO_F_ACCESS_PLATFORM' undeclared here (not in a function); did you mean 'VIRTIO_F_ORDER_PLATFORM'? [VIRTIO_F_ACCESS_PLATFORM - VIRTIO_TRANSPORT_F_START] = "ACCESS_PLATFORM", ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTIO_F_ORDER_PLATFORM vdpa.c:446:3: error: array index in initializer not of integer type vdpa.c:446:3: note: (near initialization for 'ext_feature_strs') make[1]: *** [../config.mk:56: vdpa.o] Error 1 make: *** [Makefile:65: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.yUsIDq (%build) Bad exit status from /var/tmp/rpm-tmp.yUsIDq (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --target x86_64 --nodeps --nocheck /builddir/build/SPECS/iproute.spec