[package - main-arm64-default][x11-toolkits/swt] Failed for swt-4.21 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 22 Feb 2023 14:00:54 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:     makc@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p1b4f77b589d3_s357492c995/logs/swt-4.21.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p1b4f77b589d3_s357492c995
Log:

=>> Building x11-toolkits/swt
build started at Wed Feb 22 14:00:06 UTC 2023
port directory: /usr/ports/x11-toolkits/swt
package name: swt-4.21
building for: FreeBSD main-arm64-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400081 arm64
maintained by: makc@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400081
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400081
UNAME_v=FreeBSD 14.0-CURRENT 1400081
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-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 swt-4.21:
     CAIRO=on: Cairo graphics library support
     WEBKIT=off: WebKit webpage renderer support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
makc@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/swt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/swt/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--
SWT_VERSION=4946r21 MAKE_CAIRO=make_cairo BUILD_WEBKIT2EXTENSION=no JAVA_HOME=/usr/local/openjdk8 XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/swt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/swt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/swt/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" B
 SD_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--
SWT_VERSION=4946r21 CAIRO="" NO_CAIRO="@comment " WEBKIT="@comment " NO_WEBKIT="" JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" 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/swt"  EXAMPLESDIR="share/examples/swt"  DATADIR="share/swt"  WWWDIR="www/swt"  ETCDIR="etc/swt"
--End PLIST_SUB--

