* Package: x11-apps/editres-1.0.7 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking editres-1.0.7.tar.bz2 to /var/tmp/portage/x11-apps/editres-1.0.7/work >>> Source unpacked in /var/tmp/portage/x11-apps/editres-1.0.7/work >>> Preparing source in /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 ... * Running elibtoolize in: editres-1.0.7/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 ... >>> Working in BUILD_DIR: "/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build" * econf: updating editres-1.0.7/config.sub with /usr/share/gnuconfig/config.sub * econf: updating editres-1.0.7/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --docdir=/usr/share/doc/editres-1.0.7 --disable-selective-werror checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking if x86_64-pc-linux-gnu-gcc supports -Werror=unknown-warning-option... no checking if x86_64-pc-linux-gnu-gcc supports -Werror=unused-command-line-argument... no checking if x86_64-pc-linux-gnu-gcc supports -Wall... yes checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-arith... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations... yes checking if x86_64-pc-linux-gnu-gcc supports -Wformat=2... yes checking if x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes... yes checking if x86_64-pc-linux-gnu-gcc supports -Wnested-externs... yes checking if x86_64-pc-linux-gnu-gcc supports -Wbad-function-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -Wold-style-definition... yes checking if x86_64-pc-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking if x86_64-pc-linux-gnu-gcc supports -Wunused... yes checking if x86_64-pc-linux-gnu-gcc supports -Wuninitialized... yes checking if x86_64-pc-linux-gnu-gcc supports -Wshadow... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-noreturn... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking if x86_64-pc-linux-gnu-gcc supports -Wredundant-decls... yes checking if x86_64-pc-linux-gnu-gcc supports -Wlogical-op... yes configure: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at https://bugs.freedesktop.org/enter_bug.cgi?product=xorg checking if x86_64-pc-linux-gnu-gcc supports -Wimplicit... yes checking if x86_64-pc-linux-gnu-gcc supports -Wnonnull... yes checking if x86_64-pc-linux-gnu-gcc supports -Winit-self... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmain... yes checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-braces... yes checking if x86_64-pc-linux-gnu-gcc supports -Wsequence-point... yes checking if x86_64-pc-linux-gnu-gcc supports -Wreturn-type... yes checking if x86_64-pc-linux-gnu-gcc supports -Wtrigraphs... yes checking if x86_64-pc-linux-gnu-gcc supports -Warray-bounds... yes checking if x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes checking if x86_64-pc-linux-gnu-gcc supports -Waddress... yes checking if x86_64-pc-linux-gnu-gcc supports -Wint-to-pointer-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -Wpointer-to-int-cast... yes checking if x86_64-pc-linux-gnu-gcc supports -pedantic... yes checking if x86_64-pc-linux-gnu-gcc supports -Werror... yes checking if x86_64-pc-linux-gnu-gcc supports -Werror=attributes... yes Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... (cached) yes checking for EDITRES... yes checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 ... >>> Working in BUILD_DIR: "/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build" make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build' Making all in man make[2]: Entering directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build/man' /bin/sed -e 's|__vendorversion__|"editres 1.0.7" "X Version 11"|' -e 's|__xorgversion__|"editres 1.0.7" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__|/usr/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/man/editres.man > editres.1 make[2]: Leaving directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build/man' make[2]: Entering directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o actions.o /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:46:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | { "widget", (int) SelectWidget }, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:47:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | { "all", (int) SelectAll }, | ^~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:48:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | { "nothing", (int) SelectNone }, | ^~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:49:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | { "invert", (int) SelectInvert }, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:50:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | { "children", (int) SelectChildren }, | ^~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:51:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | { "descendants", (int) SelectDescendants }, | ^~~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:52:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | { "parent", (int) SelectParent }, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:53:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | { "ancestors", (int) SelectAncestors } | ^~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:57:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | { "name", (int) NameLabel }, | ^~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:58:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | { "class", (int) ClassLabel }, | ^~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:59:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | { "id", (int) IDLabel }, | ^~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:60:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | { "window", (int) WindowLabel }, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:61:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | { "toggle", (int) ToggleLabel } | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c: In function ‘SelectAction’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:118:28: warning: passing argument 1 of ‘CheckAndFindEntry’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | if (!CheckAndFindEntry("Select", params, *num_params, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:75:43: note: expected ‘String’ {aka ‘char *’} but argument is of type ‘const char *’ 75 | static Boolean CheckAndFindEntry ( String action_name, | ~~~~~~~^~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c: In function ‘RelabelAction’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:159:28: warning: passing argument 1 of ‘CheckAndFindEntry’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | if (!CheckAndFindEntry("Relabel", params, *num_params, | ^~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:75:43: note: expected ‘String’ {aka ‘char *’} but argument is of type ‘const char *’ 75 | static Boolean CheckAndFindEntry ( String action_name, | ~~~~~~~^~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c: At top level: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:244:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | {"EnableGetVal", EnableGetVal}, | ^~~~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:245:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | {"Select", SelectAction}, | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:246:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 246 | {"SVActiveEntry", ModifySVEntry}, | ^~~~~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:247:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 247 | {"Relabel", RelabelAction}, | ^~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:248:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 248 | {"PopdownFileDialog", PopdownFileDialogAction}, | ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/actions.c:249:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | {"quit", ActionQuit} | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o comm.o /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:55:15: warning: redundant redeclaration of ‘CM_entries’ [-Wredundant-decls] 55 | extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ In file included from /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:46: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editresP.h:339:15: note: previous declaration of ‘CM_entries’ was here 339 | extern Widget CM_entries[NUM_CM_ENTRIES]; | ^~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:55:43: warning: redundant redeclaration of ‘TM_entries’ [-Wredundant-decls] 55 | extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ In file included from /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:46: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editresP.h:343:15: note: previous declaration of ‘TM_entries’ was here 343 | extern Widget TM_entries[NUM_TM_ENTRIES]; | ^~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c: In function ‘TellUserAboutMessage’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:261:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | str = " asking for widget tree"; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:264:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | str = " asking it to perform SetValues()"; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:268:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | str = " asking it to perform GetGeometry()"; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:271:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | str = " asking it to get a widget's resource list"; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:274:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 274 | str = " asking it to find the child Widget."; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:277:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | str = ""; | ^ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c: In function ‘BuildEvent’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:586:31: warning: passing argument 1 of ‘RebuildMenusAndLabel’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 586 | RebuildMenusAndLabel("iv"); | ^~~~ In file included from /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:46: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editresP.h:408:43: note: expected ‘String’ {aka ‘char *’} but argument is of type ‘const char *’ 408 | extern void RebuildMenusAndLabel ( String toolkit ); | ~~~~~~~^~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:589:36: warning: passing argument 1 of ‘RebuildMenusAndLabel’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 589 | RebuildMenusAndLabel("xt"); | ^~~~ In file included from /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/comm.c:46: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editresP.h:408:43: note: expected ‘String’ {aka ‘char *’} but argument is of type ‘const char *’ 408 | extern void RebuildMenusAndLabel ( String toolkit ); | ~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o editres.o /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:48:34: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | char *global_effective_toolkit = "xt"; | ^~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:73:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | {"debug", "Debug", XtRBoolean, sizeof(Boolean), | ^~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:73:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | {"debug", "Debug", XtRBoolean, sizeof(Boolean), | ^~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:75:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | {"numFlashes", "NumFlashes", XtRInt, sizeof(int), | ^~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:75:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | {"numFlashes", "NumFlashes", XtRInt, sizeof(int), | ^~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:77:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | {"flashTime", "FlashTime", XtRInt, sizeof(int), | ^~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:77:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | {"flashTime", "FlashTime", XtRInt, sizeof(int), | ^~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:79:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:81:4: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/editres.c:81:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o geometry.o /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/geometry.c /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/geometry.c: In function ‘_FindWidget’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/geometry.c:66:5: error: format not a string literal and no format arguments [-Werror=format-security] 66 | snprintf(msg, sizeof(msg), res_labels[14]); | ^~~~~~~~ /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/geometry.c: In function ‘DisplayChild’: /var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7/geometry.c:106:2: error: format not a string literal and no format arguments [-Werror=format-security] 106 | snprintf(msg, sizeof(msg), res_labels[13]); | ^~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:552: geometry.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build' make[1]: *** [Makefile:589: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build' make: *** [Makefile:431: all] Error 2 * ERROR: x11-apps/editres-1.0.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-apps/editres-1.0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-apps/editres-1.0.7::gentoo'`. * The complete build log is located at '/var/log/portage/x11-apps:editres-1.0.7:20200325-044927.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-apps/editres-1.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-apps/editres-1.0.7/temp/environment'. * Working directory: '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7_build' * S: '/var/tmp/portage/x11-apps/editres-1.0.7/work/editres-1.0.7'