D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/pfqueue-0.5.6-9.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ktW2VF + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pfqueue-0.5.6 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/pfqueue-0.5.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pfqueue-0.5.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pfqueue-fixes.patch):' Patch #0 (pfqueue-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .fix1 --fuzz=0 patching file fe_ncurses.c patching file fe_socket.c + echo 'Patch #1 (pfqueue-fixes-literal.patch):' Patch #1 (pfqueue-fixes-literal.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix2 --fuzz=0 patching file fe_socket.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Jt6Ui2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pfqueue-0.5.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:9: warning: underquoted definition of jm_CHECK_TYPE_STRUCT_UTIMBUF acinclude.m4:9: run info Automake 'Extending aclocal' acinclude.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:9: warning: underquoted definition of jm_CHECK_TYPE_STRUCT_UTIMBUF acinclude.m4:9: run info Automake 'Extending aclocal' acinclude.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: running: /usr/bin/autoconf --force configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9464: AM_INIT_AUTOMAKE is expanded from... configure.in:6: the top level configure.in:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:9: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9780: AM_CONFIG_HEADER is expanded from... configure.in:9: the top level configure.in:21: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.in:21: You should run autoupdate. aclocal.m4:8486: AC_LIBTOOL_DLOPEN is expanded from... configure.in:21: the top level configure.in:21: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.in:21: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8486: AC_LIBTOOL_DLOPEN is expanded from... configure.in:21: the top level configure.in:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.in:22: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.in:22: the top level configure.in:27: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:27: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:27: the top level configure.in:34: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:34: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... acinclude.m4:9: jm_CHECK_TYPE_STRUCT_UTIMBUF is expanded from... configure.in:34: the top level configure.in:34: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:34: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:9: jm_CHECK_TYPE_STRUCT_UTIMBUF is expanded from... configure.in:34: the top level configure.in:46: warning: AC_OUTPUT should be used without arguments. configure.in:46: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:20: installing './compile' configure.in:6: installing './missing' Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' libpfq/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for aarch64-mageia-linux-gnu-gcc... no 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for egrep... (cached) /usr/bin/grep -E checking for ncurses.h... yes checking for regex.h... yes checking for struct dirent.d_type... yes checking for utime.h... yes checking for struct utimbuf... yes checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for newwin in -lncurses... yes checking for pthread_create in -lpthread... yes checking for pthread_create in -lc_r... no checking for dlopen in -ldl... yes checking for accept in -lsocket... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating backends/Makefile config.status: creating libpfq/Makefile config.status: creating pfqueue.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in libpfq make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DPFBEDIR=\"/usr/lib64\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfqlib.lo pfqlib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DPFBEDIR=\"/usr/lib64\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfqlib.c -fPIC -DPIC -o .libs/pfqlib.o pfqlib.c: In function 'pfql_start': pfqlib.c:632:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 632 | syslog ( LOGLEVEL, "pfqlib: sorry, cannot malloc for %d for the regex!", sizeof(regex_t) ); | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpfqueue.la -rpath /usr/lib64 pfqlib.lo -ldl -lpthread -lncurses libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/pfqlib.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -lpthread -lncurses -Wl,-soname -Wl,libpfqueue.so.0 -o .libs/libpfqueue.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libpfqueue.so.0" && ln -s "libpfqueue.so.0.0.0" "libpfqueue.so.0") libtool: link: (cd ".libs" && rm -f "libpfqueue.so" && ln -s "libpfqueue.so.0.0.0" "libpfqueue.so") libtool: link: ( cd ".libs" && rm -f "libpfqueue.la" && ln -s "../libpfqueue.la" "libpfqueue.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' Making all in backends make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfq_service.lo pfq_service.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfq_service.c -fPIC -DPIC -o .libs/pfq_service.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfq_exim.lo pfq_exim.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfq_exim.c -fPIC -DPIC -o .libs/pfq_exim.o pfq_exim.c: In function 'pfb_action': pfq_exim.c:311:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | system ( buf ); | ^~~~~~~~~~~~~~ pfq_exim.c: In function 'dir_dig': pfq_exim.c:73:62: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 73 | snprintf ( full_path, sizeof(full_path), "%s/%s", basedir, dir->d_name ); | ^~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_exim.c: In function 'pfb_fill_queue': pfq_exim.c:162:39: warning: '/input' directive output may be truncated writing 6 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 162 | snprintf ( pbuf, BUF_SIZE, "%s/input", spool_dir ); | ^~~~~~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 7 and 256 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_exim.c: In function 'pfb_retr_headers': pfq_exim.c:182:39: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 182 | snprintf ( buf, BUF_SIZE, "%s %s -Mvh %s 2> /dev/null", | ^~ 183 | exim_cmd, exim_conf, msg->id ); | ~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_exim.c: In function 'pfb_retr_status': pfq_exim.c:243:39: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 243 | snprintf ( buf, BUF_SIZE, "%s %s -Mvh %s 2> /dev/null", | ^~ 244 | exim_cmd, exim_conf, msg->id ); | ~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_exim.c: In function 'pfb_retr_body': pfq_exim.c:274:37: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 274 | snprintf ( b, BUF_SIZE, "%s %s -Mvb %s 2> /dev/null", | ^~ 275 | exim_cmd, exim_conf, msg->id ); | ~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_exim.c: In function 'pfb_action': pfq_exim.c:309:39: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 309 | snprintf ( buf, BUF_SIZE, "%s %s %s %s > /dev/null", | ^~ 310 | exim_cmd, exim_conf, b, msg ); | ~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_exim.c:2: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 514) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfq_postfix1.lo pfq_postfix1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfq_postfix1.c -fPIC -DPIC -o .libs/pfq_postfix1.o pfq_postfix1.c: In function 'pfb_action': pfq_postfix1.c:358:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | system ( b ); | ^~~~~~~~~~~~ pfq_postfix1.c: In function 'dir_dig': pfq_postfix1.c:90:62: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 90 | snprintf ( full_path, sizeof(full_path), "%s/%s", basedir, dir->d_name ); | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:97:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 199 [-Wformat-truncation=] 97 | snprintf ( msg->path, sizeof(msg->path), "%s/%s", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_setup': pfq_postfix1.c:146:56: warning: '/postconf' directive output may be truncated writing 9 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 146 | snprintf ( postconf_path, BUF_SIZE, "%s/postconf", pftools_path ); | ^~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 10 and 259 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:147:57: warning: '/postsuper' directive output may be truncated writing 10 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 147 | snprintf ( postsuper_path, BUF_SIZE, "%s/postsuper", pftools_path ); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 11 and 260 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:148:55: warning: '/postcat' directive output may be truncated writing 8 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 148 | snprintf ( postcat_path, BUF_SIZE, "%s/postcat", pftools_path ); | ^~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 9 and 258 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:159:48: warning: ' -h queue_directory 2> /dev/...' directive output may be truncated writing 32 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 159 | snprintf ( pconf, BUF_SIZE, "%s -h queue_directory 2> /dev/null", postconf_path ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 33 and 282 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:157:48: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 157 | snprintf ( pconf, BUF_SIZE, "%s -c %s -h queue_directory 2> /dev/null", postconf_path, config_path ); | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 37 and 535 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_fill_queue': pfq_postfix1.c:183:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 183 | snprintf ( buf, sizeof(buf), "%s/%s", queue_path, q_names[CURQ] ); | ^ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 251) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_retr_headers': pfq_postfix1.c:207:47: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 207 | snprintf ( buf, BUF_SIZE, "%s %s 2> /dev/null", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 15 and 463 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:204:46: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 204 | snprintf ( buf, BUF_SIZE, "%s -c %s %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 19 and 716 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_retr_status': pfq_postfix1.c:284:44: warning: 'defer' directive writing 5 bytes into a region of size between 1 and 250 [-Wformat-overflow=] 284 | sprintf ( buf2, "%sdefer%s", buf, c+8 ); | ^~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 255) into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_retr_body': pfq_postfix1.c:320:45: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 0 and 249 [-Wformat-truncation=] 320 | snprintf ( b, BUF_SIZE, "%s %s 2> /dev/null", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 15 and 463 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:317:44: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 317 | snprintf ( b, BUF_SIZE, "%s -c %s %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 19 and 716 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_action': pfq_postfix1.c:356:44: warning: ' -' directive output may be truncated writing 2 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 356 | snprintf ( b, BUF_SIZE, "%s -%c %s 2>/dev/null", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 266) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c:353:44: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 353 | snprintf ( b, BUF_SIZE, "%s -c %s -%c %s 2>/dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix1.c:5: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 519) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfq_postfix2.lo pfq_postfix2.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfq_postfix2.c -fPIC -DPIC -o .libs/pfq_postfix2.o pfq_postfix2.c: In function 'pfb_action': pfq_postfix2.c:412:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 412 | system ( b ); | ^~~~~~~~~~~~ pfq_postfix2.c: In function 'dir_dig': pfq_postfix2.c:98:62: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 98 | snprintf ( full_path, sizeof(full_path), "%s/%s", basedir, dir->d_name ); | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:105:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 199 [-Wformat-truncation=] 105 | snprintf ( msg->path, sizeof(msg->path), "%s/%s", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_setup': pfq_postfix2.c:168:56: warning: '/postconf' directive output may be truncated writing 9 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 168 | snprintf ( postconf_path, BUF_SIZE, "%s/postconf", pftools_path ); | ^~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 10 and 259 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:169:57: warning: '/postsuper' directive output may be truncated writing 10 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 169 | snprintf ( postsuper_path, BUF_SIZE, "%s/postsuper", pftools_path ); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 11 and 260 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:170:55: warning: '/postcat' directive output may be truncated writing 8 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 170 | snprintf ( postcat_path, BUF_SIZE, "%s/postcat", pftools_path ); | ^~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 9 and 258 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:186:56: warning: ' -h mail_version 2> /dev/null' directive output may be truncated writing 29 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 186 | snprintf ( pconf, BUF_SIZE, "%s -h mail_version 2> /dev/null", postconf_path ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 30 and 279 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:184:56: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 184 | snprintf ( pconf, BUF_SIZE, "%s -c %s -h mail_version 2> /dev/null", postconf_path, config_path ); | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 35 and 532 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:210:48: warning: ' -h queue_directory 2> /dev/...' directive output may be truncated writing 32 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 210 | snprintf ( pconf, BUF_SIZE, "%s -h queue_directory 2> /dev/null", postconf_path ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 33 and 282 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:208:48: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 208 | snprintf ( pconf, BUF_SIZE, "%s -c %s -h queue_directory 2> /dev/null", postconf_path, config_path ); | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 37 or more bytes (assuming 286) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_fill_queue': pfq_postfix2.c:234:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 234 | snprintf ( buf, sizeof(buf), "%s/%s", queue_path, q_names[CURQ] ); | ^ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 251) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_retr_headers': pfq_postfix2.c:258:46: warning: ' -q ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 258 | snprintf ( buf, BUF_SIZE, "%s -q %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 286 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:255:46: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 255 | snprintf ( buf, BUF_SIZE, "%s -c %s -q %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 539 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_retr_status': pfq_postfix2.c:336:44: warning: 'defer' directive writing 5 bytes into a region of size between 1 and 250 [-Wformat-overflow=] 336 | sprintf ( buf2, "%sdefer%s", buf, c+8 ); | ^~~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 255) into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_retr_body': pfq_postfix2.c:375:44: warning: ' -q ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 375 | snprintf ( b, BUF_SIZE, "%s -q %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 286 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:372:44: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 372 | snprintf ( b, BUF_SIZE, "%s -c %s -q %s 2> /dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 539 bytes into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_action': pfq_postfix2.c:410:44: warning: ' -' directive output may be truncated writing 2 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 410 | snprintf ( b, BUF_SIZE, "%s -%c %s 2>/dev/null", | ^~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 266) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c:407:44: warning: ' -c ' directive output may be truncated writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=] 407 | snprintf ( b, BUF_SIZE, "%s -c %s -%c %s 2>/dev/null", | ^~~~ In file included from /usr/include/stdio.h:888, from pfq_postfix2.c:6: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 519) into a destination of size 250 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfq_socket.lo pfq_socket.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pfq_socket.c -fPIC -DPIC -o .libs/pfq_socket.o pfq_socket.c: In function 'pfb_setup': pfq_socket.c:118:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | (struct hostent*)svr->h_length ); | ^ pfq_socket.c:118:17: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [-Wint-conversion] 118 | (struct hostent*)svr->h_length ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct hostent * In file included from /usr/include/features.h:488, from /usr/include/unistd.h:25, from pfq_socket.c:2: /usr/include/bits/string_fortified.h:26:1: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'struct hostent *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ pfq_socket.c: In function 'pfb_retr_headers': pfq_socket.c:145:15: warning: implicit declaration of function 'pfb_retr_to'; did you mean 'pfb_retr_body'? [-Wimplicit-function-declaration] 145 | res = pfb_retr_to(msgid); | ^~~~~~~~~~~ | pfb_retr_body pfq_socket.c:146:15: warning: implicit declaration of function 'pfb_retr_from'; did you mean 'pfb_retr_body'? [-Wimplicit-function-declaration] 146 | res|= pfb_retr_from(msgid); | ^~~~~~~~~~~~~ | pfb_retr_body pfq_socket.c:147:15: warning: implicit declaration of function 'pfb_retr_subj'; did you mean 'pfb_retr_body'? [-Wimplicit-function-declaration] 147 | res|= pfb_retr_subj(msgid); | ^~~~~~~~~~~~~ | pfb_retr_body pfq_socket.c:148:15: warning: implicit declaration of function 'pfb_retr_path'; did you mean 'pfb_retr_body'? [-Wimplicit-function-declaration] 148 | res|= pfb_retr_path(msgid); | ^~~~~~~~~~~~~ | pfb_retr_body pfq_socket.c: In function 'w_socket': pfq_socket.c:46:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | write ( s, b, strlen(b) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pfq_socket.c: In function 'pfb_action': pfq_socket.c:382:29: warning: ' ' directive writing 1 byte into a region of size between 0 and 249 [-Wformat-overflow=] 382 | sprintf ( b2, "%s %s\n", b, msg ); | ^~ In file included from /usr/include/stdio.h:888, from pfq_socket.c:6: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 252) into a destination of size 250 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpfq_postfix1.la -rpath /usr/lib64 pfq_postfix1.lo pfq_service.lo -ldl -lpthread -lncurses libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/pfq_postfix1.o .libs/pfq_service.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -lpthread -lncurses -Wl,-soname -Wl,libpfq_postfix1.so.0 -o .libs/libpfq_postfix1.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libpfq_postfix1.so.0" && ln -s "libpfq_postfix1.so.0.0.0" "libpfq_postfix1.so.0") libtool: link: (cd ".libs" && rm -f "libpfq_postfix1.so" && ln -s "libpfq_postfix1.so.0.0.0" "libpfq_postfix1.so") libtool: link: ( cd ".libs" && rm -f "libpfq_postfix1.la" && ln -s "../libpfq_postfix1.la" "libpfq_postfix1.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpfq_exim.la -rpath /usr/lib64 pfq_exim.lo pfq_service.lo -ldl -lpthread -lncurses libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/pfq_exim.o .libs/pfq_service.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -lpthread -lncurses -Wl,-soname -Wl,libpfq_exim.so.0 -o .libs/libpfq_exim.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libpfq_exim.so.0" && ln -s "libpfq_exim.so.0.0.0" "libpfq_exim.so.0") libtool: link: (cd ".libs" && rm -f "libpfq_exim.so" && ln -s "libpfq_exim.so.0.0.0" "libpfq_exim.so") libtool: link: ( cd ".libs" && rm -f "libpfq_exim.la" && ln -s "../libpfq_exim.la" "libpfq_exim.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpfq_postfix2.la -rpath /usr/lib64 pfq_postfix2.lo pfq_service.lo -ldl -lpthread -lncurses libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/pfq_postfix2.o .libs/pfq_service.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -lpthread -lncurses -Wl,-soname -Wl,libpfq_postfix2.so.0 -o .libs/libpfq_postfix2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libpfq_postfix2.so.0" && ln -s "libpfq_postfix2.so.0.0.0" "libpfq_postfix2.so.0") libtool: link: (cd ".libs" && rm -f "libpfq_postfix2.so" && ln -s "libpfq_postfix2.so.0.0.0" "libpfq_postfix2.so") libtool: link: ( cd ".libs" && rm -f "libpfq_postfix2.la" && ln -s "../libpfq_postfix2.la" "libpfq_postfix2.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libpfq_socket.la -rpath /usr/lib64 pfq_socket.lo pfq_service.lo -ldl -lpthread -lncurses libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/pfq_socket.o .libs/pfq_service.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ldl -lpthread -lncurses -Wl,-soname -Wl,libpfq_socket.so.0 -o .libs/libpfq_socket.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libpfq_socket.so.0" && ln -s "libpfq_socket.so.0.0.0" "libpfq_socket.so.0") libtool: link: (cd ".libs" && rm -f "libpfq_socket.so" && ln -s "libpfq_socket.so.0.0.0" "libpfq_socket.so") libtool: link: ( cd ".libs" && rm -f "libpfq_socket.la" && ln -s "../libpfq_socket.la" "libpfq_socket.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ncgui.o ncgui.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pfqconfig.o pfqconfig.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fe_socket.o fe_socket.c fe_socket.c: In function 'w_socket': fe_socket.c:56:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | write ( s, b, strlen(b) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ fe_socket.c: In function 'client_send_list': fe_socket.c:250:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | write ( cs, CMD_REPLY, strlen(CMD_REPLY) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fe_socket.c:253:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | write ( cs, msg->id, strlen(msg->id) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fe_socket.c:255:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | write ( cs, ",", 1 ); | ^~~~~~~~~~~~~~~~~~~~ fe_socket.c:257:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | write ( cs, "\n", 1 ); | ^~~~~~~~~~~~~~~~~~~~~ fe_socket.c: In function 'client_process': fe_socket.c:371:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | write ( cs, "ERR: NOCMD\n", 11 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o spfqueue fe_socket.o ncgui.o pfqconfig.o libpfq/libpfqueue.la -ldl -lpthread -lncurses *** Warning: Linking the executable spfqueue against the loadable module *** libpfqueue.so is not portable! libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/spfqueue fe_socket.o ncgui.o pfqconfig.o libpfq/.libs/libpfqueue.so -ldl -lpthread -lncurses make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fe_ncurses.o fe_ncurses.c fe_ncurses.c: In function 'help': fe_ncurses.c:194:17: error: format not a string literal and no format arguments [-Werror=format-security] 194 | mvwprintw ( w, 1, 0, ht ); | ^~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:540: fe_ncurses.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pfqueue-0.5.6' make[1]: *** [Makefile:658: all-recursive] Error 1 make: *** [Makefile:406: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Jt6Ui2 (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Jt6Ui2 (%build) I: [iurt_root_command] ERROR: chroot