Date: Mon, 2 Jun 2014 12:14:31 +0200 From: Miltiadis Margaronis <mmargaron@gmail.com> To: xfce@FreeBSD.org Subject: FreeBSD Port: print/xfce4-print Message-ID: <CAGbxAayYx9qUESwk4g_G9tf7YwnbKi_xtqYWuM5PhuqfmfRugA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I ran portmaster -a today after portsnap fetch && portsnap update, and got the error listed below. cups-client version is 1.7.2 The error is fixed by the attached (admittedly sloppy) patch. It is sent to simply pinpoint the problem. Thanks, Miltos libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -L/usr/local/lib -I../.. -I../../libxfprint -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/local/include/harfbuzz -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DCUPS_DATA_DIR=\"/usr/local/share/cups\" -DPRINTCAP_PATH=\"/usr/local/etc/printcap\" -O2 -pipe -fno-strict-aliasing -MT cups_plugin_la-cups.lo -MD -MP -MF .deps/cups_plugin_la-cups.Tpo -c cups.c -fPIC -DPIC -o .libs/cups_plugin_la-cups.o cc: warning: argument unused during compilation: '-L/usr/local/lib' cups.c:136:10: error: incomplete definition of type 'struct _ipp_s' request->request.op.operation_id = operation_id; ~~~~~~~^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of 'struct _ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ cups.c:137:10: error: incomplete definition of type 'struct _ipp_s' request->request.op.request_id = 1; ~~~~~~~^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of 'struct _ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ cups.c:245:18: error: incomplete definition of type 'struct _ipp_s' if (request->state == IPP_ERROR || request->state == IPP_IDLE) { ~~~~~~~^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of 'struct _ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ cups.c:245:49: error: incomplete definition of type 'struct _ipp_s' if (request->state == IPP_ERROR || request->state == IPP_IDLE) { ~~~~~~~^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of 'struct _ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ cups.c:251:32: error: incomplete definition of type 'struct _ipp_attribute_s' if (!attr || strlen (attr->values[0].string.text) == 0) { ~~~~^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of 'struct _ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ cups.c:254:42: error: incomplete definition of type 'struct _ipp_attribute_s' printer->alias = g_strdup (attr->values[0].string.text); ~~~~^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of 'struct _ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ cups.c:259:40: error: incomplete definition of type 'struct _ipp_attribute_s' printer->alias = g_strdup (attr->values[0].string.text); ~~~~^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of 'struct _ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ cups.c:262:24: error: incomplete definition of type 'struct _ipp_attribute_s' if (attr && (attr->values[0].integer & CUPS_PRINTER_CLASS)) ~~~~^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of 'struct _ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ cups.c:312:19: error: incomplete definition of type 'struct _ipp_attribute_s' switch (attr->values[0].integer) { ~~~~^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of 'struct _ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ 9 errors generated. gmake[5]: *** [cups_plugin_la-cups.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/printing-systems/cups' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/printing-systems' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/print/xfce4-print *** Error code 1 Stop. make: stopped in /usr/ports/print/xfce4-print
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGbxAayYx9qUESwk4g_G9tf7YwnbKi_xtqYWuM5PhuqfmfRugA>