D: [iurt_root_command] chroot warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/pfqueue-0.5.6-11.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nt9M7w + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pfqueue-0.5.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pfqueue-0.5.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pfqueue-0.5.6 + rm -rf /home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6-SPECPARTS + /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 + echo 'Patch #2 (pfqueue-fixes-literal-2.patch):' Patch #2 (pfqueue-fixes-literal-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix3 --fuzz=0 patching file fe_ncurses.c + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ap0RVF + umask 022 + cd /home/pterjan/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:9496: 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. aclocal.m4:9774: 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:8517: 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:8517: 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:122: 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:663: 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:702: 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:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: 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,-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 + 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.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + 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 + /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=x86_64-mageia-linux-gnu --build=x86_64-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 sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-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 -m elf_x86_64) 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 -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in libpfq make[2]: Entering directory '/home/pterjan/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,-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 -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,-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 -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/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' /bin/sh ../libtool --tag=CC --mode=link 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 -module -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 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/libpfq' Making all in backends make[2]: Entering directory '/home/pterjan/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,-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 -c -o pfq_service.lo pfq_service.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -c pfq_service.c -fPIC -DPIC -o .libs/pfq_service.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/pterjan/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,-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 -c -o pfq_socket.lo pfq_socket.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -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: error: 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:503, from /usr/include/unistd.h:25, from pfq_socket.c:2: /usr/include/bits/string_fortified.h:26:1: note: expected '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: error: 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: error: 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: error: 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: error: 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) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:477: pfq_socket.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/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,-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 -c -o pfq_exim.lo pfq_exim.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -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:980, from pfq_exim.c:2: In function 'snprintf', inlined from 'dir_dig' at pfq_exim.c:73:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_fill_queue' at pfq_exim.c:162:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 7 and 256 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_headers' at pfq_exim.c:182:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_status' at pfq_exim.c:243:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_body' at pfq_exim.c:274:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 21 and 538 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_action' at pfq_exim.c:309:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 514) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/pterjan/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,-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 -c -o pfq_postfix1.lo pfq_postfix1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -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:980, from pfq_postfix1.c:5: In function 'snprintf', inlined from 'dir_dig' at pfq_postfix1.c:90:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'dir_dig': 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 function 'snprintf', inlined from 'dir_dig' at pfq_postfix1.c:97:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_setup': pfq_postfix1.c:163:17: warning: argument 1 null where non-null expected [-Wnonnull] 163 | pclose ( p ); | ^~~~~~~~~~~~ /usr/include/stdio.h:897:12: note: in a call to function 'pclose' declared 'nonnull' 897 | extern int pclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ 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 function 'snprintf', inlined from 'pfb_fill_queue' at pfq_postfix1.c:183:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 251) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_headers' at pfq_postfix1.c:207:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 15 and 463 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_retr_headers': 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 function 'snprintf', inlined from 'pfb_retr_headers' at pfq_postfix1.c:204:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 19 and 716 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_body' at pfq_postfix1.c:320:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 15 and 463 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_retr_body': 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 function 'snprintf', inlined from 'pfb_retr_body' at pfq_postfix1.c:317:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 19 and 716 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_action' at pfq_postfix1.c:356:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 266) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix1.c: In function 'pfb_action': 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 function 'snprintf', inlined from 'pfb_action' at pfq_postfix1.c:353:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 519) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[2]: Entering directory '/home/pterjan/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,-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 -c -o pfq_postfix2.lo pfq_postfix2.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -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:980, from pfq_postfix2.c:6: In function 'snprintf', inlined from 'dir_dig' at pfq_postfix2.c:98:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'dir_dig': 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 function 'snprintf', inlined from 'dir_dig' at pfq_postfix2.c:105:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_setup': pfq_postfix2.c:214:17: warning: argument 1 null where non-null expected [-Wnonnull] 214 | pclose ( p ); | ^~~~~~~~~~~~ /usr/include/stdio.h:897:12: note: in a call to function 'pclose' declared 'nonnull' 897 | extern int pclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ pfq_postfix2.c:184:60: warning: '%s' directive output may be truncated writing between 1 and 249 bytes into a region of size 246 [-Wformat-truncation=] 184 | snprintf ( pconf, BUF_SIZE, "%s -c %s -h mail_version 2> /dev/null", postconf_path, config_path ); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'pfb_setup' at pfq_postfix2.c:184:4: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 35 or more bytes (assuming 283) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_fill_queue' at pfq_postfix2.c:234:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 251) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_headers' at pfq_postfix2.c:258:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 18 and 286 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_retr_headers': 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 function 'snprintf', inlined from 'pfb_retr_headers' at pfq_postfix2.c:255:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 22 and 539 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_retr_body' at pfq_postfix2.c:375:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 18 and 286 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_retr_body': 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 function 'snprintf', inlined from 'pfb_retr_body' at pfq_postfix2.c:372:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 22 and 539 bytes into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'pfb_action' at pfq_postfix2.c:410:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 266) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pfq_postfix2.c: In function 'pfb_action': 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 function 'snprintf', inlined from 'pfb_action' at pfq_postfix2.c:407:3: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 519) into a destination of size 250 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pfqueue-0.5.6/backends' make[1]: *** [Makefile:659: all-recursive] Error 1 make: *** [Makefile:412: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ap0RVF (%build) RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ap0RVF (%build) I: [iurt_root_command] ERROR: chroot