[Users] Build problem with newer than 4.0.0git339 code

Brian Morrison bdm at fenrir.org.uk
Fri Oct 29 16:41:14 CET 2021


Seeing this during build:


libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src
-I../../../src/common -I../../../src -I../../../src/common
-I../../../src/gtk -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4
-I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/at-spi-2.0 -pthread -DGTK_DISABLE_SINGLE_INCLUDES
-DGSEAL_ENABLE -I/usr/include/enchant -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread
-Wno-deprecated-declarations -O2 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-Wno-unused-function -Wno-pointer-sign -Wall -D_GNU_SOURCE -c
prefs_gpg.c -o pgpcore_la-prefs_gpg.o >/dev/null 2>&1 sgpgme.c: In
function 'cm_check_detached_sig': sgpgme.c:205:60: error: format not a
string literal and no format arguments [-Werror=format-security] 205 |
               g_task_return_new_error(task, domain, err, err_str); |
                                                         ^~~~~~~ cc1:
some warnings being treated as errors make[6]: *** [Makefile:782:
pgpcore_la-sgpgme.lo] Error 1


HTH

-- 

Brian Morrison

                "I am not young enough to know everything"
                                                          Oscar Wilde


More information about the Users mailing list