[package - main-arm64-default][graphics/xwpick] Failed for xwpick-2.20_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 15 May 2023 16:30:32 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/ampere2/data/main-arm64-default/p666c8b4c2d83_sd1c8420702/logs/xwpick-2.20_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p666c8b4c2d83_sd1c8420702
Log:

=>> Building graphics/xwpick
build started at Mon May 15 16:30:21 UTC 2023
port directory: /usr/ports/graphics/xwpick
package name: xwpick-2.20_2
building for: FreeBSD main-arm64-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 arm64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400088
Job Id: 09




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400088
UNAME_v=FreeBSD 14.0-CURRENT 1400088
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 xwpick-2.20_2:
     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--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xwpick/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xwpick/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xwpick/work/.cache  HOME=/wrkdirs/usr/ports/graphics/xwpick/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xwpick/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xwpick/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/xwpick/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/xwpick/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/xwpick/work/.cache  HOME=/wrkdirs/usr/ports/graphics/xwpick/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/xwpick/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/xwpick/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 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="in
 stall  -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="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xwpick"  EXAMPLESDIR="share/examples/xwpick"  DATADIR="share/xwpick"  WWWDIR="www/xwpick"  ETCDIR="etc/xwpick"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xwpick DOCSDIR=/usr/local/share/doc/xwpick EXAMPLESDIR=/usr/local/share/examples/xwpick  WWWDIR=/usr/local/www/xwpick ETCDIR=/usr/local/etc/xwpick
--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=1400088
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   >============================
===>   NOTICE:

The xwpick 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 xwpick accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xwpick-2.20_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-arm64-default-job-09] Installing pkg-1.19.1_1...
[main-arm64-default-job-09] Extracting pkg-1.19.1_1: .......... done
===>   xwpick-2.20_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xwpick-2.20_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The xwpick 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 xwpick accepted by the user
<snip>
More information about port maintainership is available at:

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

===>  License xwpick accepted by the user
===> Fetching all distfiles required by xwpick-2.20_2 for building
===>  Extracting for xwpick-2.20_2
=> SHA256 Checksum OK for xwpick-2.20.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for xwpick-2.20_2
===========================================================================
=======================<phase: build-depends  >============================
===>   xwpick-2.20_2 depends on executable: imake - not found
===>   Installing existing package /packages/All/imake-1.0.8,1.pkg
[main-arm64-default-job-09] Installing imake-1.0.8,1...
[main-arm64-default-job-09] `-- Installing gccmakedep-1.0.3...
[main-arm64-default-job-09] `-- Extracting gccmakedep-1.0.3: .. done
[main-arm64-default-job-09] `-- Installing makedepend-1.0.6,1...
[main-arm64-default-job-09] `-- Extracting makedepend-1.0.6,1: ..... done
[main-arm64-default-job-09] `-- Installing perl5-5.32.1_3...
[main-arm64-default-job-09] `-- Extracting perl5-5.32.1_3: .......... done
[main-arm64-default-job-09] `-- Installing xorg-cf-files-1.0.7...
[main-arm64-default-job-09] `-- Extracting xorg-cf-files-1.0.7: .......... done
[main-arm64-default-job-09] Extracting imake-1.0.8,1: .......... done
===>   xwpick-2.20_2 depends on executable: imake - found
===>   Returning to build of xwpick-2.20_2
===>   xwpick-2.20_2 depends on executable: tradcpp - not found
===>   Installing existing package /packages/All/tradcpp-0.5.3.pkg
[main-arm64-default-job-09] Installing tradcpp-0.5.3...
[main-arm64-default-job-09] Extracting tradcpp-0.5.3: ..... done
===>   xwpick-2.20_2 depends on executable: tradcpp - found
===>   Returning to build of xwpick-2.20_2
===>   xwpick-2.20_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>   Installing existing package /packages/All/libX11-1.7.2,1.pkg
[main-arm64-default-job-09] Installing libX11-1.7.2,1...
[main-arm64-default-job-09] `-- Installing libxcb-1.15_1...
[main-arm64-default-job-09] |   `-- Installing libXau-1.0.9...
[main-arm64-default-job-09] |   `-- Extracting libXau-1.0.9: .......... done
[main-arm64-default-job-09] |   `-- Installing libXdmcp-1.1.3...
[main-arm64-default-job-09] |   | `-- Installing xorgproto-2022.1...
[main-arm64-default-job-09] |   | `-- Extracting xorgproto-2022.1: .......... done
[main-arm64-default-job-09] |   `-- Extracting libXdmcp-1.1.3: ......... done
[main-arm64-default-job-09] `-- Extracting libxcb-1.15_1: .......... done
[main-arm64-default-job-09] Extracting libX11-1.7.2,1: .......... done
===>   xwpick-2.20_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Returning to build of xwpick-2.20_2
===>   xwpick-2.20_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found
===>   Installing existing package /packages/All/libXext-1.3.4,1.pkg
[main-arm64-default-job-09] Installing libXext-1.3.4,1...
[main-arm64-default-job-09] Extracting libXext-1.3.4,1: .......... done
===>   xwpick-2.20_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   Returning to build of xwpick-2.20_2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for xwpick-2.20_2
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f-  --   -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -- xwpick.c ImgToolKit.c                   PCXencode.c GIFencode.c PICTencode.c PPMencode.c                   PSencode.c PS_LZWencode.c > .depend
===========================================================================
=======================<phase: build          >============================
===>  Building for xwpick-2.20_2
--- xwpick.o ---
--- ImgToolKit.o ---
--- xwpick.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c xwpick.c -o xwpick.o
--- ImgToolKit.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c ImgToolKit.c -o ImgToolKit.o
ImgToolKit.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ImgCheckDisplay(theDsp)
    ^
