[Bug 247580] print/xfce4-print: compiler error: incomplete definition of type 'struct _ipp_attribute_s'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 27 09:57:56 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247580

            Bug ID: 247580
           Summary: print/xfce4-print: compiler error: incomplete
                    definition of type 'struct _ipp_attribute_s'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: xfce at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(xfce at FreeBSD.org)
          Assignee: xfce at FreeBSD.org

Port fails to build on 12-STABLE and CURRENT (both recent, jails) in poudriere
hosted by recent CURRENT.

[...]

=>> Building print/xfce4-print
build started at Sat Jun 27 00:38:39 UTC 2020
port directory: /usr/ports/print/xfce4-print
package name: xfce4-print-4.6.1_16
building for: FreeBSD freebsd.gdr 12.1-STABLE FreeBSD 12.1-STABLE 1201518 amd64
maintained by: xfce at FreeBSD.org
Makefile ident:      $FreeBSD: head/print/xfce4-print/Makefile 515609
2019-10-25 13:32:42Z pkubaj $
Poudriere version: 3.3.4
Host OSVERSION: 1300100
Jail OSVERSION: 1201518
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1201518
UNAME_v=FreeBSD 12.1-STABLE 1201518
UNAME_r=12.1-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.4
MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for
xfce4-print-4.6.1_16:
     LETTER=off: Use letter paper format instead of A4
     NLS=on: Native Language Support
====> Options available for the single PRINTMETHOD: you have to select exactly
one of them
     LPR=off: LPR printing system support
     CUPS=on: CUPS printing system support
===> Use 'make config' to modify these settings
---End OPTIONS List---

[...]
/usr/local/include/cups/http.h:458:94: note: 'httpConnectEncrypt' has been
explicitly marked deprecated here
extern http_t           *httpConnectEncrypt(const char *host, int port,
http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2
instead.");
                                                                               
                      ^
/usr/local/include/cups/versioning.h:203:59: note: expanded from macro
'_CUPS_DEPRECATED_1_7_MSG'
#      define _CUPS_DEPRECATED_1_7_MSG(m) __attribute__ ((deprecated(m)))
_CUPS_PUBLIC
                                                          ^
cups.c:247:55: error: incomplete definition of type 'struct _ipp_s'
      if (ippGetState(request) == IPP_ERROR || request->state == IPP_IDLE) {
                                               ~~~~~~~^
/usr/local/include/cups/ipp.h:733:16: note: forward declaration of 'struct
_ipp_s'
typedef struct _ipp_s ipp_t;            /**** IPP request/response data ****/
               ^
cups.c:253: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:734:16: note: forward declaration of 'struct
_ipp_attribute_s'
typedef struct _ipp_attribute_s ipp_attribute_t;
               ^
cups.c:256: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:734:16: note: forward declaration of 'struct
_ipp_attribute_s'
typedef struct _ipp_attribute_s ipp_attribute_t;
               ^
cups.c:261: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:734:16: note: forward declaration of 'struct
_ipp_attribute_s'
typedef struct _ipp_attribute_s ipp_attribute_t;
               ^
cups.c:264:24: error: incomplete definition of type 'struct _ipp_attribute_s'
      if (attr && (attr->values[0].integer & CUPS_PRINTER_CLASS))

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-xfce mailing list