--SUB_LIST--
CAIRO="" NO_CAIRO="@comment " WEBKIT="@comment " NO_WEBKIT="" JAVASHAREDIR="/usr/local/share/java"  JAVAJARDIR="/usr/local/share/java/classes"  JAVALIBDIR="/usr/local/share/java/classes" JAVA_OS="native" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/swt DOCSDIR=/usr/local/share/doc/swt EXAMPLESDIR=/usr/local/share/examples/swt  WWWDIR=/usr/local/www/swt ETCDIR=/usr/local/etc/swt
--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: aarch64-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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400081
PYTHONBASE=/usr/local
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)  1048576
stack size              (kbytes, -s)  1048576
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   >============================
===>  License EPL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   swt-4.21 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-arm64-default-job-11] Installing pkg-1.19.1_1...
[main-arm64-default-job-11] Extracting pkg-1.19.1_1: .......... done
===>   swt-4.21 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of swt-4.21
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by swt-4.21 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by swt-4.21 for building
=> SHA256 Checksum OK for swt-4.21-gtk-linux-x86_64.zip.
===========================================================================
=======================<phase: extract-depends>============================
===>   swt-4.21 depends on file: /usr/local/bin/unzip - not found
===>   Installing existing package /packages/All/unzip-6.0_8.pkg
[main-arm64-default-job-11] Installing unzip-6.0_8...
[main-arm64-default-job-11] Extracting unzip-6.0_8: .......... done
===>   swt-4.21 depends on file: /usr/local/bin/unzip - found
===>   Returning to build of swt-4.21
===========================================================================
=======================<phase: extract        >============================
===>  License EPL accepted by the user
===> Fetching all distfiles required by swt-4.21 for building
===>  Extracting for swt-4.21
=> SHA256 Checksum OK for swt-4.21-gtk-linux-x86_64.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
<snip>
[main-arm64-default-job-11] |   | `-- Installing dbus-1.14.4,1...
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[main-arm64-default-job-11] |   | `-- Extracting dbus-1.14.4,1: ......... done
[main-arm64-default-job-11] |   | `-- Installing libxkbcommon-1.5.0...
[main-arm64-default-job-11] |   |   `-- Installing wayland-1.21.0...
[main-arm64-default-job-11] |   |   | `-- Installing libepoll-shim-0.0.20220703...
[main-arm64-default-job-11] |   |   | `-- Extracting libepoll-shim-0.0.20220703: .......... done
[main-arm64-default-job-11] |   |   `-- Extracting wayland-1.21.0: .......... done
[main-arm64-default-job-11] |   |   `-- Installing xkeyboard-config-2.34_2...
[main-arm64-default-job-11] |   |   `-- Extracting xkeyboard-config-2.34_2: .......... done
[main-arm64-default-job-11] |   | `-- Extracting libxkbcommon-1.5.0: .......... done
[main-arm64-default-job-11] |   `-- Extracting at-spi2-core-2.44.1: .......... done
[main-arm64-default-job-11] `-- Extracting at-spi2-atk-2.38.0: .......... done
[main-arm64-default-job-11] `-- Installing colord-1.4.6...
[main-arm64-default-job-11] |   `-- Installing hwdata-0.367,1...
[main-arm64-default-job-11] |   `-- Extracting hwdata-0.367,1: .......... done
[main-arm64-default-job-11] |   `-- Installing lcms2-2.13.1...
[main-arm64-default-job-11] |   `-- Extracting lcms2-2.13.1: .......... done
[main-arm64-default-job-11] |   `-- Installing libgudev-234...
[main-arm64-default-job-11] |   | `-- Installing libudev-devd-0.5.0...
[main-arm64-default-job-11] |   | `-- Extracting libudev-devd-0.5.0: ........ done
[main-arm64-default-job-11] |   `-- Extracting libgudev-234: .......... done
[main-arm64-default-job-11] |   `-- Installing libgusb-0.3.10_1...
[main-arm64-default-job-11] |   `-- Extracting libgusb-0.3.10_1: .......... done
[main-arm64-default-job-11] |   `-- Installing polkit-122...
[main-arm64-default-job-11] |   | `-- Installing duktape-lib-2.7.0...
[main-arm64-default-job-11] |   | `-- Extracting duktape-lib-2.7.0: ......... done
===> Creating groups.
Creating group 'polkitd' with gid '565'.
===> Creating users
Creating user 'polkitd' with uid '565'.
[main-arm64-default-job-11] |   `-- Extracting polkit-122: ......... done
[main-arm64-default-job-11] |   `-- Installing sqlite3-3.40.1,1...
[main-arm64-default-job-11] |   | `-- Installing libedit-3.1.20221030,1...
[main-arm64-default-job-11] |   | `-- Extracting libedit-3.1.20221030,1: .......... done
[main-arm64-default-job-11] |   `-- Extracting sqlite3-3.40.1,1: .......... done
===> Creating groups.
Creating group 'colord' with gid '970'.
===> Creating users
Creating user 'colord' with uid '970'.
[main-arm64-default-job-11] `-- Extracting colord-1.4.6: .......... done
[main-arm64-default-job-11] `-- Installing cups-2.4.2...
[main-arm64-default-job-11] |   `-- Installing avahi-app-0.8_1...
[main-arm64-default-job-11] |   | `-- Installing dbus-glib-0.112...
[main-arm64-default-job-11] |   | `-- Extracting dbus-glib-0.112: .......... done
[main-arm64-default-job-11] |   | `-- Installing gdbm-1.23...
[main-arm64-default-job-11] |   | `-- Extracting gdbm-1.23: .......... done
[main-arm64-default-job-11] |   | `-- Installing gnome_subr-1.0...
[main-arm64-default-job-11] |   | `-- Extracting gnome_subr-1.0: .... done
[main-arm64-default-job-11] |   | `-- Installing libdaemon-0.14_1...
[main-arm64-default-job-11] |   | `-- Extracting libdaemon-0.14_1: .......... done
[main-arm64-default-job-11] |   | `-- Installing libevent-2.1.12...
[main-arm64-default-job-11] |   | `-- Extracting libevent-2.1.12: .......... done
===> Creating groups.
Creating group 'avahi' with gid '558'.
===> Creating users
Creating user 'avahi' with uid '558'.
[main-arm64-default-job-11] |   `-- Extracting avahi-app-0.8_1: .......... done
[main-arm64-default-job-11] |   `-- Installing gnutls-3.7.9...
[main-arm64-default-job-11] |   | `-- Installing gmp-6.2.1...
[main-arm64-default-job-11] |   | `-- Extracting gmp-6.2.1: .......... done
[main-arm64-default-job-11] |   | `-- Installing libidn2-2.3.4...
[main-arm64-default-job-11] |   |   `-- Installing libunistring-1.1...
[main-arm64-default-job-11] |   |   `-- Extracting libunistring-1.1: .......... done
[main-arm64-default-job-11] |   | `-- Extracting libidn2-2.3.4: .......... done
[main-arm64-default-job-11] |   | `-- Installing libtasn1-4.19.0...
[main-arm64-default-job-11] |   | `-- Extracting libtasn1-4.19.0: .......... done
[main-arm64-default-job-11] |   | `-- Installing nettle-3.8.1...
[main-arm64-default-job-11] |   | `-- Extracting nettle-3.8.1: .......... done
[main-arm64-default-job-11] |   | `-- Installing p11-kit-0.24.1_2...
[main-arm64-default-job-11] |   | `-- Extracting p11-kit-0.24.1_2: .......... done
[main-arm64-default-job-11] |   `-- Extracting gnutls-3.7.9: .......... done
[main-arm64-default-job-11] |   `-- Installing libpaper-1.1.28...
[main-arm64-default-job-11] |   `-- Extracting libpaper-1.1.28: .......... done
===> Creating groups.
Creating group 'cups' with gid '193'.
===> Creating users
Creating user 'cups' with uid '193'.
[main-arm64-default-job-11] `-- Extracting cups-2.4.2: .......... done
[main-arm64-default-job-11] `-- Installing gsettings-desktop-schemas-42.0...
[main-arm64-default-job-11] `-- Extracting gsettings-desktop-schemas-42.0: .......... done
[main-arm64-default-job-11] `-- Installing hicolor-icon-theme-0.17...
[main-arm64-default-job-11] `-- Extracting hicolor-icon-theme-0.17: . done
[main-arm64-default-job-11] `-- Installing libXcomposite-0.4.6,1...
[main-arm64-default-job-11] `-- Extracting libXcomposite-0.4.6,1: .......... done
[main-arm64-default-job-11] `-- Installing libXcursor-1.2.0...
[main-arm64-default-job-11] `-- Extracting libXcursor-1.2.0: .......... done
[main-arm64-default-job-11] `-- Installing libXdamage-1.1.6...
[main-arm64-default-job-11] `-- Extracting libXdamage-1.1.6: ......... done
[main-arm64-default-job-11] `-- Installing libXinerama-1.1.4_2,1...
[main-arm64-default-job-11] `-- Extracting libXinerama-1.1.4_2,1: .......... done
[main-arm64-default-job-11] `-- Installing libXrandr-1.5.2...
[main-arm64-default-job-11] `-- Extracting libXrandr-1.5.2: .......... done
[main-arm64-default-job-11] `-- Installing libepoxy-1.5.9...
[main-arm64-default-job-11] `-- Extracting libepoxy-1.5.9: .......... done
[main-arm64-default-job-11] `-- Installing librsvg2-rust-2.54.5_5...
[main-arm64-default-job-11] `-- Extracting librsvg2-rust-2.54.5_5: .......... done
[main-arm64-default-job-11] Extracting gtk3-3.24.34: .......... done
Running fc-cache to build fontconfig cache...
Generating gdk-pixbuf modules cache
Generating GTK icon cache for /usr/local/share/icons/hicolor
Generating GTK icon cache for /usr/local/share/icons/Adwaita
Compiling glib schemas
=====
Message from wayland-1.21.0:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libxkbcommon-1.5.0:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
=====
Message from duktape-lib-2.7.0:

