web/src_connmand-giognutls.o CC src/src_connmand-backtrace.o CC plugins/src_connmand-bluetooth.o CC plugins/src_connmand-ofono.o CC plugins/src_connmand-dundee.o CC plugins/src_connmand-pacrunner.o CC plugins/src_connmand-neard.o CC src/shared/src_connmand-util.o CC src/shared/src_connmand-netlink.o CC src/src_connmand-main.o CC src/src_connmand-log.o CC src/src_connmand-error.o CC src/src_connmand-plugin.o CC src/src_connmand-task.o CC src/src_connmand-device.o CC src/src_connmand-network.o CC src/src_connmand-connection.o CC src/src_connmand-manager.o CC src/src_connmand-service.o CC src/src_connmand-clock.o CC src/src_connmand-timezone.o CC src/src_connmand-agent-connman.o CC src/src_connmand-agent.o CC src/src_connmand-notifier.o CC src/src_connmand-provider.o CC src/src_connmand-resolver.o CC src/src_connmand-ipconfig.o CC src/src_connmand-detect.o CC src/src_connmand-inet.o CC src/src_connmand-dhcp.o CC src/src_connmand-dhcpv6.o CC src/src_connmand-rtnl.o CC src/src_connmand-proxy.o CC src/src_connmand-utsname.o CC src/src_connmand-timeserver.o CC src/src_connmand-rfkill.o CC src/src_connmand-storage.o CC src/src_connmand-dbus.o CC src/src_connmand-config.o CC src/src_connmand-technology.o CC src/src_connmand-counter.o CC src/src_connmand-ntp.o CC src/src_connmand-session.o CC src/src_connmand-tethering.o BUILDSTDERR: In file included from /usr/include/linux/if_bridge.h:19, BUILDSTDERR: from src/tethering.c:39: BUILDSTDERR: /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' BUILDSTDERR: struct in6_addr { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from src/tethering.c:38: BUILDSTDERR: /usr/include/netinet/in.h:211:8: note: originally defined here BUILDSTDERR: struct in6_addr BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_bridge.h:19, BUILDSTDERR: from src/tethering.c:39: BUILDSTDERR: /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' BUILDSTDERR: struct sockaddr_in6 { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/tethering.c:38: BUILDSTDERR: /usr/include/netinet/in.h:252:8: note: originally defined here BUILDSTDERR: struct sockaddr_in6 BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_bridge.h:19, BUILDSTDERR: from src/tethering.c:39: BUILDSTDERR: /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' BUILDSTDERR: struct ipv6_mreq { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from src/tethering.c:38: BUILDSTDERR: /usr/include/netinet/in.h:288:8: note: originally defined here BUILDSTDERR: struct ipv6_mreq BUILDSTDERR: ^~~~~~~~~ CC src/src_connmand-wpad.o BUILDSTDERR: make[1]: *** [Makefile:3803: src/src_connmand-tethering.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: make: *** [Makefile:1631: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.9GyVHB (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.9GyVHB (%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/connman.spec