=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I../../src -I/usr/include/pgsql -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 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src -c -o dspam_pg2int8-read_config.o `test -f '../read_config.c' || echo './'`../read_config.c gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I../../src -I/usr/include/pgsql -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 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src -c -o dspam_pg2int8-config_api.o `test -f '../config_api.c' || echo './'`../config_api.c gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam.conf\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I../../src -I/usr/include/pgsql -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 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src -c -o dspam_pg2int8-pref.o `test -f '../pref.c' || echo './'`../pref.c ../pref.c: In function '_ds_ff_pref_del': ../pref.c:355:41: warning: '.bak' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 355 | snprintf(backup, sizeof(backup), "%s.bak", filename); | ^~~~ In file included from /usr/include/stdio.h:871, from ../pref.c:37: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/dspam-3.10.2/src/tools.pgsql_drv' make[3]: *** No rule to make target '../libdspam.la', needed by 'dspam_pg2int8'. Stop. Making all in tools.sqlite_drv make[3]: Entering directory '/builddir/build/BUILD/dspam-3.10.2/src/tools.sqlite_drv' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/dspam-3.10.2/src/tools.sqlite_drv' make[2]: *** [Makefile:909: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dspam-3.10.2/src' make[1]: *** [Makefile:547: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/dspam-3.10.2/src' make: *** [Makefile:325: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.ZdsscT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ZdsscT (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/dspam.spec