From owner-freebsd-ports@FreeBSD.ORG Tue Apr 22 01:10:03 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F3C929B; Tue, 22 Apr 2014 01:10:03 +0000 (UTC) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "SDF.ORG" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 13C051CF6; Tue, 22 Apr 2014 01:10:02 +0000 (UTC) Received: from sdf.org (IDENT:cary@sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.8/8.14.5) with ESMTP id s3M19tL0000615 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Tue, 22 Apr 2014 01:09:55 GMT Received: (from cary@localhost) by sdf.org (8.14.8/8.12.8/Submit) id s3M19sUq014724; Tue, 22 Apr 2014 01:09:54 GMT Date: Tue, 22 Apr 2014 01:09:54 +0000 From: Cary To: Robert Backhaus Subject: Re: cups support in print/xfce4-print Message-ID: <20140422010954.GA14417@SDF.ORG> Mail-Followup-To: Robert Backhaus , FreeBSD Ports , xfce@freebsd.org References: <5355AC8F.8070702@sdf.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD Ports , xfce@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2014 01:10:03 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 22, 2014 at 10:30:37AM +1000, Robert Backhaus wrote: > On 22 April 2014 09:41, Cary wrote: > > > print/xfce4-print builds normally on 9.2-R with default config, > > but build fails when port is configured with "--enable-cups" rather > > than "--enable-bsdlpr". > > > > STDERR attached. > > > > Could we have a little more information? The command lines for that error > would be good. Editing the makefile to add MAKE_JOBS_UNSAFE=yes would make > them easier to read too. Hi Robert, Here is output from running make again with MAKE_JOBS_UNSAFE set to "YES" in /etc/make.conf . thanks, Cary -- cary@sdf.org SDF Public Access UNIX System - http://sdf.org --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=xfce4-print-command Making all in cups gmake[3]: Entering directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/printing-systems/cups' /bin/sh ../../libtool --tag=CC --mode=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/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/freetype2 -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 -o cups_plugin_la-cups.lo `test -f 'cups.c' || echo './'`cups.c 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/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/freetype2 -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 cups.c: In function 'cups_request_new': cups.c:136: error: dereferencing pointer to incomplete type cups.c:137: error: dereferencing pointer to incomplete type cups.c: In function 'get_printers': cups.c:245: error: dereferencing pointer to incomplete type cups.c:245: error: dereferencing pointer to incomplete type cups.c:251: error: dereferencing pointer to incomplete type cups.c:254: error: dereferencing pointer to incomplete type cups.c:259: error: dereferencing pointer to incomplete type cups.c:262: error: dereferencing pointer to incomplete type cups.c: In function 'get_printer_state': cups.c:312: error: dereferencing pointer to incomplete type gmake[3]: *** [cups_plugin_la-cups.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/pri gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/pri gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/print/xfce4-print. *** [stage] Error code 1 Stop in /usr/ports/print/xfce4-print. --4bRzO86E/ozDv8r1--