[package - main-amd64-default][games/xye] Failed for xye-0.12.2_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 20:17:53 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/p94b089c7ad30_sb162fc3f309/logs/xye-0.12.2_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p94b089c7ad30_sb162fc3f309
Log:

=>> Building games/xye
build started at Tue Sep  3 20:17:31 UTC 2024
port directory: /usr/ports/games/xye
package name: xye-0.12.2_4
building for: FreeBSD main-amd64-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2878 Nov  2  2023 /usr/ports/games/xye/Makefile
Ports top last git commit: 94b089c7ad3
Ports top unclean checkout: no
Port dir last git commit: 05f0f44a557
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 07

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for xye-0.12.2_4:
     DOCS=on: Build and/or install documentation
     SKINS=on: Install additional skins
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--with-docdir=/usr/local/share/doc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/xye/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xye/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xye/work/.cache  HOME=/wrkdirs/usr/ports/games/xye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xye/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/xye/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xye/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xye/work/.cache  HOME=/wrkdirs/usr/ports/games/xye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xye/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  -Wno-c++11-narrowing " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DAT
A="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" DOCS="" NO_DOCS="@comment " SKINS="" NO_SKINS="@comment " OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xye"  EXAMPLESDIR="share/examples/xye"  DATADIR="share/xye"  WWWDIR="www/xye"  ETCDIR="etc/xye"
--End PLIST_SUB--

--SUB_LIST--
 DOCS="" NO_DOCS="@comment " SKINS="" NO_SKINS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xye DOCSDIR=/usr/local/share/doc/xye EXAMPLESDIR=/usr/local/share/examples/xye  WWWDIR=/usr/local/www/xye ETCDIR=/usr/local/etc/xye
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The xye 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 ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   xye-0.12.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-07] Installing pkg-1.21.3...
[main-amd64-default-job-07] Extracting pkg-1.21.3: .......... done
===>   xye-0.12.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xye-0.12.2_4
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The xye 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 ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The xye 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 ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_4 for building
=> SHA256 Checksum OK for xye/xye-0.12.2.tar.gz.
<snip>
      |                    ==
src/xye.cpp:7923:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 7923 |         if (gobject=game::Square(x,y)->gobject)
      |             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye.cpp:7923:20: note: place parentheses around the assignment to silence this warning
 7923 |         if (gobject=game::Square(x,y)->gobject)
      |                    ^                          
      |             (                                 )
src/xye.cpp:7923:20: note: use '==' to turn this assignment into an equality comparison
 7923 |         if (gobject=game::Square(x,y)->gobject)
      |                    ^
      |                    ==
src/xye.cpp:8003:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 8003 |         if (gobject=game::Square(x,y)->gobject)
      |             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye.cpp:8003:20: note: place parentheses around the assignment to silence this warning
 8003 |         if (gobject=game::Square(x,y)->gobject)
      |                    ^                          
      |             (                                 )
src/xye.cpp:8003:20: note: use '==' to turn this assignment into an equality comparison
 8003 |         if (gobject=game::Square(x,y)->gobject)
      |                    ^
      |                    ==
src/xye.cpp:8084:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
 8084 |     if ((game::counter8==0)) anim=!anim;
      |          ~~~~~~~~~~~~~~^~~
src/xye.cpp:8084:24: note: remove extraneous parentheses around the comparison to silence this warning
 8084 |     if ((game::counter8==0)) anim=!anim;
      |         ~              ^  ~
src/xye.cpp:8084:24: note: use '=' to turn this equality comparison into an assignment
 8084 |     if ((game::counter8==0)) anim=!anim;
      |                        ^~
      |                        =
src/xye.cpp:8106:12: warning: enumeration value 'D_DOWN' not handled in switch [-Wswitch]
 8106 |     switch(dir)
      |            ^~~
