D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/gtklp-1.3.0-7.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FXsqDs + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf gtklp-1.3.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/gtklp-1.3.0.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gtklp-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (gtklp-1.2.5-mdv-fix-str-fmt.patch):' Patch #1 (gtklp-1.2.5-mdv-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strfmt --fuzz=0 patching file gtklp/gtklp.c Hunk #1 succeeded at 302 (offset -10 lines). patching file libgtklp/libgtklp.c Hunk #1 succeeded at 826 (offset 65 lines). Hunk #2 succeeded at 856 (offset 65 lines). + sed -e '/DEF_BROWSER_CMD/{s:netscape:firefox:}' -e '/DEF_HELP_HOME/{s:631/sum.html#STANDARD_OPTIONS:631/help/:}' -i include/defaults.h + mkdir -p Mageia + cp /home/iurt/rpmbuild/SOURCES/gtklp-icon48.png Mageia/gtklp-icon48.png + cp /home/iurt/rpmbuild/SOURCES/gtklp-icon32.png Mageia/gtklp-icon32.png + cp /home/iurt/rpmbuild/SOURCES/gtklp-icon16.png Mageia/gtklp-icon16.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lNmCUq + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gtklp-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:2: installing './compile' configure.ac:4: installing './missing' Makefile.am: installing './INSTALL' Makefile.am:1: warning: AM_GNU_GETTEXT used but 'intl' not in SUBDIRS gtklp/Makefile.am: installing './depcomp' + 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 + 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 --enable-forte checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-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 the compiler supports GNU C... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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 the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for ld used by x86_64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for library containing strerror... none required checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-mageia-linux-gnu-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/x86_64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/x86_64-mageia-linux-gnu-nm -p) 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-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... x86_64-mageia-linux-gnu-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... x86_64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-mageia-linux-gnu-nm -p output from x86_64-mageia-linux-gnu-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 dlfcn.h... yes checking for objdir... .libs checking if x86_64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-mageia-linux-gnu-gcc static flag -static works... no checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-mageia-linux-gnu-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 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... yes checking whether we are using the GNU C Library 2 or newer... yes checking for x86_64-mageia-linux-gnu-ranlib... (cached) x86_64-mageia-linux-gnu-ranlib checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for inline... inline checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for getpagesize... yes checking for symlink... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking whether imported symbols can be declared weak... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for multithread API to use... posix checking for pthread_rwlock_t... yes checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for argz.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for uselocale... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for bison... no checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for working fcntl.h... yes checking for ptrdiff_t... yes checking for features.h... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for asprintf... yes checking for fwprintf... yes checking for newlocale... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... (cached) yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK2... yes checking for cups-config... /usr/bin/cups-config *** Setting maximum number of printers to 150 *** checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating po/Makefile config.status: creating libgtklp/Makefile config.status: creating gtklp/Makefile config.status: creating gtklpq/Makefile config.status: creating man/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands *********************************** forte support: yes use gtk1: no use old file dialog: no cups config: Max Printer: *********************************** Ready. Now use "make" to built the package and "make install" afterwards. If compilation fails, try "make clean" before "make" or fiddle around with "--enable-gtk1" and "--enable-oldfile" + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po test ! -f ./gtklp.pot || \ test -z "ca.gmo cht.gmo cz.gmo de.gmo en.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo hu.gmo chs.gmo zh_CN.gmo zh_TW.gmo ca_ES.gmo uk_UA.gmo dk.gmo" || /usr/bin/make ca.gmo cht.gmo cz.gmo de.gmo en.gmo es.gmo fr.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo hu.gmo chs.gmo zh_CN.gmo zh_TW.gmo ca_ES.gmo uk_UA.gmo dk.gmo make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po ca.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f cz.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cz.gmo cz.po cz.po: 162 translated messages, 47 fuzzy translations, 3 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f en.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en.gmo en.po en.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po fr.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po de.po: 212 translated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f cht.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cht.gmo cht.po cht.po: 209 translated messages, 3 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f es.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es.gmo es.po es.po: 204 translated messages, 1 fuzzy translation, 7 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f it.gmo && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.po it.po: 206 translated messages, 6 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po ja.po: 182 translated messages, 4 fuzzy translations, 26 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f pl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pl.gmo pl.po pl.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f ru.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ru.gmo ru.po ru.po: 209 translated messages, 3 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po pt_BR.po: 198 translated messages, 14 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f nl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl.gmo nl.po nl.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_CN.gmo zh_CN.po zh_CN.po: 200 translated messages, 4 fuzzy translations, 8 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f chs.gmo && /usr/bin/msgfmt -c --statistics --verbose -o chs.gmo chs.po chs.po: 200 translated messages, 4 fuzzy translations, 8 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f hu.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu.gmo hu.po hu.po: 202 translated messages, 3 fuzzy translations, 7 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f ca_ES.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca_ES.gmo ca_ES.po ca_ES.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f uk_UA.gmo && /usr/bin/msgfmt -c --statistics --verbose -o uk_UA.gmo uk_UA.po uk_UA.po: 210 translated messages, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po zh_TW.po: 209 translated messages, 3 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' rm -f dk.gmo && /usr/bin/msgfmt -c --statistics --verbose -o dk.gmo dk.po dk.po: 209 translated messages, 1 fuzzy translation, 2 untranslated messages. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' touch stamp-po make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/po' Making all in libgtklp make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/libgtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libgtklp.o libgtklp.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from libgtklp.c:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from libgtklp.c:36: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from libgtklp.c:36: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from libgtklp.c:36: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ libgtklp.c: In function 'getPrinters': libgtklp.c:393:26: warning: comparison between pointer and integer 393 | if(dests[i1].instance == (uintptr_t)NULL) { | ^~ libgtklp.c: In function 'exitOnErrorExit': libgtklp.c:776:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 776 | exit((int)object); | ^ libgtklp.c: In function 'getPrinters': libgtklp.c:409:39: warning: '%s' directive output may be truncated writing up to 1030 bytes into a region of size 1018 [-Wformat-truncation=] 409 | snprintf(URI,(size_t)MAX_URI,"ipp://%s/printers/%s",ServerAddr,dests[i1].name); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from libgtklp.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1047) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/libgtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/libgtklp' rm -f libgtklp.a x86_64-mageia-linux-gnu-ar cru libgtklp.a libgtklp.o x86_64-mageia-linux-gnu-ranlib libgtklp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/libgtklp' Making all in gtklp make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hpgl2.o hpgl2.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from hpgl2.h:27, from hpgl2.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from hpgl2.h:27, from hpgl2.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from hpgl2.h:27, from hpgl2.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from hpgl2.h:27, from hpgl2.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o file.o file.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from file.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from file.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from file.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from file.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o gtklptab.o gtklptab.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtklptab.h:27, from gtklptab.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklptab.h:27, from gtklptab.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtklptab.h:27, from gtklptab.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklptab.h:27, from gtklptab.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gtklptab.c: In function 'constButton': gtklptab.c:431:3: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 431 | constraints(ppdConflicts(printerPPD)); | ^~~~~~~~~~~ In file included from gtklp.h:29, from gtklptab.c:37: /usr/include/cups/ppd.h:367:13: note: declared here 367 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ gtklptab.c:435:3: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 435 | constraints(ppdConflicts(printerPPD)); | ^~~~~~~~~~~ In file included from gtklp.h:29, from gtklptab.c:37: /usr/include/cups/ppd.h:367:13: note: declared here 367 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o output.o output.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from output.h:28, from output.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from output.h:28, from output.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from output.h:28, from output.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from output.h:27, from output.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o gtklp.o gtklp.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtklp.h:27, from gtklp.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp.h:27, from gtklp.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtklp.h:27, from gtklp.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp.h:27, from gtklp.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gtklp.c: In function 'main': gtklp.c:601:2: warning: 'httpConnect' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] 601 | cupsHttp=httpConnect(ServerName, ippPort()); | ^~~~~~~~ In file included from /usr/include/cups/ipp.h:18, from /usr/include/cups/cups.h:27, from gtklp.h:28, from gtklp.c:26: /usr/include/cups/http.h:457:17: note: declared here 457 | extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); | ^~~~~~~~~~~ gtklp.c:800:4: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 800 | constraints(ppdConflicts(printerPPD)); | ^~~~~~~~~~~ In file included from gtklp.h:29, from gtklp.c:26: /usr/include/cups/ppd.h:367:13: note: declared here 367 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ gtklp.c:642:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 642 | getcwd(fileOpenPath,MAXPATH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o image.o image.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from image.h:27, from image.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from image.h:27, from image.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from image.h:27, from image.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from image.h:27, from image.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ image.c: In function 'imageTabSetDefaults': image.c:78:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 78 | imagePosChanged((GtkWidget *)NULL,(int *)i1); | ^ image.c: In function 'imagePosChanged': image.c:343:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 343 | ImagePos[0]=(int)data/10; | ^ image.c:344:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 344 | ImagePos[1]=(int)data%10; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from image.h:27, from image.c:26: image.c: In function 'ImagePosFrame': image.c:394:101: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 394 | gtk_signal_connect(GTK_OBJECT(imagePosBut[i1][i2]),"clicked",GTK_SIGNAL_FUNC(imagePosChanged),(int *)i3); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o general.o general.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from general.h:27, from general.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from general.h:27, from general.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from general.h:27, from general.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from general.h:27, from general.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ general.c: In function 'generalTabSetDefaults': general.c:85:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 85 | if((ppdFindOption(printerPPD,"PageSize") == NULL) && | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:86:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 86 | (ppdFindOption(printerPPD,"MediaType") == NULL) && | ^ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:87:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 87 | (ppdFindOption(printerPPD,"InputSlot") == NULL) && | ^ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:88:4: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 88 | (ppdFindOption(printerPPD,"PageRegion") == NULL)) | ^ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:96:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 96 | if((option=ppdFindOption(printerPPD,"PageSize")) != NULL) | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:106:4: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 106 | if((option=ppdFindOption(printerPPD,"PageRegion")) != NULL) | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:118:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 118 | option=ppdFindOption(printerPPD,"PageSize"); | ^~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:134:5: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 134 | option=ppdFindOption(printerPPD,"PageRegion"); | ^~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:149:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 149 | if((option=ppdFindOption(printerPPD,"MediaType")) != NULL) | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:166:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 166 | if((option=ppdFindOption(printerPPD,"InputSlot")) != NULL) | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:186:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 186 | if((option=ppdFindOption(printerPPD,"Duplex")) == NULL) | ^~ In file included from general.c:33: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ general.c:192:3: warning: 'ppdFindChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 192 | choice=ppdFindChoice(option,"None"); | ^~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:375:22: note: declared here 375 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) | ^~~~~~~~~~~~~ general.c:201:5: warning: 'ppdFindChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 201 | choice=ppdFindChoice(option,"DuplexNoTumble"); | ^~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:375:22: note: declared here 375 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) | ^~~~~~~~~~~~~ general.c:210:7: warning: 'ppdFindChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 210 | choice=ppdFindChoice(option,"DuplexTumble"); | ^~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:375:22: note: declared here 375 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) | ^~~~~~~~~~~~~ general.c: In function 'PrinterChanged': general.c:310:3: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 310 | constraints(ppdConflicts(printerPPD)); | ^~~~~~~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:367:13: note: declared here 367 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ general.c: In function 'DuplexChanged': general.c:324:3: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 324 | constraints(ppdMarkOption(printerPPD,"Duplex","None")); | ^~~~~~~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:385:13: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ general.c:333:3: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 333 | constraints(ppdMarkOption(printerPPD,"Duplex","DuplexNoTumble")); | ^~~~~~~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:385:13: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ general.c:342:3: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 342 | constraints(ppdMarkOption(printerPPD,"Duplex","DuplexTumble")); | ^~~~~~~~~~~ In file included from general.c:33: /usr/include/cups/ppd.h:385:13: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ general.c: In function 'callGtkLPQFunc': general.c:563:2: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | system(GTKLPQCOM); | ^~~~~~~~~~~~~~~~~ general.c: In function 'loadFavorites.part.0': general.c:598:47: warning: '/favorites' directive output may be truncated writing 10 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 598 | snprintf(filepath,(size_t)MAXPATH,"%s/favorites",confdir); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from general.h:27, from general.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 4107 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ general.c: In function 'saveFavorites.part.0': general.c:637:47: warning: '/favorites' directive output may be truncated writing 10 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 637 | snprintf(filepath,(size_t)MAXPATH,"%s/favorites",confdir); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from general.h:27, from general.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 4107 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ppd.o ppd.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ppd.h:27, from ppd.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ppd.h:27, from ppd.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ppd.h:27, from ppd.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ppd.h:27, from ppd.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ ppd.c: In function 'togglePPDOption': ppd.c:69:7: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 69 | constraints(ppdMarkOption(printerPPD,option->keyword,choice->choice)); | ^~~~~~~~~~~ In file included from ppd.h:28, from ppd.c:26: /usr/include/cups/ppd.h:385:13: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ ppd.c:74:7: warning: 'ppdConflicts' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 74 | constraints(ppdConflicts(printerPPD)); | ^~~~~~~~~~~ In file included from ppd.h:28, from ppd.c:26: /usr/include/cups/ppd.h:367:13: note: declared here 367 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from ppd.h:27, from ppd.c:26: ppd.c: In function 'addPPDGroup': ppd.c:244:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 244 | (int *) ppd_entry_count); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o special.o special.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from special.h:27, from special.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from special.h:27, from special.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from special.h:27, from special.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from special.h:27, from special.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o text.o text.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from text.h:27, from text.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from text.h:27, from text.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from text.h:27, from text.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from text.h:27, from text.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libgtklp -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o gtklp_functions.o gtklp_functions.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gtklp_functions.c: In function 'getPaths': gtklp_functions.c:129:20: warning: comparison between pointer and integer 129 | if(getenv("HOME")==(uintptr_t)NULL) | ^~ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:273:20: warning: comparison between pointer and integer 273 | if(getenv("HOME")==(uintptr_t)NULL) | ^~ gtklp_functions.c:444:77: warning: comparison between pointer and integer 444 | if(cupsGetOption("copies",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:454:3: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 454 | } else if (ppdFindMarkedChoice(printerPPD,"Collate") != NULL) { | ^ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:377:22: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ gtklp_functions.c:455:4: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 455 | if(strcasecmp(ppdFindMarkedChoice(printerPPD,"Collate")->choice,"true") == 0) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:377:22: note: declared here 377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, | ^~~~~~~~~~~~~~~~~~~ gtklp_functions.c:462:79: warning: comparison between pointer and integer 462 | if(cupsGetOption("landscape",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:467:81: warning: comparison between pointer and integer 467 | if(cupsGetOption("page-ranges",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:472:81: warning: comparison between pointer and integer 472 | if(cupsGetOption("outputorder",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:479:78: warning: comparison between pointer and integer 479 | if(cupsGetOption("page-set",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:486:79: warning: comparison between pointer and integer 486 | if(cupsGetOption("number-up",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:492:86: warning: comparison between pointer and integer 492 | if(cupsGetOption("number-up-layout",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:496:76: warning: comparison between pointer and integer 496 | if(cupsGetOption("mirror",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:501:81: warning: comparison between pointer and integer 501 | if(cupsGetOption("page-border",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:505:80: warning: comparison between pointer and integer 505 | if(cupsGetOption("brightness",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:508:75: warning: comparison between pointer and integer 508 | if(cupsGetOption("gamma",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:511:73: warning: comparison between pointer and integer 511 | if(cupsGetOption("cpi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:514:73: warning: comparison between pointer and integer 514 | if(cupsGetOption("lpi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:517:77: warning: comparison between pointer and integer 517 | if(cupsGetOption("columns",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:520:78: warning: comparison between pointer and integer 520 | if(cupsGetOption("page-top",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:523:81: warning: comparison between pointer and integer 523 | if(cupsGetOption("page-bottom",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:526:79: warning: comparison between pointer and integer 526 | if(cupsGetOption("page-left",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:529:80: warning: comparison between pointer and integer 529 | if(cupsGetOption("page-right",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:532:81: warning: comparison between pointer and integer 532 | if(cupsGetOption("prettyprint",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:537:74: warning: comparison between pointer and integer 537 | if(cupsGetOption("wrap",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:542:77: warning: comparison between pointer and integer 542 | if(cupsGetOption("scaling",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:547:85: warning: comparison between pointer and integer 547 | if(cupsGetOption("natural-scaling",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:552:73: warning: comparison between pointer and integer 552 | if(cupsGetOption("ppi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:557:73: warning: comparison between pointer and integer 557 | if(cupsGetOption("hue",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:560:80: warning: comparison between pointer and integer 560 | if(cupsGetOption("saturation",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:563:78: warning: comparison between pointer and integer 563 | if(cupsGetOption("position",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:602:79: warning: comparison between pointer and integer 602 | if(cupsGetOption("blackplot",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:607:77: warning: comparison between pointer and integer 607 | if(cupsGetOption("fitplot",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:612:78: warning: comparison between pointer and integer 612 | if(cupsGetOption("penwidth",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:615:80: warning: comparison between pointer and integer 615 | if(cupsGetOption("job-sheets",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:618:10: warning: comparison between pointer and integer 618 | if(z1 == (uintptr_t)NULL) { | ^~ gtklp_functions.c:629:73: warning: comparison between pointer and integer 629 | if(cupsGetOption("raw",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c: In function 'saveOptions': gtklp_functions.c:1201:19: warning: comparison between pointer and integer 1201 | if(getenv("HOME")==(uintptr_t)NULL) | ^~ gtklp_functions.c: In function 'getPPDOpts': gtklp_functions.c:1432:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1432 | ppdClose(printerPPD); | ^~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:364:14: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ gtklp_functions.c:1464:2: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1464 | PPDfilename=(char *)cupsGetPPD(printername); | ^~~~~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:358:20: note: declared here 358 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~ gtklp_functions.c:1483:2: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1483 | printerPPD=ppdOpenFile(PPDfilename); | ^~~~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:389:20: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ gtklp_functions.c:1494:2: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1494 | ppdMarkDefaults(printerPPD); | ^~~~~~~~~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:384:14: note: declared here 384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ gtklp_functions.c:1500:2: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1500 | cupsMarkOptions(printerPPD, act_printer->num_options, act_printer->options); | ^~~~~~~~~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:362:13: note: declared here 362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ gtklp_functions.c: In function 'ShowWidgets': gtklp_functions.c:1671:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1671 | if((ppdFindOption(printerPPD,"PageSize") != NULL) || (ppdFindOption(printerPPD,"MediaType") != NULL) || (ppdFindOption(printerPPD,"InputSlot") != NULL) || (ppdFindOption(printerPPD,"PageRegion") != NULL)) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:1671:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1671 | if((ppdFindOption(printerPPD,"PageSize") != NULL) || (ppdFindOption(printerPPD,"MediaType") != NULL) || (ppdFindOption(printerPPD,"InputSlot") != NULL) || (ppdFindOption(printerPPD,"PageRegion") != NULL)) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:1671:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1671 | if((ppdFindOption(printerPPD,"PageSize") != NULL) || (ppdFindOption(printerPPD,"MediaType") != NULL) || (ppdFindOption(printerPPD,"InputSlot") != NULL) || (ppdFindOption(printerPPD,"PageRegion") != NULL)) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:1671:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1671 | if((ppdFindOption(printerPPD,"PageSize") != NULL) || (ppdFindOption(printerPPD,"MediaType") != NULL) || (ppdFindOption(printerPPD,"InputSlot") != NULL) || (ppdFindOption(printerPPD,"PageRegion") != NULL)) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:1673:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1673 | if(ppdFindOption(printerPPD,"Duplex") != NULL) | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c: In function 'PrintFunc': gtklp_functions.c:1958:30: warning: comparison between pointer and integer 1958 | if(spoolfile == (uintptr_t)NULL) | ^~ gtklp_functions.c: In function 'constraints': gtklp_functions.c:2162:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2162 | o1 = ppdFindOption(printerPPD, c->option1); | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:2166:4: warning: 'ppdFindChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2166 | c1 = ppdFindChoice(o1, c->choice1); | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:375:22: note: declared here 375 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) | ^~~~~~~~~~~~~ gtklp_functions.c:2177:3: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2177 | o2 = ppdFindOption(printerPPD, c->option2); | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:2181:4: warning: 'ppdFindChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2181 | c2 = ppdFindChoice(o2, c->choice2); | ^~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:375:22: note: declared here 375 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option) | ^~~~~~~~~~~~~ gtklp_functions.c: In function 'PPD_DropDown_changed': gtklp_functions.c:2247:2: warning: 'ppdFindOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2247 | option = ppdFindOption(printerPPD, (const char *) data); | ^~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:380:22: note: declared here 380 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) | ^~~~~~~~~~~~~ gtklp_functions.c:2253:4: warning: 'ppdMarkOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 2253 | constraints(ppdMarkOption(printerPPD,option->keyword,choice->choice)); | ^~~~~~~~~~~ In file included from gtklp_functions.h:29, from gtklp_functions.c:26: /usr/include/cups/ppd.h:385:13: note: declared here 385 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, | ^~~~~~~~~~~~~ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:653:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 653 | fscanf(file,"%i %i %i %i %i %i\n",&viewable[0],&viewable[1],&viewable[2],&viewable[3],&viewable[4],&viewable[5]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:769:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 769 | fscanf(file,"%i\n",&rememberprinter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:776:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 776 | fscanf(file,"%i\n",&remembertab); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:777:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 777 | fscanf(file,"%i\n",&tabtoopen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:780:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 780 | fscanf(file,"%i\n",&saveonexit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:781:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 781 | fscanf(file,"%i\n",&saveanz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:782:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 782 | fscanf(file,"%i\n",&clearfilelist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:783:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | fscanf(file,"%i\n",&exitonprint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:784:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 784 | fscanf(file,"%i\n",&jobidonexit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:794:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 794 | fscanf(file,"%i\n",&wantconst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c: In function 'getBannerList': gtklp_functions.c:170:38: warning: '%s' directive output may be truncated writing up to 1030 bytes into a region of size 1018 [-Wformat-truncation=] 170 | snprintf(URI,(size_t)MAX_URI,"ipp://%s/printers/%s",ServerAddr,printername); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1047) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:170:38: warning: '%s' directive output may be truncated writing up to 1030 bytes into a region of size 1018 [-Wformat-truncation=] 170 | snprintf(URI,(size_t)MAX_URI,"ipp://%s/printers/%s",ServerAddr,printername); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1047) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:296:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 296 | snprintf(printpath,(size_t)MAXPATH,"%s/%s",confdir,iprintername); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 4148 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtklp_functions.c:297:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 297 | snprintf(globalpath,(size_t)MAXPATH,"%s/%s",confdir,GTKLPRC_GLOBAL); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 4105 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:642:10: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:647:9: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:656:4: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:666:4: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:767:18: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:786:4: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:789:4: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ In function 'freadline', inlined from 'getOptions' at gtklp_functions.c:792:4: gtklp_functions.c:1405:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1405 | *String=(uintptr_t)NULL; | ^ gtklp_functions.c: In function 'getOptions': gtklp_functions.c:224:7: note: at offset 257 to object 'tmp' with size 257 declared here 224 | char tmp[MAXLINE+1]; | ^~~ gtklp_functions.c: In function 'saveOptions': gtklp_functions.c:1209:40: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1209 | snprintf(printpath,(size_t)MAXPATH,"%s/",confdir); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtklp_functions.h:27, from gtklp_functions.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 4098 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' /bin/sh ../libtool --tag=CC --mode=link x86_64-mageia-linux-gnu-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 gtklp file.o general.o gtklp.o gtklp_functions.o gtklptab.o hpgl2.o image.o output.o ppd.o special.o text.o ../libgtklp/libgtklp.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcups -lX11 -lX11 libtool: link: x86_64-mageia-linux-gnu-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 gtklp file.o general.o gtklp.o gtklp_functions.o gtklptab.o hpgl2.o image.o output.o ppd.o special.o text.o -Wl,--export-dynamic -pthread ../libgtklp/libgtklp.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgmodule-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lcups -lX11 -pthread /usr/bin/ld: general.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: gtklp.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x20): multiple definition of `printerPPD'; gtklp.o:(.bss+0x60): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x30): multiple definition of `imageScalingPPIValue'; gtklp.o:(.bss+0x6b270): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x58): multiple definition of `topmargin'; gtklp.o:(.bss+0x6b1dc): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x54): multiple definition of `bottommargin'; gtklp.o:(.bss+0x6b1d8): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x50): multiple definition of `leftmargin'; gtklp.o:(.bss+0x6b1d4): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x4c): multiple definition of `rightmargin'; gtklp.o:(.bss+0x6b1d0): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x48): multiple definition of `imageScalingType'; gtklp.o:(.bss+0x6b288): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x40): multiple definition of `imageScalingScalingValue'; gtklp.o:(.bss+0x6b280): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x38): multiple definition of `imageScalingNaturalValue'; gtklp.o:(.bss+0x6b278): first defined here /usr/bin/ld: gtklp_functions.o:(.bss+0x28): multiple definition of `hasAskedPWD'; gtklp.o:(.bss+0x68): first defined here /usr/bin/ld: gtklp_functions.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: gtklptab.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: hpgl2.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: image.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: output.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: ppd.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: special.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: text.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here /usr/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):(.bss+0x28): multiple definition of `mainWindow'; gtklp_functions.o:(.bss+0x18): first defined here /usr/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):(.bss+0x2a094): multiple definition of `nox'; gtklp.o:(.bss+0x44): first defined here /usr/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp/../libgtklp/libgtklp.h:83: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:483: gtklp] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gtklp-1.3.0/gtklp' make[1]: *** [Makefile:477: all-recursive] Error 1 make: *** [Makefile:409: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.lNmCUq (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.lNmCUq (%build) I: [iurt_root_command] ERROR: chroot