Opened 11 months ago

Last modified 11 months ago

#59751 assigned defect

gnome-control-center @3.26.2_2: error: incomplete definition of type 'struct _ipp_s'

Reported by: kencu (Ken) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnome-control-center

Description

on 10.13:

libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../ -DG_LOG_DOMAIN=\"printers-cc-panel\" -DPANEL_ID=\"printers\" -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/polkit-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gsettings-desktop-schemas -I./../common/ -I../../shell/ -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DTEST_SRCDIR=\"./\" -I/opt/local/include -pipe -Os -arch x86_64 -MT libprinters_la-pp-printer.lo -MD -MP -MF .deps/libprinters_la-pp-printer.Tpo -c pp-printer.c  -fno-common -DPIC -o .libs/libprinters_la-pp-printer.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../ -DG_LOG_DOMAIN=\"printers-cc-panel\" -DPANEL_ID=\"printers\" -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/polkit-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gsettings-desktop-schemas -I./../common/ -I../../shell/ -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DTEST_SRCDIR=\"./\" -I/opt/local/include -pipe -Os -arch x86_64 -MT libprinters_la-pp-new-printer.lo -MD -MP -MF .deps/libprinters_la-pp-new-printer.Tpo -c pp-new-printer.c  -fno-common -DPIC -o .libs/libprinters_la-pp-new-printer.o
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../ -DG_LOG_DOMAIN=\"printers-cc-panel\" -DPANEL_ID=\"printers\" -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/polkit-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gsettings-desktop-schemas -I./../common/ -I../../shell/ -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DTEST_SRCDIR=\"./\" -I/opt/local/include -pipe -Os -arch x86_64 -MT libprinters_la-cc-printers-resources.lo -MD -MP -MF .deps/libprinters_la-cc-printers-resources.Tpo -c cc-printers-resources.c -o libprinters_la-cc-printers-resources.o >/dev/null 2>&1
pp-printer.c:560:11: error: incomplete definition of type 'struct _ipp_s'
      if (ippGetState (response) == IPP_ERROR)
          ^            ~~~~~~~~
pp-printer.c:30:34: note: expanded from macro 'ippGetState'
#define ippGetState(ipp)      ipp->state
                              ~~~^
/usr/include/cups/ipp.h:692:16: note: forward declaration of 'struct _ipp_s'
typedef struct _ipp_s ipp_t;            /**** IPP request/response data ****/
               ^
pp-printer.c:562:11: error: incomplete definition of type 'struct _ipp_s'
      if (ippGetState (response) == IPP_STATE_IDLE)
          ^            ~~~~~~~~
pp-printer.c:30:34: note: expanded from macro 'ippGetState'
#define ippGetState(ipp)      ipp->state
                              ~~~^
/usr/include/cups/ipp.h:692:16: note: forward declaration of 'struct _ipp_s'
typedef struct _ipp_s ipp_t;            /**** IPP request/response data ****/
               ^

Attachments (1)

gnome-control-center-fail-1013.log (896.6 KB) - added by kencu (Ken) 11 months ago.

Download all attachments as: .zip

Change History (3)

Changed 11 months ago by kencu (Ken)

comment:1 Changed 11 months ago by kencu (Ken)

Yeah, well, looks like I broke this [65c99cd72b6677b6c9d260dee537613711bb3f89/macports-ports].

I guess I better figure it out properly...

comment:2 Changed 11 months ago by kencu (Ken)

probably will start by updating it if that is possible, and then sort out the patches after that...

$ port livecheck gnome-control-center
gnome-control-center seems to have been updated (port version: 3.26.2, new version: 3.34.1)
Note: See TracTickets for help on using tickets.