ImgToolKit.c:108:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
      if( XKeycodeToKeysym(theDsp, event.xkey.keycode, 0) == XK_space ){
          ^
/usr/local/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
_X_DEPRECATED
^
/usr/local/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED'
# define _X_DEPRECATED  __attribute__((deprecated))
                                       ^
ImgToolKit.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ImgPause(theDsp, pause)
    ^
ImgToolKit.c:131:23: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (theImg->data) free(theImg->data);
                      ^
ImgToolKit.c:131:23: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
ImgToolKit.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ImgFreeImage(theImg)
     ^
ImgToolKit.c:152:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
XImage* ImgPickImage(theDsp, x, y, width, height)
        ^
ImgToolKit.c:197:14: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  if (window != NULL && window != theRoot)
      ~~~~~~ ^  ~~~~
ImgToolKit.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ImgPickPalette(theDsp, window, Ncol, R, G, B)
     ^
ImgToolKit.c:265:29: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  if (win == theRoot && win == NULL) {
                        ~~~ ^  ~~~~
ImgToolKit.c:271:13: warning: comparison between pointer and integer ('Atom' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  if (state != NULL) {
      ~~~~~ ^  ~~~~
ImgToolKit.c:272:10: error: incompatible pointer to integer conversion assigning to 'Atom' (aka 'unsigned long') from 'void *' [-Wint-conversion]
    type = NULL;
         ^ ~~~~
ImgToolKit.c:274:17: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
    while (kidW != NULL) {
           ~~~~ ^  ~~~~
ImgToolKit.c:279:16: warning: comparison between pointer and integer ('Atom' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
      if (type != NULL) break;
          ~~~~ ^  ~~~~
--- xwpick.o ---
xwpick.c:78:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void get_scline(y, width, scline)
            ^
xwpick.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void put_byte(b)
            ^
--- ImgToolKit.o ---
ImgToolKit.c:254:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void ImgFindRectangle(win, px, py, x, y, w, h)
            ^
--- xwpick.o ---
xwpick.c:108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void quit(message)
            ^
xwpick.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int vms_parser(argc,argv,strng)
           ^
--- ImgToolKit.o ---
ImgToolKit.c:306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void ImgFlashRectangle(x, y, w, h, show)
            ^
--- xwpick.o ---
xwpick.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(ArgC, ArgV)
^
int
--- ImgToolKit.o ---
ImgToolKit.c:421:14: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
      if (cW == NULL || cW == theRoot) {
          ~~ ^  ~~~~
ImgToolKit.c:440:12: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      iw = abs(x - x1) + 1; ih = abs(y - y1) + 1;
           ^
ImgToolKit.c:440:12: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
ImgToolKit.c:464:13: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  while (rW != NULL) {
         ~~ ^  ~~~~
ImgToolKit.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ImgGetRectangle(display, window, xorigin, yorigin, width, height)
     ^
ImgToolKit.c:502:10: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  if (cW == NULL) cW = theRoot;
      ~~ ^  ~~~~
ImgToolKit.c:508:13: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') [-Wpointer-integer-compare]
  while (rW != NULL) {
         ~~ ^  ~~~~
ImgToolKit.c:486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ImgGetCurrentWindow(display, window, xorigin, yorigin, width, height)
     ^
ImgToolKit.c:533:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ImgGetWindowById(display, window, xorigin, yorigin, width, height)
    ^
ImgToolKit.c:581:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ImgFinalFlash(display, x, y, w, h)
     ^
23 warnings and 1 error generated.
*** [ImgToolKit.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/xwpick/work/xwpick-2.20
--- xwpick.o ---
xwpick.c:444:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    FileName,ncol,width,height,irep); 
                                               ^~~~
xwpick.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(ArgC, ArgV)
^
7 warnings generated.
1 error

make[1]: stopped in /wrkdirs/usr/ports/graphics/xwpick/work/xwpick-2.20
===> 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/graphics/xwpick