6.fc32.riscv64/usr/lib/systemd/system/chrony-wait.service + install -m 644 -p /builddir/build/SOURCES/chrony-dnssrv@.service /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/lib/systemd/system/chrony-dnssrv@.service + install -m 644 -p /builddir/build/SOURCES/chrony-dnssrv@.timer /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/lib/systemd/system/chrony-dnssrv@.timer + install -m 755 -p /builddir/build/SOURCES/chrony.helper /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/libexec/chrony-helper + cat + touch /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/var/lib/chrony/drift /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/var/lib/chrony/rtc + echo chronyd.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.5-6.fc32 --unique-debug-suffix -3.5-6.fc32.riscv64 --unique-debug-src-base chrony-3.5-6.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chrony-3.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/sbin/chronyd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/bin/chronyc extracting debug info from /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/bin/chronyc extracting debug info from /builddir/build/BUILDROOT/chrony-3.5-6.fc32.riscv64/usr/sbin/chronyd original debug info size: 1636kB, size after compression: 1416kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 2129 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/NetworkManager/dispatcher.d/20-chrony from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/chrony-helper from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/dhcp/dhclient.d/chrony.sh from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.U5fByZ + umask 022 + cd /builddir/build/BUILD + cd chrony-3.5 + export CLKNETSIM_RANDOM_SEED=24502 + CLKNETSIM_RANDOM_SEED=24502 + make -j4 -C test/simulation/clknetsim make: Entering directory '/builddir/build/BUILD/chrony-3.5/test/simulation/clknetsim' cc -O2 -Wall -g -fPIC -c -o client.o client.c g++ -O2 -Wall -g -fPIC -c -o server.o server.cc g++ -O2 -Wall -g -fPIC -c -o clock.o clock.cc g++ -O2 -Wall -g -fPIC -c -o node.o node.cc BUILDSTDERR: client.c:566:5: error: conflicting types for 'gettimeofday' BUILDSTDERR: 566 | int gettimeofday(struct timeval *tv, struct timezone *tz) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from client.c:20: BUILDSTDERR: /usr/include/sys/time.h:66:12: note: previous declaration of 'gettimeofday' was here BUILDSTDERR: 66 | extern int gettimeofday (struct timeval *__restrict __tv, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: make: *** [: client.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... make: Leaving directory '/builddir/build/BUILD/chrony-3.5/test/simulation/clknetsim' BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.U5fByZ (%check) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.U5fByZ (%check) 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 700, 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/chrony.spec