D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/dma-0.14-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.a2YMHW Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SywWm6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dma-0.14-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/dma-0.14-build + rm -rf dma-0.14 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dma-0.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dma-0.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/dma-0.2-mga-fix-build-in-rpm-env.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/dma-0.2-mga-locate-aliases-in-dma-etc-subdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l8G4XT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dma-0.14-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dma-0.14 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 $'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full \t\t-DDMA_VERSION=\'"0.14"\' \t\t-DLIBEXEC_PATH=\'"/usr/lib64"\' \t\t-DCONF_PATH=\'"/etc/dma"\'' LIBEXEC=/usr/lib64 PREFIX=/usr lex -t aliases_scan.l > aliases_scan.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o dfcompat.o -c dfcompat.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o aliases_scan.o -c aliases_scan.c aliases_scan.l:5:10: fatal error: aliases_parse.h: No such file or directory 5 | #include "aliases_parse.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:97: aliases_scan.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o conf.o -c conf.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o base64.o -c base64.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o local.o -c local.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o mail.o -c mail.c yacc -d -o aliases_parse.c aliases_parse.y gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o dma.o -c dma.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o spool.o -c spool.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o util.o -c util.c util.c: In function 'setlogident': util.c:153:50: warning: ']' directive output may be truncated writing 1 byte into a region of size between 0 and 49 [-Wformat-truncation=] 153 | snprintf(tag, sizeof(tag), "%s[%s]", logident_base, sufx); | ^ In file included from /usr/include/stdio.h:970, from util.c:46: In function 'snprintf', inlined from 'setlogident' at util.c:153:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 52) into a destination of size 50 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o crypto.o -c crypto.c crypto.c: In function 'hmac_md5': crypto.c:312:17: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 312 | MD5_Init(&tctx); | ^~~~~~~~ In file included from crypto.c:38: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ crypto.c:313:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 313 | MD5_Update(&tctx, key, key_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ crypto.c:314:17: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 314 | MD5_Final(tk, &tctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ crypto.c:346:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 346 | MD5_Init(&context); /* init context for 1st | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ crypto.c:348:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 348 | MD5_Update(&context, k_ipad, 64); /* start with inner pad */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ crypto.c:349:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | MD5_Update(&context, text, text_len); /* then text of datagram */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ crypto.c:350:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 350 | MD5_Final(digest, &context); /* finish up 1st pass */ | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ crypto.c:354:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 354 | MD5_Init(&context); /* init context for 2nd | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ crypto.c:356:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 356 | MD5_Update(&context, k_opad, 64); /* start with outer pad */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ crypto.c:357:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 357 | MD5_Update(&context, digest, 16); /* then results of 1st | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ crypto.c:359:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 359 | MD5_Final(digest, &context); /* finish up 2nd pass */ | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld dma-mbox-create.c -o dma-mbox-create gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o net.o -c net.c net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:516:17: note: in expansion of macro 'READ_REMOTE_CHECK' 516 | READ_REMOTE_CHECK("connect", 2); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In file included from /usr/include/stdio.h:970, from /usr/include/openssl/crypto.h:31, from /usr/include/openssl/comp.h:23, from /usr/include/openssl/ssl.h:29, from net.c:47: In function 'snprintf', inlined from 'deliver_to_host' at net.c:516:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 31 and 2123 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:529:25: note: in expansion of macro 'READ_REMOTE_CHECK' 529 | READ_REMOTE_CHECK("connect", 2); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:529:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 31 and 2123 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:560:73: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1010 [-Wformat-truncation=] 560 | snprintf(errmsg, sizeof(errmsg), "SMTP login to %s failed", host->host); | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:560:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 1046 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:583:17: note: in expansion of macro 'READ_REMOTE_CHECK' 583 | READ_REMOTE_CHECK("RCPT TO", 2); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:583:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 31 and 2123 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:620:9: note: in expansion of macro 'READ_REMOTE_CHECK' 620 | READ_REMOTE_CHECK("final DATA", 2); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:620:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 34 and 2126 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:588:9: note: in expansion of macro 'READ_REMOTE_CHECK' 588 | READ_REMOTE_CHECK("DATA", 3); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:588:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 28 and 2120 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ net.c: In function 'deliver_to_host': net.c:500:58: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.c:572:9: note: in expansion of macro 'READ_REMOTE_CHECK' 572 | READ_REMOTE_CHECK("MAIL FROM", 2); | ^~~~~~~~~~~~~~~~~ net.c:500:61: note: format string is defined here 500 | snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ | ^~ In function 'snprintf', inlined from 'deliver_to_host' at net.c:572:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 33 and 2125 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDMA_VERSION='"0.14"' -DLIBEXEC_PATH='"/usr/lib64"' -DCONF_PATH='"/etc/dma"' -include dfcompat.h -o dns.o -c dns.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.l8G4XT (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.l8G4XT (%build) I: [iurt_root_command] ERROR: chroot