src/xye.cpp:8252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 8252 |     if (active=RenderAfterObjects=(entering->HasBlockColor(c)))
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye.cpp:8252:15: note: place parentheses around the assignment to silence this warning
 8252 |     if (active=RenderAfterObjects=(entering->HasBlockColor(c)))
      |               ^                                               
      |         (                                                     )
src/xye.cpp:8252:15: note: use '==' to turn this assignment into an equality comparison
 8252 |     if (active=RenderAfterObjects=(entering->HasBlockColor(c)))
      |               ^
      |               ==
src/xye.cpp:8435:17: warning: 39 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch]
 8435 |         switch (object->GetType())
      |                 ^~~~~~~~~~~~~~~~~
src/xye.cpp:8486:13: warning: 42 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch]
 8486 |     switch (entering->GetType())
      |             ^~~~~~~~~~~~~~~~~~~
src/xye.cpp:8573:12: warning: address of stack memory associated with local variable 'res' returned [-Wreturn-stack-address]
 8573 |     return res.c_str();
      |            ^~~
src/xye.cpp:8742:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 8742 |     if (o= sq->object)
      |         ~^~~~~~~~~~~~
src/xye.cpp:8742:10: note: place parentheses around the assignment to silence this warning
 8742 |     if (o= sq->object)
      |          ^           
      |         (            )
src/xye.cpp:8742:10: note: use '==' to turn this assignment into an equality comparison
 8742 |     if (o= sq->object)
      |          ^
      |          ==
28 warnings generated.
src/xye.cpp:8874:13: warning: enumeration value 'KT_KILLORGANICS' not handled in switch [-Wswitch]
 8874 |     switch (K->kt)
      |             ^~~~~
src/xye.cpp:9017:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch]
 9017 |     switch(t)
      |            ^
src/xye.cpp:9060:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch]
 9060 |     switch(dir)
      |            ^~~
mv -f .deps/options.Tpo .deps/options.Po
c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -Wno-c++11-narrowing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT xye_script.o -MD -MP -MF .deps/xye_script.Tpo -c -o xye_script.o `test -f 'src/xye_script.cpp' || echo './'`src/xye_script.cpp
src/xye.cpp:9226:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch]
 9226 |     switch(dir)
      |            ^~~
src/xye.cpp:9237:12: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch]
 9237 |     switch(dir)
      |            ^~~
src/xye.cpp:9277:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch]
 9277 |     switch(object->GetType())
      |            ^~~~~~~~~~~~~~~~~
src/xye.cpp:9317:1: warning: '/*' within block comment [-Wcomment]
 9317 | /** /Object recycle queue **/
      | ^
src/xye.cpp:9333:9: warning: delete called on 'obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
 9333 |         delete (tm->o);
      |         ^
