Installing spamdyke-5.0.1-3.qt.el8.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LKSWyj + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf spamdyke-5.0.1 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/spamdyke-5.0.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spamdyke-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spamdyke-openssl.patch):' Patch #0 (spamdyke-openssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spamdyke/configure patching file spamdyke/tls.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5sd0gi + umask 022 + cd /root/rpmbuild/BUILD + cd spamdyke-5.0.1 + cd spamdyke + ./configure --enable-tls 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 stdint.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/inttypes.h... (cached) no checking whether time.h and sys/time.h may both be included... yes checking for int16_t... no checking for int32_t... no checking for int64_t... no checking for uint16_t... no checking for uint32_t... no checking for uint64_t... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct dirent.d_type... yes checking whether DT_WHT is declared... yes checking whether S_IFWHT is declared... no checking whether INADDR_LOOPBACK is declared... yes checking whether to include debugging symbols (for gdb)... no checking for strip... strip spamdyke checking whether to include excessive debugging output... no checking whether to include some debugging output... yes checking whether to compile with address sanitizer... no checking whether to include configuration tests... yes checking if openssl/ssl.h will include without additional include directories... yes checking for library containing RSA_sign... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for OpenSSL libraries (for TLS support)... yes checking for library containing inet_aton... none required checking for library containing bind... none required checking for library containing inet_ntoa... none required checking for library containing getopt_long... none required checking whether anonymous inner functions are supported by default... yes checking whether struct option is defined in getopt.h... yes checking whether GCC diagnostic pragma directives are supported... yes checking whether pid_t is an unsigned int or an unsigned long... unsigned int checking whether uid_t is an unsigned int or an unsigned long... unsigned int checking whether gid_t is an unsigned int or an unsigned long... unsigned int checking whether time_t is an int or a long... long checking whether int64_ts are supported in a test program... yes checking whether printf()/scanf() uses %ld for 64-bit integers... yes checking whether __func__ is available... yes checking whether socklen_t is available... yes checking whether RLIMIT_AS is available... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make gcc -Wall -O2 -funsigned-char -c spamdyke.c spamdyke.c: In function 'smtp_filter': spamdyke.c:1159:74: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^ spamdyke.c:1159:15: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 1023 snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spamdyke.c:1197:70: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(current_settings->smtp_auth_response, MAX_BUF, "%s", username); ^ spamdyke.c:1197:11: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 1023 snprintf(current_settings->smtp_auth_response, MAX_BUF, "%s", username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spamdyke.c:1073:80: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^ spamdyke.c:1073:21: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 1023 snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spamdyke.c:975:78: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^ spamdyke.c:975:19: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 1023 snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spamdyke.c:1337:80: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^ spamdyke.c:1337:21: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 1023 snprintf(current_settings->smtp_auth_username, MAX_BUF, "%s", username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -E -Wall -O2 -funsigned-char configuration.c | gcc -Wall -O2 -funsigned-char -x c -c -o configuration.o - configuration.c: In function 'process_config_dir': configuration.c:4592:72: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1015 [-Wformat-truncation=] strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_NAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1]); ^~~~ ~~~~~~~~~~~ configuration.c:4592:44: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1023 strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_NAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:4672:70: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_SENDER "%s" DIR_DELIMITER_STR CONFIG_DIR_USERNAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1], canonicalize_path(tmp_path[3], MAX_BUF, target_sender_username, -1)); ^~~~ ~~~~~~~~~~~ configuration.c:4672:42: note: 'snprintf' output 16 or more bytes (assuming 1039) into a destination of size 1023 strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_SENDER "%s" DIR_DELIMITER_STR CONFIG_DIR_USERNAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1], canonicalize_path(tmp_path[3], MAX_BUF, target_sender_username, -1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:4729:68: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_SENDER "%s", target_dir, tmp_path[1]); ^~~~ ~~~~~~~~~~~ configuration.c:4729:40: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1023 strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_SENDER "%s", target_dir, tmp_path[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:4804:70: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_RECIPIENT "%s" DIR_DELIMITER_STR CONFIG_DIR_USERNAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1], canonicalize_path(tmp_path[3], MAX_BUF, target_recipient_username, -1)); ^~~~ ~~~~~~~~~~~ configuration.c:4804:42: note: 'snprintf' output 19 or more bytes (assuming 1042) into a destination of size 1023 strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_RECIPIENT "%s" DIR_DELIMITER_STR CONFIG_DIR_USERNAME DIR_DELIMITER_STR "%s", target_dir, tmp_path[1], canonicalize_path(tmp_path[3], MAX_BUF, target_recipient_username, -1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configuration.c:4861:68: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_RECIPIENT "%s", target_dir, tmp_path[1]); ^~~~ ~~~~~~~~~~~ configuration.c:4861:40: note: 'snprintf' output 13 or more bytes (assuming 1036) into a destination of size 1023 strlen_path[0] = SNPRINTF(tmp_path[0], MAX_BUF, "%s" DIR_DELIMITER_STR CONFIG_DIR_RECIPIENT "%s", target_dir, tmp_path[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -funsigned-char -c dns.c gcc -Wall -O2 -funsigned-char -c environment.c gcc -Wall -O2 -funsigned-char -c usage.c usage.c: In function 'usage': usage.c:124:52: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(usage_text, MAX_BUF, "-%c { %s }", current_settings->option_list[i].getopt_option.val, values_text); ^~ ~~~~~~~~~~~ usage.c:124:15: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1023 snprintf(usage_text, MAX_BUF, "-%c { %s }", current_settings->option_list[i].getopt_option.val, values_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.c:115:51: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf(usage_text, MAX_BUF, "-%c[ %s ]", current_settings->option_list[i].getopt_option.val, values_text); ^~ ~~~~~~~~~~~ usage.c:115:15: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1023 snprintf(usage_text, MAX_BUF, "-%c[ %s ]", current_settings->option_list[i].getopt_option.val, values_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.c:148:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(usage_text, MAX_BUF, "--%s { %s }", current_settings->option_list[i].getopt_option.name, values_text); ^~ ~~~~~~~~~~~ usage.c:148:15: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1023 snprintf(usage_text, MAX_BUF, "--%s { %s }", current_settings->option_list[i].getopt_option.name, values_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.c:139:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(usage_text, MAX_BUF, "--%s=[ %s ]", current_settings->option_list[i].getopt_option.name, values_text); ^~ ~~~~~~~~~~~ usage.c:139:15: note: 'snprintf' output 8 or more bytes (assuming 1031) into a destination of size 1023 snprintf(usage_text, MAX_BUF, "--%s=[ %s ]", current_settings->option_list[i].getopt_option.name, values_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -funsigned-char -c search_fs.c gcc -Wall -O2 -funsigned-char -c exec.c gcc -Wall -O2 -funsigned-char -c base64.c gcc -Wall -O2 -funsigned-char -c tls.c gcc -Wall -O2 -funsigned-char -c log.c gcc -Wall -O2 -funsigned-char -c config_test.c config_test.c: In function 'config_test_graylist': config_test.c:673:68: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 254 and 1019 [-Wformat-truncation=] snprintf(sender_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", current_settings->current_options->graylist_dir[i], top_ent->d_name, domain_ent->d_name, user_ent->d_name, sender_ent->d_name); ^~~~ config_test.c:673:161: note: format string is defined here snprintf(sender_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", current_settings->current_options->graylist_dir[i], top_ent->d_name, domain_ent->d_name, user_ent->d_name, sender_ent->d_name); ^~ config_test.c:673:37: note: 'snprintf' output 5 or more bytes (assuming 1025) into a destination of size 1023 snprintf(sender_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", current_settings->current_options->graylist_dir[i], top_ent->d_name, domain_ent->d_name, user_ent->d_name, sender_ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config_test.c: In function 'config_test_rdns_dir': config_test.c:866:65: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 254 and 1019 [-Wformat-truncation=] snprintf(sld_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", (*dir_array)[i], top_ent->d_name, tld_ent->d_name, letter_ent->d_name, sld_ent->d_name); ^~~~ config_test.c:866:158: note: format string is defined here snprintf(sld_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", (*dir_array)[i], top_ent->d_name, tld_ent->d_name, letter_ent->d_name, sld_ent->d_name); ^~ config_test.c:866:37: note: 'snprintf' output 5 or more bytes (assuming 1025) into a destination of size 1023 snprintf(sld_name, MAX_BUF, "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s" DIR_DELIMITER_STR "%s", (*dir_array)[i], top_ent->d_name, tld_ent->d_name, letter_ent->d_name, sld_ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -funsigned-char -c md5.c gcc -Wall -O2 -funsigned-char -c filter.c In file included from filter.c:54: filter.c: In function 'is_ip_in_name': filter.c:220:45: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] tmp_strlen = SNPRINTF(tmp_ip, MAX_IP, "%.3d.%.3d.%.3d.%.3d", ip_ints[0], ip_ints[1], ip_ints[2], ip_ints[3]); ^~~~~~~~~~~~~~~~~~~~~ spamdyke.h:255:74: note: in definition of macro 'SNPRINTF' #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~ spamdyke.h:255:55: note: 'snprintf' output between 16 and 40 bytes into a destination of size 15 #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:220:20: note: in expansion of macro 'SNPRINTF' tmp_strlen = SNPRINTF(tmp_ip, MAX_IP, "%.3d.%.3d.%.3d.%.3d", ip_ints[0], ip_ints[1], ip_ints[2], ip_ints[3]); ^~~~~~~~ filter.c:280:45: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] tmp_strlen = SNPRINTF(tmp_ip, MAX_IP, "%.3d.%.3d.%.3d.%.3d", ip_ints[3], ip_ints[2], ip_ints[1], ip_ints[0]); ^~~~~~~~~~~~~~~~~~~~~ spamdyke.h:255:74: note: in definition of macro 'SNPRINTF' #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~ spamdyke.h:255:55: note: 'snprintf' output between 16 and 48 bytes into a destination of size 15 #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:280:20: note: in expansion of macro 'SNPRINTF' tmp_strlen = SNPRINTF(tmp_ip, MAX_IP, "%.3d.%.3d.%.3d.%.3d", ip_ints[3], ip_ints[2], ip_ints[1], ip_ints[0]); ^~~~~~~~ filter.c: In function 'filter_dns_rbl': filter.c:1689:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1021 [-Wformat-truncation=] snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rbl_index], tmp_text); ^~ ~~~~~~~~ filter.c:1689:9: note: 'snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1023 snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rbl_index], tmp_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function 'filter_dns_rhsbl': filter.c:1781:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1021 [-Wformat-truncation=] snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rhsbl_index], tmp_text); ^~ ~~~~~~~~ filter.c:1781:9: note: 'snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1023 snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rhsbl_index], tmp_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function 'filter_sender_rhsbl': filter.c:2114:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1021 [-Wformat-truncation=] snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rhsbl_index], tmp_text); ^~ ~~~~~~~~ filter.c:2114:9: note: 'snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1023 snprintf(tmp_buf, MAX_BUF, "%s: %s", name_array[rhsbl_index], tmp_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from filter.c:54: filter.c: In function 'filter_recipient_valid_inner': filter.c:2968:71: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 511 [-Wformat-truncation=] tmp_strlen_username = SNPRINTF(tmp_username, MAX_ADDRESS, "%s%s", current_settings->recipient_username, current_settings->additional_domain_text); ^~~~~~ spamdyke.h:255:74: note: in definition of macro 'SNPRINTF' #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~ spamdyke.h:255:55: note: 'snprintf' output between 1 and 1535 bytes into a destination of size 511 #define SNPRINTF(BUF,MAX,FORMAT...) ({ int _tmp = snprintf(BUF, MAX, FORMAT); MINVAL(_tmp, MAX); }) ^~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:2968:35: note: in expansion of macro 'SNPRINTF' tmp_strlen_username = SNPRINTF(tmp_username, MAX_ADDRESS, "%s%s", current_settings->recipient_username, current_settings->additional_domain_text); ^~~~~~~~ gcc -Wall -O2 -funsigned-char -c cdb.c gcc -Wall -O2 -funsigned-char -o spamdyke spamdyke.o configuration.o dns.o environment.o usage.o search_fs.o exec.o base64.o tls.o log.o config_test.o md5.o filter.o cdb.o -lssl -lcrypto -lssl strip spamdyke + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dqQFok + umask 022 + cd /root/rpmbuild/BUILD + '[' /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 '!=' / ']' + rm -rf /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 ++ dirname /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 + mkdir -p /root/rpmbuild/BUILDROOT + mkdir /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 + cd spamdyke-5.0.1 + /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 + /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/bin /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/var/graylist /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/usr/bin /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/etc /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/var + ln -s ../opt/spamdyke/etc /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/etc/spamdyke + ln -s ../opt/spamdyke/var /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/var/spamdyke + touch /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/blacklist_ip /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/blacklist_rdns /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/blacklist_recipients /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/blacklist_senders /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/whitelist_keywords /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/whitelist_rdns /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/whitelist_recipients /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/whitelist_senders + /usr/bin/install -p /root/rpmbuild/SOURCES/spamdyke.conf /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /root/rpmbuild/SOURCES/blacklist_keywords /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /root/rpmbuild/SOURCES/whitelist_ip /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /root/rpmbuild/SOURCES/sd-prune-graylist /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/bin/. + /usr/bin/install -p spamdyke/spamdyke /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/opt/spamdyke/bin/. + ln -s ../../opt/spamdyke/bin/sd-prune-graylist /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/usr/bin/. + ln -s ../../opt/spamdyke/bin/spamdyke /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64/usr/bin/. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs --files ' ./opt/spamdyke/etc/spamdyke.conf ./opt/spamdyke/etc/blacklist_keywords ./opt/spamdyke/etc/whitelist_ip' Processing files: spamdyke-5.0.1-3.qt.el8.x86_64 Provides: config(spamdyke) = 5.0.1-3.qt.el8 spamdyke = 5.0.1-3.qt.el8 spamdyke(x86-64) = 5.0.1-3.qt.el8 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1(OPENSSL_1_1_1)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 Wrote: /root/rpmbuild/RPMS/x86_64/spamdyke-5.0.1-3.qt.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Nrynvh + umask 022 + cd /root/rpmbuild/BUILD + cd spamdyke-5.0.1 + rm -rf /root/rpmbuild/BUILD/spamdyke-5.0.1 + rm -rf /root/rpmbuild/BUILDROOT/spamdyke-5.0.1-3.qt.el8.x86_64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.OrjGci + umask 022 + cd /root/rpmbuild/BUILD + rm -rf spamdyke-5.0.1 + exit 0