Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2014 12:21:10 +0200
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r356757 - head/graphics/epdfview
Message-ID:  <8661ke72zt.wl%hskuhra@eumx.net>
In-Reply-To: <201406061009.s56A95Ct043680@svn.freebsd.org>
References:  <201406061009.s56A95Ct043680@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8661ke72zt.wl%hskuhra>