17 warnings generated.
mv -f .deps/xsb_level.Tpo .deps/xsb_level.Po
c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I.     -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -Wno-c++11-narrowing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT listbox.o -MD -MP -MF .deps/listbox.Tpo -c -o listbox.o `test -f 'src/listbox.cpp' || echo './'`src/listbox.cpp
In file included from src/xye_script.cpp:20:
In file included from src/options.h:1:
src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  636 |         const TiXmlDocument* ToDocument()       const           { return ( this && type == DOCUMENT ) ? (const TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                            ^~~~ ~~
src/tinyxml/xye_tinyxml.h:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  637 |         const TiXmlElement*  ToElement() const                  { return ( this && type == ELEMENT  ) ? (const TiXmlElement*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                            ^~~~ ~~
src/tinyxml/xye_tinyxml.h:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  638 |         const TiXmlComment*  ToComment() const                  { return ( this && type == COMMENT  ) ? (const TiXmlComment*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                            ^~~~ ~~
src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  639 |         const TiXmlUnknown*  ToUnknown() const                  { return ( this && type == UNKNOWN  ) ? (const TiXmlUnknown*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                            ^~~~ ~~
src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  640 |         const TiXmlText*           ToText()    const            { return ( this && type == TEXT     ) ? (const TiXmlText*)     this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                            ^~~~ ~~
src/tinyxml/xye_tinyxml.h:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  641 |         const TiXmlDeclaration* ToDeclaration() const   { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  643 |         TiXmlDocument* ToDocument()                     { return ( this && type == DOCUMENT ) ? (TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  644 |         TiXmlElement*  ToElement()                      { return ( this && type == ELEMENT  ) ? (TiXmlElement*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  645 |         TiXmlComment*  ToComment()                      { return ( this && type == COMMENT  ) ? (TiXmlComment*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  646 |         TiXmlUnknown*  ToUnknown()                      { return ( this && type == UNKNOWN  ) ? (TiXmlUnknown*)  this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  647 |         TiXmlText*         ToText()                     { return ( this && type == TEXT     ) ? (TiXmlText*)     this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                                    ^~~~ ~~
src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
  648 |         TiXmlDeclaration* ToDeclaration()       { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
      |                                                            ^~~~ ~~
src/xye_script.cpp:303:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  303 |         else if (pack=fil.FirstChildElement("xyereplay"))
      |                  ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:303:22: note: place parentheses around the assignment to silence this warning
  303 |         else if (pack=fil.FirstChildElement("xyereplay"))
      |                      ^                                  
      |                  (                                      )
src/xye_script.cpp:303:22: note: use '==' to turn this assignment into an equality comparison
  303 |         else if (pack=fil.FirstChildElement("xyereplay"))
      |                      ^
      |                      ==
src/xye_script.cpp:405:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  405 |                 if (pack=pack->FirstChildElement("moves"))
      |                     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:405:25: note: place parentheses around the assignment to silence this warning
  405 |                 if (pack=pack->FirstChildElement("moves"))
      |                         ^                                
      |                     (                                    )
src/xye_script.cpp:405:25: note: use '==' to turn this assignment into an equality comparison
  405 |                 if (pack=pack->FirstChildElement("moves"))
      |                         ^
      |                         ==
src/xye_script.cpp:862:5: error: reference to 'lock' is ambiguous
  862 |     lock* bc=new lock(game::SquareN(LastX,LastY),c);
      |     ^
src/xye.h:1048:7: note: candidate found by name lookup is 'lock'
 1048 | class lock : public obj
      |       ^
/usr/include/c++/v1/mutex:418:35: note: candidate found by name lookup is 'std::lock'
  418 | inline _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3) {
      |                                   ^
/usr/include/c++/v1/mutex:358:28: note: candidate found by name lookup is 'std::lock'
  358 | _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1) {
      |                            ^
src/xye_script.cpp:1517:16: warning: 4 enumeration values not handled in switch: 'OT_XYE', 'OT_FIREBALL', 'OT_EXIT'... [-Wswitch]
 1517 |         switch(GetOTFromXmlElement(pEChild,&x))
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:1917:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1917 |     if (pEChild= ( level->FirstChildElement("kyeformat")))
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:1917:16: note: place parentheses around the assignment to silence this warning
 1917 |     if (pEChild= ( level->FirstChildElement("kyeformat")))
      |                ^                                         
      |         (                                                )
src/xye_script.cpp:1917:16: note: use '==' to turn this assignment into an equality comparison
 1917 |     if (pEChild= ( level->FirstChildElement("kyeformat")))
      |                ^
      |                ==
16 warnings and 1 error generated.
gmake: *** [Makefile:647: xye_script.o] Error 1
gmake: *** Waiting for unfinished jobs....
src/listbox.cpp:339:21: warning: 229 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch]
  339 |             switch (keysim)
      |                     ^~~~~~
1 warning generated.
mv -f .deps/listbox.Tpo .deps/listbox.Po
62 warnings generated.
mv -f .deps/xye.Tpo .deps/xye.Po
===> 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 making "build" in /usr/ports/games/xye