From owner-freebsd-xfce@FreeBSD.ORG Mon Jun 2 10:14:32 2014 Return-Path: Delivered-To: xfce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57023EC4 for ; Mon, 2 Jun 2014 10:14:32 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 224C4217B for ; Mon, 2 Jun 2014 10:14:32 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id g18so4397447oah.33 for ; Mon, 02 Jun 2014 03:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mYceUmu8U3TfOG0oFYqBqgTKdRjtd6S+HO1ffeIC5wg=; b=OUKfHggsguSHLf0iy5R+KmxJcLoDg8m/nKrzgW1vYdanFUFUXNUBEV2/qyZkTMy+nM sC9d30a/aWcIezON32vEeB00EG5XZDmRfPtfB7Ej6VMhjmkbgSwLJjOYBFqi48yXIRW/ 58TABnyheIO/Z5CuOK3Srr16E0W5iTukcAKscSugN2A4XwAF5ck0t5kxzKwbssquYzqa 3kRd9AKXlH3HS8zk72dBwrCVe2eykEBRjy7HE6o5mRIkY/WVkGVzXaBNQLcODPugHGLr xcgpNqtT0HRcD79bce9jwHGpivazPe8N3o/+Y6g00L6HiWY46AgB3YDEEZZq+RcyiXeL zFXA== MIME-Version: 1.0 X-Received: by 10.60.63.110 with SMTP id f14mr37171036oes.8.1401704071413; Mon, 02 Jun 2014 03:14:31 -0700 (PDT) Received: by 10.76.73.7 with HTTP; Mon, 2 Jun 2014 03:14:31 -0700 (PDT) Date: Mon, 2 Jun 2014 12:14:31 +0200 Message-ID: Subject: FreeBSD Port: print/xfce4-print From: Miltiadis Margaronis To: xfce@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 10:14:32 -0000 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