Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/connman.spec'], chrootPath='/var/lib/mock/f29-build-32456-17014/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/connman.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/connman-1.34-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/connman.spec'], chrootPath='/var/lib/mock/f29-build-32456-17014/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/connman.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7lzHWb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf connman-1.34 + /usr/bin/xz -dc /builddir/build/SOURCES/connman-1.34.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd connman-1.34 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (connman-1.33-crypto.patch): + echo 'Patch #0 (connman-1.33-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gweb/giognutls.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ul26RY + umask 022 + cd /builddir/build/BUILD + cd connman-1.34 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc accepts -fPIE... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for ns_initparse in -lresolv... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for signalfd... yes checking for dlopen in -ldl... yes checking for GLIB... yes checking for DBUS... yes checking for XTABLES... yes checking for iptables-save... /usr/sbin/iptables-save checking for GNUTLS... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking for inotify_init in -lc... yes checking for wpa_supplicant... /usr/sbin/wpa_supplicant checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/version.h config.status: creating connman.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 GEN include/connman/log.h GEN include/connman/notifier.h GEN include/connman/plugin.h GEN include/connman/service.h GEN include/connman/ipconfig.h GEN include/connman/resolver.h GEN include/connman/device.h GEN include/connman/network.h GEN include/connman/inet.h GEN include/connman/provision.h GEN include/connman/storage.h GEN include/connman/session.h GEN include/connman/agent.h GEN include/connman/ipaddress.h GEN include/connman/inotify.h GEN include/connman/peer.h GEN include/connman/machine.h GEN include/connman/rtnl.h GEN include/connman/version.h GEN include/connman/task.h GEN include/connman/dbus.h GEN include/connman/option.h GEN include/connman/provider.h GEN include/connman/vpn-dbus.h GEN include/connman/utsname.h GEN include/connman/proxy.h GEN include/connman/timeserver.h GEN include/connman/technology.h GEN include/connman/setting.h GEN include/connman/backtrace.h GEN src/connman.service GEN src/builtin.h GEN src/net.connman.service GEN vpn/connman-vpn.service GEN vpn/net.connman.vpn.service GEN scripts/connman GEN src/connman-wait-online.service GEN scripts/connman_resolvconf.conf make --no-print-directory all-am CC tools/netlink-test.o CC src/iptables.o CC tools/iptables-test.o CC src/tools_iptables_unit-backtrace.o CC src/tools_iptables_unit-log.o CC src/tools_iptables_unit-iptables.o CC src/tools_iptables_unit-firewall-iptables.o CC src/tools_iptables_unit-nat.o CC tools/tools_iptables_unit-iptables-unit.o CC gdhcp/src_connmand-common.o CC gdhcp/src_connmand-client.o CC gdhcp/src_connmand-server.o CC gdhcp/src_connmand-ipv4ll.o CC gweb/src_connmand-gweb.o CC gweb/src_connmand-gresolv.o CC gweb/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 CC src/src_connmand-wpad.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-wispr.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 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Ul26RY (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Ul26RY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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