[package - main-amd64-default][x11/gromit] Failed for gromit-20041213_8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 08:06:24 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p58633340e9ed_s5636590214/logs/gromit-20041213_8.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p58633340e9ed_s5636590214
Log:

=>> Building x11/gromit
build started at Sat Feb 11 08:06:16 UTC 2023
port directory: /usr/ports/x11/gromit
package name: gromit-20041213_8
building for: FreeBSD main-amd64-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 06




!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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 gromit-20041213_8:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/x11/gromit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/gromit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/gromit/work/.cache  HOME=/wrkdirs/usr/ports/x11/gromit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/gromit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11/gromit/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11/gromit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/gromit/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/gromit/work/.cache  HOME=/wrkdirs/usr/ports/x11/gromit/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/gromit/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11/gromit/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA
 ="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gromit"  EXAMPLESDIR="share/examples/gromit"  DATADIR="share/gromit"  WWWDIR="www/gromit"  ETCDIR="etc/gromit"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gromit DOCSDIR=/usr/local/share/doc/gromit EXAMPLESDIR=/usr/local/share/examples/gromit  WWWDIR=/usr/local/www/gromit ETCDIR=/usr/local/etc/gromit
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The gromit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gromit-20041213_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-amd64-default-job-06] Installing pkg-1.19.1...
[main-amd64-default-job-06] Extracting pkg-1.19.1: .......... done
===>   gromit-20041213_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gromit-20041213_8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The gromit port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

<snip>
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   gromit-20041213_8 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so)
===>   Returning to build of gromit-20041213_8
===>   gromit-20041213_8 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for gromit-20041213_8
===========================================================================
=======================<phase: build          >============================
===>  Building for gromit-20041213_8
--- gromit ---
cc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  `pkg-config --libs --cflags gtk+-2.0 x11` -lm
In file included from gromit.c:23:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
void            gtk_type_init   (GTypeDebugFlags    debug_flags);
                                 ^
/usr/local/include/glib-2.0/gobject/gtype.h:706:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
                  ^
/usr/local/include/glib-2.0/glib/gversionmacros.h:570:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_36'
# define GLIB_DEPRECATED_TYPE_IN_2_36           GLIB_DEPRECATED_TYPE
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1278:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
#define GLIB_DEPRECATED_TYPE G_DEPRECATED
                             ^
/usr/local/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
In file included from gromit.c:23:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  GTimeVal last_popdown;
  ^
/usr/local/include/glib-2.0/glib/gtypes.h:574:35: note: 'GTimeVal' has been explicitly marked deprecated here
typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
                                  ^
/usr/local/include/glib-2.0/glib/gversionmacros.h:983:49: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
# define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f)    GLIB_DEPRECATED_TYPE_FOR(f)
                                                ^
/usr/local/include/glib-2.0/glib/gmacros.h:1279:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
#define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
                                    ^
/usr/local/include/glib-2.0/glib/gmacros.h:1211:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
                                           ^
gromit.c:163:27: warning: call to undeclared function 'gdk_gc_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      context->paint_gc = gdk_gc_new (data->pixmap);
                          ^
gromit.c:163:25: error: incompatible integer to pointer conversion assigning to 'GdkGC *' (aka 'struct _GdkGC *') from 'int' [-Wint-conversion]
      context->paint_gc = gdk_gc_new (data->pixmap);
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:164:7: warning: call to undeclared function 'gdk_gc_set_foreground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_gc_set_foreground (context->paint_gc, fg_color);
      ^
gromit.c:165:7: warning: call to undeclared function 'gdk_gc_set_line_attributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_gc_set_line_attributes (context->paint_gc, width, GDK_LINE_SOLID,
      ^
gromit.c:176:27: warning: call to undeclared function 'gdk_gc_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      context->shape_gc = gdk_gc_new (data->shape);
                          ^
gromit.c:176:25: error: incompatible integer to pointer conversion assigning to 'GdkGC *' (aka 'struct _GdkGC *') from 'int' [-Wint-conversion]
      context->shape_gc = gdk_gc_new (data->shape);
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:177:7: warning: call to undeclared function 'gdk_gc_get_values'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_gc_get_values (context->shape_gc, &shape_gcv);
      ^
gromit.c:180:10: warning: call to undeclared function 'gdk_gc_set_foreground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
         gdk_gc_set_foreground (context->shape_gc, &(shape_gcv.foreground));
         ^
gromit.c:184:7: warning: call to undeclared function 'gdk_gc_set_line_attributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_gc_set_line_attributes (context->shape_gc, width, GDK_LINE_SOLID,
      ^
gromit.c:419:3: warning: call to undeclared function 'gdk_gc_set_foreground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_gc_set_foreground (data->shape_gc, data->transparent);
  ^
