From owner-svn-ports-head@FreeBSD.ORG Fri Jun 6 10:21:22 2014 Return-Path: Delivered-To: svn-ports-head@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 8197AD0A; Fri, 6 Jun 2014 10:21:22 +0000 (UTC) Received: from owm.eumx.net (eumx.net [91.82.101.43]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D0E92F3B; Fri, 6 Jun 2014 10:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eumx.net; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type; s=default; bh=xsKZHDVfiRo8PHarTfCujd G2H5U=; b=tv5kFrJu/VAePm02HaCbXhYEefmWPwi57GHdssoMMWxUFcXBBcKY/Z zW5gdIiAsqOZSR8xRblaeSnYpser+4hUnYSfEkAs1KhlLEHmpR0pT3OrOlDRuQm4 rQbqFSeNpM20A/VxUNvofFXs4cLDrxA5zKpKCMpyFYPSB/O6R4CSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eumx.net; h=date:message-id :from:to:cc:subject:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=HA6IlGqq8eC0hDRbu5VtaPtkFqZSw cioY2oaC67Ut0O7e+dmeJaWnBmywRyh4Xn1p5HfM+D/DoKlzdVY5MjYSuyqRkAvk XX48yolHL30jYoNJ0iuIbYsX8s8DzsGSpyTSL0FGlyHPIsN+B91o/LVtyw6G2xGs Q7nVFOwS86FGQA= Date: Fri, 06 Jun 2014 12:21:10 +0200 Message-ID: <8661ke72zt.wl%hskuhra@eumx.net> From: "Herbert J. Skuhra" To: Baptiste Daroussin Subject: Re: svn commit: r356757 - head/graphics/epdfview In-Reply-To: <201406061009.s56A95Ct043680@svn.freebsd.org> References: <201406061009.s56A95Ct043680@svn.freebsd.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.4.50 (i386-pc-freebsd10.0) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 10:21:22 -0000 Hi, build is broken if CUPS is installed! c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/poppler/glib -I/usr/local/include/poppler -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -D_THREAD_SAFE -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -Wall -Wno-long-long -DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PrintPter.o -MD -MP -MF .deps/libepdfview_a-PrintPter.Tpo -c -o libepdfview_a-PrintPter.o `test -f 'PrintPter.cxx' || echo './'`PrintPter.cxx PrintPter.cxx:383:12: error: member access into incomplete type 'ipp_t' (aka '_ipp_s') request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES; [0/1226] ^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of '_ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ PrintPter.cxx:384:12: error: member access into incomplete type 'ipp_t' (aka '_ipp_s') request->request.op.request_id = 1; ^ /usr/local/include/cups/ipp.h:653:16: note: forward declaration of '_ipp_s' typedef struct _ipp_s ipp_t; /**** IPP request/response data ****/ ^ PrintPter.cxx:406:26: error: member access into incomplete type 'ipp_attribute_t' (aka '_ipp_attribute_s') switch (state->values[0].integer) ^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of '_ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ PrintPter.cxx:428:54: error: member access into incomplete type 'ipp_attribute_t' (aka '_ipp_attribute_s') attributes->location = g_strdup (location->values[0].string.text); ^ /usr/local/include/cups/ipp.h:654:16: note: forward declaration of '_ipp_attribute_s' typedef struct _ipp_attribute_s ipp_attribute_t; ^ 4 errors generated. gmake[5]: *** [libepdfview_a-PrintPter.o] Error 1 gmake[5]: Leaving directory `/usr/ports/graphics/epdfview/work/epdfview-0.1.8/src' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/graphics/epdfview/work/epdfview-0.1.8/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/epdfview/work/epdfview-0.1.8' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/graphics/epdfview/work/epdfview-0.1.8' ===> 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/graphics/epdfview *** Error code 1 Stop. I've reported this twice to sylvio@. I found a patch for this issue: https://projects.archlinux.org/svntogit/community.git/tree/trunk/epdfview-0.1.8-modern-cups.patch?h=packages/epdfview -- Herbert