=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for libgnomecups-0.2.3nb27 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/pkgbuild/print/libgnomecups/work.x86_64/libgnomecups-0.2.3' Making all in libgnomecups gmake[2]: Entering directory '/tmp/pkgbuild/print/libgnomecups/work.x86_64/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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-i18n.lo -MD -MP -MF .deps/gnome-cups-i18n.Tpo -c -o gnome-cups-i18n.lo gnome-cups-i18n.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-init.lo -MD -MP -MF .deps/gnome-cups-init.Tpo -c -o gnome-cups-init.lo gnome-cups-init.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-printer.lo -MD -MP -MF .deps/gnome-cups-printer.Tpo -c -o gnome-cups-printer.lo gnome-cups-printer.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-queue.lo -MD -MP -MF .deps/gnome-cups-queue.Tpo -c -o gnome-cups-queue.lo gnome-cups-queue.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-request.lo -MD -MP -MF .deps/gnome-cups-request.Tpo -c -o gnome-cups-request.lo gnome-cups-request.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT gnome-cups-util.lo -MD -MP -MF .deps/gnome-cups-util.Tpo -c -o gnome-cups-util.lo gnome-cups-util.c /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/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread -DDATADIR=\""/usr/pkg/share"\" -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/include/krb5 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -MT gnome-cups-util.lo -MD -MP -MF .deps/gnome-cups-util.Tpo -c gnome-cups-util.c -fPIC -DPIC -o .libs/gnome-cups-util.o In file included from gnome-cups-printer.c:36:0: gnome-cups-i18n.h:8:13: warning: const G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1); ^~~~~~~ gnome-cups-printer.c: In function 'map_reasons': gnome-cups-printer.c:176:22: error: dereferencing pointer to incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' for (i = 0; i < attr->num_values; i++) { ^~ gnome-cups-printer.c: In function 'attributes_update_cb': gnome-cups-printer.c:246:23: error: dereferencing pointer to incomplete type 'ipp_t {aka struct _ipp_s}' for (attr = response->attrs; attr != NULL; attr = attr->next) { ^~ gnome-cups-printer.c: In function 'set_timeout': gnome-cups-printer.c:794:10: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] update_printers_timeout, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/giochannel.h:33:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:54, from gnome-cups-printer.h:4, from gnome-cups-printer.c:26: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmain.h:633:10: note: expected 'GSourceFunc {aka int (*)(void *)}' but argument is of type 'gboolean (*)(void) {aka int (*)(void)}' guint g_timeout_add (guint interval, ^~~~~~~~~~~~~ In file included from gnome-cups-i18n.c:3:0: gnome-cups-i18n.h:8:13: warning: const G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1); ^~~~~~~ gnome-cups-i18n.c:8:13: warning: const G_CONST_RETURN char * ^~~~~~~ gnome-cups-printer.c: In function 'gnome_cups_printer_get_ppd': gnome-cups-printer.c:1168:2: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd = ppdOpenFile (filename); ^~~ In file included from gnome-cups-printer.h:11:0, from gnome-cups-printer.c:26: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ppd.h:389:20: note: declared here 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:1217:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd = ppdOpenFile (data->filename); ^~~ In file included from gnome-cups-printer.h:11:0, from gnome-cups-printer.c:26: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ppd.h:389:20: note: declared here 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:1551:4: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose (ppd); ^~~~~~~~ In file included from gnome-cups-printer.h:11:0, from gnome-cups-printer.c:26: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ppd.h:364:14: note: declared here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~ In file included from gnome-cups-request.c:14:0: gnome-cups-i18n.h:8:13: warning: const G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1); ^~~~~~~ gnome-cups-request.c:27:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal use_time; ^~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/galloca.h:32:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:30, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gtypes.h:555:8: note: declared here struct _GTimeVal ^~~~~~~~~ gnome-cups-init.c: In function 'gnome_cups_init': gnome-cups-init.c:17:2: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] g_type_init (); ^~~~~~~~~~~ gnome-cups-request.c:101:1: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] GStaticMutex request_mutex = G_STATIC_MUTEX_INIT; ^~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here typedef struct ^~~~~~ gnome-cups-request.c:101:13: warning: g_mutex_init GStaticMutex request_mutex = G_STATIC_MUTEX_INIT; ^~~~~~~~~~~~~~ gnome-cups-request.c: In function '_gnome_cups_request_init': In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/gobject/gobject.h:24:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/gobject/gbinding.h:29, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib-object.h:23, from gnome-cups-printer.h:5, from gnome-cups-init.c:4: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/gobject/gtype.h:691:23: note: declared here void g_type_init (void); ^~~~~~~~~~~ gnome-cups-request.c:117:13: warning: Deprecated pre-processor symbol if (!g_thread_supported ()) ^~~~~~~~~~~~~~~~ gnome-cups-request.c:118:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init (NULL); ^~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here void g_thread_init (gpointer vtable); ^~~~~~~~~~~~~ gnome-cups-request.c:120:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:120:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:120:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:135:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:135:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:135:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c: In function '_gnome_cups_request_shutdown': gnome-cups-request.c:146:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:146:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:146:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:155:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:155:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:155:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c: In function 'idle_stop_unused_threads': gnome-cups-request.c:161:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:161:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:161:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:164:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:164:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:164:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c:167:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:167:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:167:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c: At top level: gnome-cups-request.c:177:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal *current_time) ^~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/galloca.h:32:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:30, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gtypes.h:555:8: note: declared here struct _GTimeVal ^~~~~~~~~ gnome-cups-request.c: In function 'idle_close_unused_connections': gnome-cups-request.c:192:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal current_time; ^~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/galloca.h:32:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:30, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gtypes.h:555:8: note: declared here struct _GTimeVal ^~~~~~~~~ gnome-cups-request.c:194:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:194:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:194:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:197:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:197:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:197:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c:201:2: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time (¤t_time); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/giochannel.h:33:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:54, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmain.h:575:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gnome-cups-request.c:206:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:206:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:206:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-printer.c: In function 'gnome_cups_printer_get_ppd_file': gnome-cups-request.c: In function 'gnome_cups_request_connection_destroy': gnome-cups-request.c:234:2: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] g_mutex_free (connection->mutex); ^~~~~~~~~~~~ gnome-cups-printer.c:1955:2: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd_name = cupsGetPPD (printer->details->printer_name); ^~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here void g_mutex_free (GMutex *mutex); ^~~~~~~~~~~~ In file included from gnome-cups-printer.h:11:0, from gnome-cups-printer.c:26: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ppd.h:358:20: note: declared here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^~~~~~~~~~ gnome-cups-request.c: In function 'idle_signal_request_complete': gnome-cups-request.c:252:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:252:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:252:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:254:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:254:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:254:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-printer.c: In function '_gnome_cups_printer_get_host': gnome-cups-request.c: In function 'dump_request': gnome-cups-request.c:279:17: error: dereferencing pointer to incomplete type 'ipp_t {aka const struct _ipp_s}' for (attr = req->attrs; attr != NULL; attr = attr->next) { ^~ gnome-cups-printer.c:2004:2: warning: #warning this is broken for smb: [-Wcpp] #warning this is broken for smb://user:pass@host/printer urls ^~~~~~~ gnome-cups-request.c:279:51: error: dereferencing pointer to incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' for (attr = req->attrs; attr != NULL; attr = attr->next) { ^~ gnome-cups-request.c: In function 'request_thread_main': gnome-cups-request.c:332:2: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] g_get_current_time (&request->connection->use_time); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/giochannel.h:33:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:54, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmain.h:575:8: note: declared here void g_get_current_time (GTimeVal *result); ^~~~~~~~~~~~~~~~~~ gnome-cups-request.c:336:3: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] request->connection->http = httpConnectEncrypt (request->connection->server, ippPort(), cupsEncryption()); ^~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ipp.h:18:0, from gnome-cups-request.h:8, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/http.h:458:17: note: declared here 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: In function '_gnome_cups_outstanding_request_count': gnome-cups-request.c:389:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:389:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:389:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:391:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:391:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:391:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c: In function 'gnome_cups_request_add_requested_attributes': gnome-cups-request.c:469:30: warning: passing argument 7 of 'ippAddStrings' from incompatible pointer type [-Wincompatible-pointer-types] n_attributes, NULL, attributes); ^~~~~~~~~~ In file included from gnome-cups-request.h:8:0, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ipp.h:777:25: note: expected 'const char * const*' but argument is of type 'char **' extern ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group, ^~~~~~~~~~~~~ gnome-cups-request.c: In function 'gnome_cups_request_execute_sync_internal': gnome-cups-request.c:529:2: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] data.mutex = g_mutex_new (); ^~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here GMutex * g_mutex_new (void); ^~~~~~~~~~~ gnome-cups-request.c:530:2: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations] data.cond = g_cond_new (); ^~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here GCond * g_cond_new (void); ^~~~~~~~~~ gnome-cups-request.c:547:2: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] g_mutex_free (data.mutex); ^~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here void g_mutex_free (GMutex *mutex); ^~~~~~~~~~~~ gnome-cups-request.c:548:2: warning: 'g_cond_free' is deprecated [-Wdeprecated-declarations] g_cond_free (data.cond); ^~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here void g_cond_free (GCond *cond); ^~~~~~~~~~~ gnome-cups-request.c: In function 'gnome_cups_request_execute_async_internal': gnome-cups-request.c:627:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:627:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:627:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:634:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] connection->mutex = g_mutex_new (); ^~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here GMutex * g_mutex_new (void); ^~~~~~~~~~~ gnome-cups-request.c:662:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:662:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:662:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gnome-cups-request.c: In function 'gnome_cups_request_cancel': gnome-cups-request.c:672:13: warning: Deprecated pre-processor symbol g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:672:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:672:13: warning: g_mutex_lock g_static_mutex_lock (&request_mutex); ^~~~~~~~~~~~~~ gnome-cups-request.c:676:13: warning: Deprecated pre-processor symbol g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:676:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:110:0, from gnome-cups-request.h:9, from gnome-cups-request.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnome-cups-request.c:676:13: warning: g_mutex_unlock g_static_mutex_unlock (&request_mutex); ^~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:374: gnome-cups-request.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:374: gnome-cups-printer.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1 In file included from gnome-cups-queue.c:14:0: gnome-cups-i18n.h:8:13: warning: const G_CONST_RETURN char *_libgnomecups_gettext (const char *str) G_GNUC_FORMAT(1); ^~~~~~~ gnome-cups-queue.c: In function 'get_jobs_cb': gnome-cups-queue.c:234:23: error: dereferencing pointer to incomplete type 'ipp_t {aka struct _ipp_s}' for (attr = response->attrs; attr != NULL; attr = attr->next) { ^~ gnome-cups-queue.c:234:57: error: dereferencing pointer to incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' for (attr = response->attrs; attr != NULL; attr = attr->next) { ^~ gnome-cups-util.c: In function 'gnome_cups_check_daemon': gnome-cups-util.c:14:2: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations] http = httpConnectEncrypt (cupsServer(), ippPort(), cupsEncryption()); ^~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/ipp.h:18:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/cups.h:27, from gnome-cups-util.c:3: /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/cups/http.h:458:17: note: declared here extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include/glibconfig.h:9:0, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gtypes.h:32, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/galloca.h:32, from /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib.h:30, from gnome-cups-util.h:4, from gnome-cups-util.c:6: gnome-cups-util.c: In function 'gnome_cups_util_escape_uri_string': gnome-cups-util.c:95:30: warning: comparison between 'GnomeCupsUnsafeCharacterSet {aka enum }' and 'enum ' [-Wenum-compare] g_return_val_if_fail (mask == UNSAFE_ALL ^ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmessages.h:599:9: note: in expansion of macro 'G_LIKELY' if (G_LIKELY (expr)) \ ^~~~~~~~ gnome-cups-util.c:95:3: note: in expansion of macro 'g_return_val_if_fail' g_return_val_if_fail (mask == UNSAFE_ALL ^~~~~~~~~~~~~~~~~~~~ gnome-cups-util.c:96:12: warning: comparison between 'GnomeCupsUnsafeCharacterSet {aka enum }' and 'enum ' [-Wenum-compare] || mask == UNSAFE_ALLOW_PLUS ^ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmessages.h:599:9: note: in expansion of macro 'G_LIKELY' if (G_LIKELY (expr)) \ ^~~~~~~~ gnome-cups-util.c:95:3: note: in expansion of macro 'g_return_val_if_fail' g_return_val_if_fail (mask == UNSAFE_ALL ^~~~~~~~~~~~~~~~~~~~ gnome-cups-util.c:97:12: warning: comparison between 'GnomeCupsUnsafeCharacterSet {aka enum }' and 'enum ' [-Wenum-compare] || mask == UNSAFE_PATH ^ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmessages.h:599:9: note: in expansion of macro 'G_LIKELY' if (G_LIKELY (expr)) \ ^~~~~~~~ gnome-cups-util.c:95:3: note: in expansion of macro 'g_return_val_if_fail' g_return_val_if_fail (mask == UNSAFE_ALL ^~~~~~~~~~~~~~~~~~~~ gnome-cups-util.c:98:12: warning: comparison between 'GnomeCupsUnsafeCharacterSet {aka enum }' and 'enum ' [-Wenum-compare] || mask == UNSAFE_HOST ^ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmessages.h:599:9: note: in expansion of macro 'G_LIKELY' if (G_LIKELY (expr)) \ ^~~~~~~~ gnome-cups-util.c:95:3: note: in expansion of macro 'g_return_val_if_fail' g_return_val_if_fail (mask == UNSAFE_ALL ^~~~~~~~~~~~~~~~~~~~ gnome-cups-util.c:99:12: warning: comparison between 'GnomeCupsUnsafeCharacterSet {aka enum }' and 'enum ' [-Wenum-compare] || mask == UNSAFE_SLASHES, NULL); ^ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmacros.h:928:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ /tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0/glib/gmessages.h:599:9: note: in expansion of macro 'G_LIKELY' if (G_LIKELY (expr)) \ ^~~~~~~~ gnome-cups-util.c:95:3: note: in expansion of macro 'g_return_val_if_fail' g_return_val_if_fail (mask == UNSAFE_ALL ^~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:374: gnome-cups-queue.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/glib-2.0 -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/lib/glib-2.0/include -pthread -DDATADIR=\"/usr/pkg/share\" -I/tmp/pkgbuild/print/libgnomecups/work.x86_64/.buildlink/include/gio-unix-2.0 -I/usr/include/krb5 -O2 -D_FORTIFY_SOURCE=2 -MT gnome-cups-util.lo -MD -MP -MF .deps/gnome-cups-util.Tpo -c gnome-cups-util.c -o gnome-cups-util.o >/dev/null 2>&1 mv -f .deps/gnome-cups-i18n.Tpo .deps/gnome-cups-i18n.Plo mv -f .deps/gnome-cups-init.Tpo .deps/gnome-cups-init.Plo mv -f .deps/util.Tpo .deps/util.Plo mv -f .deps/gnome-cups-util.Tpo .deps/gnome-cups-util.Plo gmake[2]: Leaving directory '/tmp/pkgbuild/print/libgnomecups/work.x86_64/libgnomecups-0.2.3/libgnomecups' gmake[1]: *** [Makefile:349: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/pkgbuild/print/libgnomecups/work.x86_64/libgnomecups-0.2.3' gmake: *** [Makefile:260: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/print/libgnomecups *** Error code 1 Stop. make: stopped in /usr/pkgsrc/print/libgnomecups