--
===>   NOTICE:

The duktape-lib 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
===>   swt-4.21 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so)
===>   Returning to build of swt-4.21
===>   swt-4.21 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for swt-4.21
===========================================================================
=======================<phase: build          >============================
===>  Building for swt-4.21
Buildfile: /wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21/build.xml

init:

build.classes:
    [mkdir] Created dir: /wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21/classes
    [javac] /wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21/build.xml:32: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 440 source files to /wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

build.nativeLibraries:
     [exec] Cairo found, compiling SWT support for the cairo graphics library.
     [exec] libjawt.so found, the SWT/AWT integration library will be compiled.
     [exec] Building SWT/GTK+ for Architectures: freebsd aarch64
     [exec] *** Warning: Cannot compile Webkit2 Extension because 'pkg-config --exists webkit2gtk-web-extension-4.0' check failed. Please install webkitgtk4-devel.ARCH on your system.
     [exec] Building GTK3 bindings:
     [exec] gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21'
     [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21    -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror -c swt.c
     [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21    -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror   -c -o c.o c.c
     [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21    -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror   -c -o c_stats.o c_stats.c
     [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21    -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -DUSE_ASSEMBLER -c callback.c
     [exec] cc -shared -fPIC  -s -o libswt-gtk-4946r21.so swt.o c.o c_stats.o callback.o
     [exec] cc -O -Wall -fPIC -DSWT_VERSION=4946r21    -DLINUX -DGTK -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -I/usr/local/include -DJNI64 -Werror `pkg-config --cflags gtk+-3.0 gtk+-unix-print-3.0` -c os.c
     [exec] os.c:10214:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
     [exec]         rc = (jint)((jint (*)())arg0)(arg1, arg2, arg3);
     [exec]                                      ^
     [exec] os.c:10226:31: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
     [exec]         rc = (jint)((jint (*)())arg0)(arg1, arg2);
     [exec]                                      ^
     [exec] os.c:10808:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
     [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4);
     [exec]                                        ^
     [exec] os.c:10820:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
     [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6);
     [exec]                                        ^
     [exec] os.c:10832:33: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
     [exec]         rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
     [exec]                                        ^
     [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21'
     [exec] *** GTK3 Build failed, aborting further actions..
     [exec] 5 errors generated.
     [exec] gmake[1]: *** [make_freebsd.mak:161: os.o] Error 1

BUILD FAILED
/wrkdirs/usr/ports/x11-toolkits/swt/work/swt-4.21/build.xml:61: exec returned: 2

Total time: 32 seconds
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/swt