gromit.c:420:3: warning: call to undeclared function 'gdk_draw_rectangle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_draw_rectangle (data->shape, data->shape_gc, 1,
  ^
gromit.c:463:12: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      name = g_strndup (device->name, len + 3);
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:537:5: warning: call to undeclared function 'gdk_gc_set_line_attributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gdk_gc_set_line_attributes (data->cur_context->paint_gc,
    ^
gromit.c:546:5: warning: call to undeclared function 'gdk_draw_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gdk_draw_line (data->pixmap, data->cur_context->paint_gc,
    ^
gromit.c:595:5: warning: call to undeclared function 'gdk_gc_set_line_attributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gdk_gc_set_line_attributes (data->cur_context->paint_gc,
    ^
gromit.c:606:7: warning: call to undeclared function 'gdk_draw_polygon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_draw_polygon (data->pixmap, data->cur_context->paint_gc,
      ^
gromit.c:608:7: warning: call to undeclared function 'gdk_gc_set_foreground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_gc_set_foreground (data->cur_context->paint_gc, data->black);
      ^
gromit.c:617:7: warning: call to undeclared function 'gdk_draw_polygon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gdk_draw_polygon (data->shape, data->cur_context->shape_gc,
      ^
gromit.c:834:3: warning: call to undeclared function 'gdk_draw_rectangle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_draw_rectangle (data->pixmap, data->area->style->black_gc,
  ^
gromit.c:849:3: warning: call to undeclared function 'gdk_draw_drawable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_draw_drawable (data->area->window,
  ^
gromit.c:929:30: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                          8, uri, strlen (uri));
                             ^~~
/usr/local/include/gtk-2.0/gtk/gtkselection.h:162:33: note: passing argument to parameter 'data' here
                                      const guchar         *data,
                                                            ^
gromit.c:994:19: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
              if ((guint) scanner->value.v_symbol < 11)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:995:35: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                 buttons |= 1 << ((guint) scanner->value.v_symbol - 1);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:997:36: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                 modifier |= 1 << ((guint) scanner->value.v_symbol - 11);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1114:22: warning: cast to smaller integer type 'GromitPaintType' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast]
              type = (GromitPaintType) scanner->value.v_symbol;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1155:27: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                      if ((guint) scanner->value.v_symbol == 1)
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1171:32: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                      else if ((guint) scanner->value.v_symbol == 2)
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1210:32: warning: cast to smaller integer type 'guint' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                      else if ((guint) scanner->value.v_symbol == 3)
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1351:16: warning: call to undeclared function 'gdk_bitmap_create_from_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits,
               ^
gromit.c:1351:14: error: incompatible integer to pointer conversion assigning to 'GdkPixmap *' (aka 'struct _GdkDrawable *') from 'int' [-Wint-conversion]
  cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits,
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1354:15: error: incompatible integer to pointer conversion assigning to 'GdkPixmap *' (aka 'struct _GdkDrawable *') from 'int' [-Wint-conversion]
  cursor_mask = gdk_bitmap_create_from_data (NULL, paint_cursor_mask_bits,
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1364:14: error: incompatible integer to pointer conversion assigning to 'GdkPixmap *' (aka 'struct _GdkDrawable *') from 'int' [-Wint-conversion]
  cursor_src = gdk_bitmap_create_from_data (NULL, erase_cursor_bits,
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1367:15: error: incompatible integer to pointer conversion assigning to 'GdkPixmap *' (aka 'struct _GdkDrawable *') from 'int' [-Wint-conversion]
  cursor_mask = gdk_bitmap_create_from_data (NULL, erase_cursor_mask_bits,
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1381:20: warning: call to undeclared function 'gdk_gc_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  data->shape_gc = gdk_gc_new (data->shape);
                   ^
gromit.c:1381:18: error: incompatible integer to pointer conversion assigning to 'GdkGC *' (aka 'struct _GdkGC *') from 'int' [-Wint-conversion]
  data->shape_gc = gdk_gc_new (data->shape);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~
gromit.c:1383:3: warning: call to undeclared function 'gdk_gc_get_values'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_gc_get_values (data->shape_gc, data->shape_gcv);
  ^
gromit.c:1386:3: warning: call to undeclared function 'gdk_gc_set_foreground'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_gc_set_foreground (data->shape_gc, data->transparent);
  ^
gromit.c:1387:3: warning: call to undeclared function 'gdk_draw_rectangle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  gdk_draw_rectangle (data->shape, data->shape_gc,
  ^
33 warnings and 7 errors generated.
*** [gromit] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/x11/gromit/work/gromit-20041213
1 error

make[1]: stopped in /wrkdirs/usr/ports/x11/gromit/work/gromit-20041213
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/gromit