Package Details: libgnomecups 0.2.3-17

Git Clone URL: https://aur.archlinux.org/libgnomecups.git (read-only, click to copy)
Package Base: libgnomecups
Description: GNOME CUPS library
Upstream URL: http://www.gnome.org/
Licenses: GPL, LGPL
Submitter: None
Maintainer: not_anonymous
Last Packager: not_anonymous
Votes: 154
Popularity: 0.000000
First Submitted: 2011-12-05 15:31 (UTC)
Last Updated: 2022-02-19 07:05 (UTC)

Latest Comments

1 2 Next › Last »

wsduvall commented on 2024-08-14 21:02 (UTC) (edited on 2024-08-14 21:05 (UTC) by wsduvall)

This fails to build for me:

gnome-cups-printer.c: In function 'set_timeout':
gnome-cups-printer.c:822:52: error: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types]
  822 |                                                    update_printers_timeout,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    gboolean (*)(void) {aka int (*)(void)}`

not_anonymous commented on 2022-02-19 08:33 (UTC)

Mny tnxs simona for a short, sweet, and to the point error code !! (without any non-english text as well...hi hi)

simona commented on 2022-02-19 08:23 (UTC)

perfect....

not_anonymous commented on 2022-02-19 05:46 (UTC)

Updated !!

simona commented on 2022-02-18 10:05 (UTC)

cc1: some warnings being treated as errors

PowaBanga commented on 2022-01-26 08:20 (UTC) (edited on 2022-01-26 17:35 (UTC) by PowaBanga)

Compilation fail for me :

makepkg -cf
==> Création du paquet libgnomecups 0.2.3-16 (mar 25 jan 2022 14:50:31)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
  -> Téléchargement de libgnomecups-0.2.3.tar.bz2…
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100   286  100   286    0     0    349      0 --:--:-- --:--:-- --:--:--   349

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

 38  348k   38  132k    0     0  67960      0  0:00:05  0:00:02  0:00:03 67960
100  348k  100  348k    0     0   167k      0  0:00:02  0:00:02 --:--:-- 2804k
  -> libgnomecups_0.2.3-ignore-ipp-not-found.patch trouvé
  -> gentoo1.patch trouvé
  -> gentoo2.patch trouvé
==> Validation des fichiers source avec md5sums…
    libgnomecups-0.2.3.tar.bz2 ... Réussite
    libgnomecups_0.2.3-ignore-ipp-not-found.patch ... Réussite
    gentoo1.patch ... Réussite
    gentoo2.patch ... Réussite
==> Validation des fichiers source avec sha256sums…
    libgnomecups-0.2.3.tar.bz2 ... Réussite
    libgnomecups_0.2.3-ignore-ipp-not-found.patch ... Réussite
    gentoo1.patch ... Réussite
    gentoo2.patch ... Réussite
==> Extraction des sources…
  -> Extraction de libgnomecups-0.2.3.tar.bz2 avec bsdtar
==> Lancement de prepare()…
patching file libgnomecups/gnome-cups-request.c
patching file libgnomecups/gnome-cups-i18n.c
patching file libgnomecups/gnome-cups-init.h
patching file libgnomecups/gnome-cups-printer.c
Hunk #5 succeeded at 594 (offset -4 lines).
Hunk #6 succeeded at 722 (offset -4 lines).
patching file libgnomecups/gnome-cups-queue.c
patching file libgnomecups/gnome-cups-request.c
==> Lancement de build()…
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler... 
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGNOMECUPS... yes
checking for cups-config... /usr/bin/cups-config
checking for intltool >= 0.20... 0.37.0 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar bg ca cs da de dz en_CA en_GB es eu fi fr gl gu hi hr hu is it ja lt mk nb ne nl oc pa pl pt pt_BR rw sk sl sq sr sr@Latn sv th tr uk vi wa zh_CN zh_HK zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgnomecups/Makefile
config.status: creating libgnomecups-1.0.pc
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make  all-recursive
make[1] : on entre dans le répertoire « /var/lib/jenkins/workspace/Repository_x86_64_libgnomecups/src/libgnomecups-0.2.3 »
Making all in libgnomecups
make[2] : on entre dans le répertoire « /var/lib/jenkins/workspace/Repository_x86_64_libgnomecups/src/libgnomecups-0.2.3/libgnomecups »
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATADIR=\""/usr/share"\"    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT gnome-cups-i18n.lo -MD -MP -MF .deps/gnome-cups-i18n.Tpo -c -o gnome-cups-i18n.lo gnome-cups-i18n.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-i18n.lo -MD -MP -MF .deps/gnome-cups-i18n.Tpo -c gnome-cups-i18n.c  -fPIC -DPIC -o .libs/gnome-cups-i18n.o
In file included from gnome-cups-i18n.c:3:
gnome-cups-i18n.h:8:13: warning: Deprecated pre-processor symbol: replace with "const"
    8 | G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-i18n.c:8:13: warning: Deprecated pre-processor symbol: replace with "const"
    8 | G_CONST_RETURN char *
      |             ^~~~~~~~~                                                
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-i18n.lo -MD -MP -MF .deps/gnome-cups-i18n.Tpo -c gnome-cups-i18n.c -o gnome-cups-i18n.o >/dev/null 2>&1
mv -f .deps/gnome-cups-i18n.Tpo .deps/gnome-cups-i18n.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATADIR=\""/usr/share"\"    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT gnome-cups-init.lo -MD -MP -MF .deps/gnome-cups-init.Tpo -c -o gnome-cups-init.lo gnome-cups-init.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-init.lo -MD -MP -MF .deps/gnome-cups-init.Tpo -c gnome-cups-init.c  -fPIC -DPIC -o .libs/gnome-cups-init.o
gnome-cups-init.c: In function 'gnome_cups_init':
gnome-cups-init.c:17:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
   17 |         g_type_init ();
      |         ^~~~~~~~~~~
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 gnome-cups-printer.h:5,
                 from gnome-cups-init.c:4:
/usr/include/glib-2.0/gobject/gtype.h:710:23: note: declared here
  710 | void                  g_type_init                    (void);
      |                       ^~~~~~~~~~~
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-init.lo -MD -MP -MF .deps/gnome-cups-init.Tpo -c gnome-cups-init.c -o gnome-cups-init.o >/dev/null 2>&1
mv -f .deps/gnome-cups-init.Tpo .deps/gnome-cups-init.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATADIR=\""/usr/share"\"    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT gnome-cups-printer.lo -MD -MP -MF .deps/gnome-cups-printer.Tpo -c -o gnome-cups-printer.lo gnome-cups-printer.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-printer.lo -MD -MP -MF .deps/gnome-cups-printer.Tpo -c gnome-cups-printer.c  -fPIC -DPIC -o .libs/gnome-cups-printer.o
In file included from gnome-cups-printer.c:36:
gnome-cups-i18n.h:8:13: warning: Deprecated pre-processor symbol: replace with "const"
    8 | G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-printer.c: In function 'set_timeout':
gnome-cups-printer.c:822:52: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types]
  822 |                                                    update_printers_timeout,
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                    |
      |                                                    gboolean (*)(void) {aka int (*)(void)}
In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
                 from /usr/include/glib-2.0/glib.h:54,
                 from gnome-cups-printer.h:4,
                 from gnome-cups-printer.c:26:
/usr/include/glib-2.0/glib/gmain.h:747:54: note: expected 'GSourceFunc' {aka 'int (*)(void *)'} but argument is of type 'gboolean (*)(void)' {aka 'int (*)(void)'}
  747 |                                      GSourceFunc     function,
      |                                      ~~~~~~~~~~~~~~~~^~~~~~~~
gnome-cups-printer.c: In function 'gnome_cups_printer_get_ppd':
gnome-cups-printer.c:1196:9: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1196 |         ppd = ppdOpenFile (filename);
      |         ^~~
In file included from gnome-cups-printer.h:7,
                 from gnome-cups-printer.c:26:
/usr/include/cups/ppd.h:389:26: note: declared here
  389 | extern ppd_file_t       *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |                          ^~~~~~~~~~~
gnome-cups-printer.c: In function 'wrap_ppd_request_cb':
gnome-cups-printer.c:1245:17: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1245 |                 ppd = ppdOpenFile (data->filename);
      |                 ^~~
In file included from gnome-cups-printer.h:7,
                 from gnome-cups-printer.c:26:
/usr/include/cups/ppd.h:389:26: note: declared here
  389 | extern ppd_file_t       *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |                          ^~~~~~~~~~~
gnome-cups-printer.c: In function 'update_options':
gnome-cups-printer.c:1579:25: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1579 |                         ppdClose (ppd);
      |                         ^~~~~~~~
In file included from gnome-cups-printer.h:7,
                 from gnome-cups-printer.c:26:
/usr/include/cups/ppd.h:364:25: note: declared here
  364 | extern void             ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |                         ^~~~~~~~
gnome-cups-printer.c: In function 'gnome_cups_printer_get_ppd_file':
gnome-cups-printer.c:1983:9: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1983 |         ppd_name = cupsGetPPD (printer->details->printer_name);
      |         ^~~~~~~~
In file included from gnome-cups-printer.h:7,
                 from gnome-cups-printer.c:26:
/usr/include/cups/ppd.h:358:26: note: declared here
  358 | extern const char       *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      |                          ^~~~~~~~~~
gnome-cups-printer.c: In function '_gnome_cups_printer_get_host':
gnome-cups-printer.c:2032:2: warning: #warning this is broken for smb: [-Wcpp]
 2032 | #warning this is broken for smb://user:pass@host/printer urls
      |  ^~~~~~~
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-printer.lo -MD -MP -MF .deps/gnome-cups-printer.Tpo -c gnome-cups-printer.c -o gnome-cups-printer.o >/dev/null 2>&1
mv -f .deps/gnome-cups-printer.Tpo .deps/gnome-cups-printer.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATADIR=\""/usr/share"\"    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT gnome-cups-queue.lo -MD -MP -MF .deps/gnome-cups-queue.Tpo -c -o gnome-cups-queue.lo gnome-cups-queue.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-queue.lo -MD -MP -MF .deps/gnome-cups-queue.Tpo -c gnome-cups-queue.c  -fPIC -DPIC -o .libs/gnome-cups-queue.o
In file included from gnome-cups-queue.c:14:
gnome-cups-i18n.h:8:13: warning: Deprecated pre-processor symbol: replace with "const"
    8 | G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-queue.lo -MD -MP -MF .deps/gnome-cups-queue.Tpo -c gnome-cups-queue.c -o gnome-cups-queue.o >/dev/null 2>&1
mv -f .deps/gnome-cups-queue.Tpo .deps/gnome-cups-queue.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATADIR=\""/usr/share"\"    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT gnome-cups-request.lo -MD -MP -MF .deps/gnome-cups-request.Tpo -c -o gnome-cups-request.lo gnome-cups-request.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DDATADIR=\"/usr/share\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT gnome-cups-request.lo -MD -MP -MF .deps/gnome-cups-request.Tpo -c gnome-cups-request.c  -fPIC -DPIC -o .libs/gnome-cups-request.o
In file included from gnome-cups-request.c:14:
gnome-cups-i18n.h:8:13: warning: Deprecated pre-processor symbol: replace with "const"
    8 | G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:57:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   57 |         GTimeVal use_time;
      |         ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
gnome-cups-request.c:131:1: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  131 | GStaticMutex request_mutex = G_STATIC_MUTEX_INIT;
      | ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:133:9: note: declared here
  133 | typedef struct
      |         ^~~~~~
gnome-cups-request.c:131:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_init"
  131 | GStaticMutex request_mutex = G_STATIC_MUTEX_INIT;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
gnome-cups-request.c: In function '_gnome_cups_request_init':
gnome-cups-request.c:147:20: warning: Deprecated pre-processor symbol
  147 |         if (!g_thread_supported ())
      |                    ^~~~~~~~~~~~~~~~                 
gnome-cups-request.c:148:17: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
  148 |                 g_thread_init (NULL);
      |                 ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
  265 | void     g_thread_init                   (gpointer vtable);
      |          ^~~~~~~~~~~~~
gnome-cups-request.c:150:20: warning: Deprecated pre-processor symbol
  150 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:150:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  150 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:150:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  150 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:165:20: warning: Deprecated pre-processor symbol
  165 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:165:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  165 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:165:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  165 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function '_gnome_cups_request_shutdown':
gnome-cups-request.c:176:20: warning: Deprecated pre-processor symbol
  176 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:176:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  176 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:176:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  176 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:185:20: warning: Deprecated pre-processor symbol
  185 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:185:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  185 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:185:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  185 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function 'idle_stop_unused_threads':
gnome-cups-request.c:191:20: warning: Deprecated pre-processor symbol
  191 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:191:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  191 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:191:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  191 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:194:27: warning: Deprecated pre-processor symbol
  194 |                 g_static_mutex_unlock (&request_mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
gnome-cups-request.c:194:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  194 |                 g_static_mutex_unlock (&request_mutex);
      |                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:194:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  194 |                 g_static_mutex_unlock (&request_mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                     
gnome-cups-request.c:197:20: warning: Deprecated pre-processor symbol
  197 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:197:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  197 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:197:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  197 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: At top level:
gnome-cups-request.c:207:26: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  207 |                          GTimeVal *current_time)
      |                          ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
gnome-cups-request.c: In function 'idle_close_unused_connections':
gnome-cups-request.c:222:9: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  222 |         GTimeVal current_time;
      |         ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
gnome-cups-request.c:224:20: warning: Deprecated pre-processor symbol
  224 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:224:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  224 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:224:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  224 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:227:27: warning: Deprecated pre-processor symbol
  227 |                 g_static_mutex_unlock (&request_mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
gnome-cups-request.c:227:17: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  227 |                 g_static_mutex_unlock (&request_mutex);
      |                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:227:27: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  227 |                 g_static_mutex_unlock (&request_mutex);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                     
gnome-cups-request.c:231:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
  231 |         g_get_current_time (&current_time);
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
                 from /usr/include/glib-2.0/glib.h:54,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
  688 | void   g_get_current_time                 (GTimeVal       *result);
      |        ^~~~~~~~~~~~~~~~~~
gnome-cups-request.c:236:20: warning: Deprecated pre-processor symbol
  236 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:236:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  236 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:236:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  236 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function 'gnome_cups_request_connection_destroy':
gnome-cups-request.c:264:9: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
  264 |         g_mutex_free (connection->mutex);
      |         ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here
  279 | void            g_mutex_free            (GMutex *mutex);
      |                 ^~~~~~~~~~~~
gnome-cups-request.c: In function 'idle_signal_request_complete':
gnome-cups-request.c:282:20: warning: Deprecated pre-processor symbol
  282 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:282:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  282 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:282:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  282 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:284:20: warning: Deprecated pre-processor symbol
  284 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:284:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  284 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:284:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  284 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function 'dump_request':
gnome-cups-request.c:309:40: warning: passing argument 1 of 'ippFirstAttribute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  309 |         for (attr = ippFirstAttribute (req); attr != NULL; attr = ippNextAttribute (req)) {
      |                                        ^~~
In file included from gnome-cups-request.h:4,
                 from gnome-cups-request.c:3:
/usr/include/cups/ipp.h:842:51: note: expected 'ipp_t *' {aka 'struct _ipp_s *'} but argument is of type 'const ipp_t *' {aka 'const struct _ipp_s *'}
  842 | extern ipp_attribute_t  *ippFirstAttribute(ipp_t *ipp) _CUPS_API_1_6;
      |                                            ~~~~~~~^~~
gnome-cups-request.c:309:85: warning: passing argument 1 of 'ippNextAttribute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  309 |         for (attr = ippFirstAttribute (req); attr != NULL; attr = ippNextAttribute (req)) {
      |                                                                                     ^~~
In file included from gnome-cups-request.h:4,
                 from gnome-cups-request.c:3:
/usr/include/cups/ipp.h:867:50: note: expected 'ipp_t *' {aka 'struct _ipp_s *'} but argument is of type 'const ipp_t *' {aka 'const struct _ipp_s *'}
  867 | extern ipp_attribute_t  *ippNextAttribute(ipp_t *ipp) _CUPS_API_1_6;
      |                                           ~~~~~~~^~~
gnome-cups-request.c: In function 'request_thread_main':
gnome-cups-request.c:362:9: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
  362 |         g_get_current_time (&request->connection->use_time);
      |         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
                 from /usr/include/glib-2.0/glib.h:54,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gmain.h:688:8: note: declared here
  688 | void   g_get_current_time                 (GTimeVal       *result);
      |        ^~~~~~~~~~~~~~~~~~
gnome-cups-request.c:366:17: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  366 |                 request->connection->http = httpConnectEncrypt (request->connection->server, ippPort(), cupsEncryption());
      |                 ^~~~~~~
In file included from /usr/include/cups/ipp.h:18,
                 from gnome-cups-request.h:4,
                 from gnome-cups-request.c:3:
/usr/include/cups/http.h:477:26: note: declared here
  477 | extern http_t           *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      |                          ^~~~~~~~~~~~~~~~~~
gnome-cups-request.c:386:66: error: format not a string literal and no format arguments [-Werror=format-security]
  386 |                                                                  status, ippErrorString (status));
      |                                                                  ^~~~~~
gnome-cups-request.c:397:58: error: format not a string literal and no format arguments [-Werror=format-security]
  397 |                                                          status, httpStatus (status));
      |                                                          ^~~~~~
gnome-cups-request.c: In function '_gnome_cups_outstanding_request_count':
gnome-cups-request.c:419:20: warning: Deprecated pre-processor symbol
  419 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:419:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  419 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:419:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  419 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:421:20: warning: Deprecated pre-processor symbol
  421 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:421:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  421 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:421:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  421 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function 'gnome_cups_request_add_requested_attributes':
gnome-cups-request.c:499:44: warning: passing argument 7 of 'ippAddStrings' from incompatible pointer type [-Wincompatible-pointer-types]
  499 |                        n_attributes, NULL, attributes);
      |                                            ^~~~~~~~~~
      |                                            |
      |                                            char **
In file included from gnome-cups-request.h:4,
                 from gnome-cups-request.c:3:
/usr/include/cups/ipp.h:782:60: note: expected 'const char * const*' but argument is of type 'char **'
  782 |                                        const char * const *values) _CUPS_PUBLIC;
      |                                        ~~~~~~~~~~~~~~~~~~~~^~~~~~
gnome-cups-request.c: In function 'gnome_cups_request_execute_sync_internal':
gnome-cups-request.c:559:9: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
  559 |         data.mutex = g_mutex_new ();
      |         ^~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here
  277 | GMutex *        g_mutex_new             (void);
      |                 ^~~~~~~~~~~
gnome-cups-request.c:560:9: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations]
  560 |         data.cond = g_cond_new ();
      |         ^~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:281:17: note: declared here
  281 | GCond *         g_cond_new              (void);
      |                 ^~~~~~~~~~
gnome-cups-request.c:577:9: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
  577 |         g_mutex_free (data.mutex);
      |         ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here
  279 | void            g_mutex_free            (GMutex *mutex);
      |                 ^~~~~~~~~~~~
gnome-cups-request.c:578:9: warning: 'g_cond_free' is deprecated [-Wdeprecated-declarations]
  578 |         g_cond_free (data.cond);
      |         ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:283:17: note: declared here
  283 | void            g_cond_free             (GCond  *cond);
      |                 ^~~~~~~~~~~
gnome-cups-request.c: In function 'gnome_cups_request_execute_async_internal':
gnome-cups-request.c:657:20: warning: Deprecated pre-processor symbol
  657 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:657:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  657 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:657:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  657 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:664:17: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
  664 |                 connection->mutex = g_mutex_new ();
      |                 ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here
  277 | GMutex *        g_mutex_new             (void);
      |                 ^~~~~~~~~~~
gnome-cups-request.c:692:20: warning: Deprecated pre-processor symbol
  692 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:692:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  692 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:692:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  692 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c: In function 'gnome_cups_request_cancel':
gnome-cups-request.c:702:20: warning: Deprecated pre-processor symbol
  702 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~       
gnome-cups-request.c:702:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  702 |         g_static_mutex_lock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:702:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock"
  702 |         g_static_mutex_lock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~                                      
gnome-cups-request.c:706:20: warning: Deprecated pre-processor symbol
  706 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~     
gnome-cups-request.c:706:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  706 |         g_static_mutex_unlock (&request_mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:112,
                 from gnome-cups-request.h:5,
                 from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
  154 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnome-cups-request.c:706:20: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock"
  706 |         g_static_mutex_unlock (&request_mutex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      
cc1: some warnings being treated as errors
make[2]: *** [Makefile:374 : gnome-cups-request.lo] Erreur 1
make[2] : on quitte le répertoire « /var/lib/jenkins/workspace/Repository_x86_64_libgnomecups/src/libgnomecups-0.2.3/libgnomecups »
make[1]: *** [Makefile:349 : all-recursive] Erreur 1
make[1] : on quitte le répertoire « /var/lib/jenkins/workspace/Repository_x86_64_libgnomecups/src/libgnomecups-0.2.3 »
make: *** [Makefile:260 : all] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
Build step 'Exécuter un script shell' marked build as failure
Finished: FAILURE

not_anonymous commented on 2021-12-27 22:07 (UTC)

Fixed !!

jose1711 commented on 2021-09-23 20:35 (UTC)

gentoo patches are gone

xyproto commented on 2015-02-17 10:28 (UTC)

Updated the package. Thanks, petres.

petres commented on 2015-02-16 13:01 (UTC)

makedepends=('perlxml') perlxml is not available, it seems that perl-xml-parser is doing the job. could you update the pkgbuild? thanks