^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/netfilter.h:7, BUILDSTDERR: from /usr/include/linux/netfilter_ipv4.h:9, BUILDSTDERR: from ../common/smtppass.c:64: BUILDSTDERR: /usr/include/linux/in.h:185:8: note: originally defined here BUILDSTDERR: struct ip_msfilter { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../common/sock_any.h:44, BUILDSTDERR: from ../common/smtppass.c:68: BUILDSTDERR: /usr/include/netinet/in.h:344:8: error: redefinition of 'struct group_filter' BUILDSTDERR: struct group_filter BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/netfilter.h:7, BUILDSTDERR: from /usr/include/linux/netfilter_ipv4.h:9, BUILDSTDERR: from ../common/smtppass.c:64: BUILDSTDERR: /usr/include/linux/in.h:208:8: note: originally defined here BUILDSTDERR: struct group_filter { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ../common/smtppass.c: In function 'sp_init': BUILDSTDERR: ../common/smtppass.c:219:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int r; BUILDSTDERR: ^ BUILDSTDERR: ../common/smtppass.c: In function 'thread_main': BUILDSTDERR: ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: return (void*)(ret == 0 ? 0 : 1); BUILDSTDERR: ^ BUILDSTDERR: ../common/smtppass.c: In function 'make_connections': BUILDSTDERR: ../common/smtppass.c:758:82: warning: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if(getsockopt(ctx->client.fd, SOL_IP, SO_ORIGINAL_DST, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1) BUILDSTDERR: In file included from ../common/smtppass.c:45: BUILDSTDERR: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} BUILDSTDERR: socklen_t *__restrict __optlen) __THROW; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ../common/smtppass.c: In function 'connection_loop': BUILDSTDERR: ../common/smtppass.c:540:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../common/smtppass.c:557:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[2]: *** [Makefile:291: clamsmtpd-smtppass.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' make[1]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10' BUILDSTDERR: make[1]: *** [Makefile:234: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:173: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.05Cy0S (%build) RPM build errors: BUILDSTDERR: bogus date in %changelog: Fri May 31 2012 Nathanael Noblet - 1.10-9 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.05Cy0S (%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/clamsmtp.spec