BUILDSTDERR: IFF_DYNAMIC = 1<<15, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here BUILDSTDERR: IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:36, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' BUILDSTDERR: struct ifmap { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:28, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/net/if.h:111:8: note: originally defined here BUILDSTDERR: struct ifmap BUILDSTDERR: ^~~~~ CC vrrp_notify.o BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:36, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' BUILDSTDERR: struct ifreq { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:28, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/net/if.h:126:8: note: originally defined here BUILDSTDERR: struct ifreq BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:36, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' BUILDSTDERR: struct ifconf { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:28, BUILDSTDERR: from ./../include/vrrp_ipaddress.h:39, BUILDSTDERR: from ./../include/vrrp_arp.h:37, BUILDSTDERR: from vrrp.c:29: BUILDSTDERR: /usr/include/net/if.h:176:8: note: originally defined here BUILDSTDERR: struct ifconf BUILDSTDERR: ^~~~~~ CC vrrp_scheduler.o CC vrrp_sync.o BUILDSTDERR: make[2]: *** [Makefile:406: vrrp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/keepalived-1.4.4/keepalived/vrrp' make[1]: Leaving directory '/builddir/build/BUILD/keepalived-1.4.4/keepalived' BUILDSTDERR: make[1]: *** [Makefile:578: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:425: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.p1KD4U (%build) BUILDSTDERR: bogus date in %changelog: Thu May 10 2019 Ryan O'Hara - 1.4.4-1 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.p1KD4U (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 riscv64 --nodeps /builddir/build/SPECS/keepalived.spec