* Package: net-print/gtklp-1.3.1 * Repository: gentoo * Maintainer: printing@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gtklp-1.3.1.src.tar.gz to /var/tmp/portage/net-print/gtklp-1.3.1/work >>> Unpacking gtklp-logo.xpm.gz to /var/tmp/portage/net-print/gtklp-1.3.1/work >>> Source unpacked in /var/tmp/portage/net-print/gtklp-1.3.1/work >>> Preparing source in /var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1 ... * Applying gtklp-1.3.1-formatsec.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: gtklp-1.3.1/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1 ... * econf: updating gtklp-1.3.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gtklp-1.3.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gtklp-1.3.1 --htmldir=/usr/share/doc/gtklp-1.3.1/html --libdir=/usr/lib64 --enable-nls --enable-ssl --enable-forte checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done 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 x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking for library containing strerror... none required checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-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-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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-pc-linux-gnu-ranlib... (cached) x86_64-pc-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 stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... 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 pthread.h usability... yes checking pthread.h presence... 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 argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... 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... bison checking version of bison... 3.5.1, ok 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 symlink... yes checking for working fcntl.h... yes checking for ptrdiff_t... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking 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" >>> Source configured. >>> Compiling source in /var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1' Making all in m4 make[2]: Entering directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/m4' Making all in po make[2]: Entering directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/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" || 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 '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/po' rm -f ca.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o ca.gmo ca.po ca.po: 210 translated messages, 2 untranslated messages. rm -f cht.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o cht.gmo cht.po cht.po: 209 translated messages, 3 untranslated messages. rm -f cz.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o cz.gmo cz.po cz.po: 162 translated messages, 47 fuzzy translations, 3 untranslated messages. rm -f de.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o de.gmo de.po de.po: 212 translated messages. rm -f en.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o en.gmo en.po en.po: 210 translated messages, 2 untranslated messages. rm -f es.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o es.gmo es.po es.po: 212 translated messages. rm -f fr.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o fr.gmo fr.po fr.po: 210 translated messages, 2 untranslated messages. rm -f it.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o it.gmo it.po it.po: 206 translated messages, 6 untranslated messages. rm -f ja.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o ja.gmo ja.po ja.po: 182 translated messages, 4 fuzzy translations, 26 untranslated messages. rm -f nl.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o nl.gmo nl.po nl.po: 210 translated messages, 2 untranslated messages. rm -f pl.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o pl.gmo pl.po pl.po: 210 translated messages, 2 untranslated messages. rm -f pt_BR.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po pt_BR.po: 198 translated messages, 14 untranslated messages. rm -f ru.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o ru.gmo ru.po ru.po: 209 translated messages, 3 untranslated messages. rm -f hu.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o hu.gmo hu.po hu.po: 202 translated messages, 3 fuzzy translations, 7 untranslated messages. rm -f chs.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o chs.gmo chs.po chs.po: 200 translated messages, 4 fuzzy translations, 8 untranslated messages. rm -f zh_CN.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o zh_CN.gmo zh_CN.po zh_CN.po: 200 translated messages, 4 fuzzy translations, 8 untranslated messages. rm -f zh_TW.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po zh_TW.po: 209 translated messages, 3 untranslated messages. rm -f ca_ES.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o ca_ES.gmo ca_ES.po ca_ES.po: 210 translated messages, 2 untranslated messages. rm -f uk_UA.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o uk_UA.gmo uk_UA.po uk_UA.po: 210 translated messages, 2 untranslated messages. rm -f dk.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o dk.gmo dk.po dk.po: 209 translated messages, 1 fuzzy translation, 2 untranslated messages. make[3]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/po' touch stamp-po make[2]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/po' Making all in libgtklp make[2]: Entering directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/libgtklp' x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o libgtklp.o libgtklp.c 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); | ^ rm -f libgtklp.a x86_64-pc-linux-gnu-ar cru libgtklp.a libgtklp.o x86_64-pc-linux-gnu-ranlib libgtklp.a make[2]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/libgtklp' Making all in gtklp make[2]: Entering directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/gtklp' x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o file.o file.c x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o general.o general.c 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); | ^~~~~~~~~~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o gtklp.o gtklp.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o gtklp_functions.o gtklp_functions.c 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 | tion("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 | n("landscape",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:467:81: warning: comparison between pointer and integer 467 | "page-ranges",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:472:81: warning: comparison between pointer and integer 472 | "outputorder",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:479:78: warning: comparison between pointer and integer 479 | on("page-set",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:486:79: warning: comparison between pointer and integer 486 | n("number-up",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:492:86: warning: comparison between pointer and integer 492 | er-up-layout",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:496:76: warning: comparison between pointer and integer 496 | tion("mirror",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:501:81: warning: comparison between pointer and integer 501 | "page-border",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:505:80: warning: comparison between pointer and integer 505 | ("brightness",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:508:75: warning: comparison between pointer and integer 508 | ption("gamma",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:511:73: warning: comparison between pointer and integer 511 | tOption("cpi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:514:73: warning: comparison between pointer and integer 514 | tOption("lpi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:517:77: warning: comparison between pointer and integer 517 | ion("columns",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:520:78: warning: comparison between pointer and integer 520 | on("page-top",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:523:81: warning: comparison between pointer and integer 523 | "page-bottom",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:526:79: warning: comparison between pointer and integer 526 | n("page-left",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:529:80: warning: comparison between pointer and integer 529 | ("page-right",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:532:81: warning: comparison between pointer and integer 532 | "prettyprint",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:537:74: warning: comparison between pointer and integer 537 | Option("wrap",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:542:77: warning: comparison between pointer and integer 542 | ion("scaling",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:547:85: warning: comparison between pointer and integer 547 | ural-scaling",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:552:73: warning: comparison between pointer and integer 552 | tOption("ppi",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:557:73: warning: comparison between pointer and integer 557 | tOption("hue",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:560:80: warning: comparison between pointer and integer 560 | ("saturation",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:563:78: warning: comparison between pointer and integer 563 | on("position",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:602:79: warning: comparison between pointer and integer 602 | n("blackplot",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:607:77: warning: comparison between pointer and integer 607 | ion("fitplot",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) { | ^~ gtklp_functions.c:612:78: warning: comparison between pointer and integer 612 | on("penwidth",act_printer->num_options,act_printer->options) != (uintptr_t)NULL) | ^~ gtklp_functions.c:615:80: warning: comparison between pointer and integer 615 | ("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 | tOption("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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o gtklptab.o gtklptab.c 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."); | ^~~~~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o hpgl2.o hpgl2.c x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o image.o image.c 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 | ECT(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) | ^~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o output.o output.c x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o ppd.o ppd.c 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) | ^~~~~~~~~ x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o special.o special.c x86_64-pc-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/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DHAVE_LIBSSL -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150 -O2 -pipe -march=native -fno-common -c -o text.o text.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -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 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lcups -lX11 -lX11 libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -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,--as-needed ../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 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lcups -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: general.o:(.bss+0x90): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp.o:(.bss+0x6b450): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x20): multiple definition of `printerPPD'; gtklp.o:(.bss+0x60): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x58): multiple definition of `topmargin'; gtklp.o:(.bss+0x6b1dc): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x54): multiple definition of `bottommargin'; gtklp.o:(.bss+0x6b1d8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x50): multiple definition of `leftmargin'; gtklp.o:(.bss+0x6b1d4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x4c): multiple definition of `rightmargin'; gtklp.o:(.bss+0x6b1d0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x48): multiple definition of `imageScalingType'; gtklp.o:(.bss+0x6b288): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x40): multiple definition of `imageScalingScalingValue'; gtklp.o:(.bss+0x6b280): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x30): multiple definition of `imageScalingPPIValue'; gtklp.o:(.bss+0x6b270): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x38): multiple definition of `imageScalingNaturalValue'; gtklp.o:(.bss+0x6b278): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x28): multiple definition of `hasAskedPWD'; gtklp.o:(.bss+0x68): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklp_functions.o:(.bss+0x60): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtklptab.o:(.bss+0xc8): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hpgl2.o:(.bss+0x30): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: image.o:(.bss+0xa8): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: output.o:(.bss+0xa0): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ppd.o:(.bss+0x28): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: special.o:(.bss+0x1490): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: text.o:(.bss+0xa8): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):(.bss+0x28): multiple definition of `mainWindow'; gtklp_functions.o:(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):(.bss+0x2a094): multiple definition of `nox'; gtklp.o:(.bss+0x44): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libgtklp/libgtklp.a(libgtklp.o):(.bss+0x2a0a0): multiple definition of `progressBar'; file.o:(.bss+0x40): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:483: gtklp] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1/gtklp' make[1]: *** [Makefile:477: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1' make: *** [Makefile:409: all] Error 2 * ERROR: net-print/gtklp-1.3.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/gtklp-1.3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-print/gtklp-1.3.1::gentoo'`. * The complete build log is located at '/var/log/portage/net-print:gtklp-1.3.1:20200205-003701.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/gtklp-1.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/gtklp-1.3.1/temp/environment'. * Working directory: '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1' * S: '/var/tmp/portage/net-print/gtklp-1.3.1/work/gtklp-1.3.1'