Package Details: pfqueue 0.5.6-1

Git Clone URL: https://aur.archlinux.org/pfqueue.git (read-only, click to copy)
Package Base: pfqueue
Description: A console-based program to handle MTA (postfix,exim) queues interactively
Upstream URL: http://pfqueue.sourceforge.net/
Licenses: GPL
Submitter: mezcal
Maintainer: bjo
Last Packager: mezcal
Votes: 9
Popularity: 0.000000
First Submitted: 2009-03-14 16:49 (UTC)
Last Updated: 2015-07-16 07:11 (UTC)

Latest Comments

dreieck commented on 2023-06-29 09:37 (UTC)

I need to add

  CFLAGS+=' -Wno-error=format-security'
  CXXFLAGS+=' -Wno-error=format-security'
  export CFLAGS
  export CXXFLAGS

to build() before the ./configure call.

Otherwise, build fails to build by a triggering of -Werror=format-security:

make[2]: Entering directory '/home/[...]/.cache/yay/pfqueue/src/pfqueue-0.5.6'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT fe_ncurses.o -MD -MP -MF ".deps/fe_ncurses.Tpo" -c -o fe_ncurses.o fe_ncurses.c; \
then mv -f ".deps/fe_ncurses.Tpo" ".deps/fe_ncurses.Po"; else rm -f ".deps/fe_ncurses.Tpo"; exit 1; fi
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:314: fe_ncurses.o] Error 1
make[2]: Leaving directory '/home/[...]/.cache/yay/pfqueue/src/pfqueue-0.5.6'
make[1]: *** [Makefile:441: all-recursive] Error 1
make[1]: Leaving directory '/home/[...]/.cache/yay/pfqueue/src/pfqueue-0.5.6'
make: *** [Makefile:211: all] Error 2

Please consider adding this change.

Regards!

Naypam commented on 2015-05-12 00:40 (UTC)

Might want to add `make ${makeopts}` in the package section.