[package - 141i386-quarterly][games/glob2] Failed for glob2-0.9.5.0.g20240607_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Oct 2024 06:55:26 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/beefy19/data/141i386-quarterly/6a159827c4c0/logs/glob2-0.9.5.0.g20240607_1.log
Build URL:      https://pkg-status.freebsd.org/beefy19/build.html?mastername=141i386-quarterly&build=6a159827c4c0
Log:

=>> Building games/glob2
build started at Tue Oct 22 06:52:37 UTC 2024
port directory: /usr/ports/games/glob2
package name: glob2-0.9.5.0.g20240607_1
building for: FreeBSD 141i386-quarterly-job-04 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 i386
maintained by: makc@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1125 Oct  8 01:01 /usr/ports/games/glob2/Makefile
Ports top last git commit: 6a159827c
Ports top unclean checkout: no
Port dir last git commit: 19fbadfb9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.1-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-quarterly/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/141i386-quarterly/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-quarterly/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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/glob2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/glob2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/glob2/work/.cache  HOME=/wrkdirs/usr/ports/games/glob2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/glob2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/glob2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/glob2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/glob2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/glob2/work/.cache  HOME=/wrkdirs/usr/ports/games/glob2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/glob2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/glob2/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++14 " 
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--
OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/glob2"  EXAMPLESDIR="share/examples/glob2"  DATADIR="share/glob2"  WWWDIR="www/glob2"  ETCDIR="etc/glob2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/glob2 DOCSDIR=/usr/local/share/doc/glob2 EXAMPLESDIR=/usr/local/share/examples/glob2  WWWDIR=/usr/local/www/glob2 ETCDIR=/usr/local/etc/glob2
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   glob2-0.9.5.0.g20240607_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-quarterly-job-04] Installing pkg-1.21.3...
[141i386-quarterly-job-04] Extracting pkg-1.21.3: .......... done
===>   glob2-0.9.5.0.g20240607_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of glob2-0.9.5.0.g20240607_1
===========================================================================
=======================<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
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by glob2-0.9.5.0.g20240607_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by glob2-0.9.5.0.g20240607_1 for building
=> SHA256 Checksum OK for Globulation2-glob2-0.9.5.0.g20240607-bf277676_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by glob2-0.9.5.0.g20240607_1 for building
===>  Extracting for glob2-0.9.5.0.g20240607_1
=> SHA256 Checksum OK for Globulation2-glob2-0.9.5.0.g20240607-bf277676_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for glob2-0.9.5.0.g20240607_1
===>  Applying FreeBSD patches for glob2-0.9.5.0.g20240607_1 from /usr/ports/games/glob2/files
/usr/bin/sed -i.bak '/addDir(PACKAGE_SOURCE_DIR)/d'  /wrkdirs/usr/ports/games/glob2/work/glob2-bf277676/libgag/src/FileManager.cpp
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   glob2-0.9.5.0.g20240607_1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[141i386-quarterly-job-04] Installing pkgconf-2.3.0,1...
[141i386-quarterly-job-04] Extracting pkgconf-2.3.0,1: .......... done
===>   glob2-0.9.5.0.g20240607_1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of glob2-0.9.5.0.g20240607_1
===>   glob2-0.9.5.0.g20240607_1 depends on file: /usr/local/bin/scons-3.11 - not found
===>   Installing existing package /packages/All/scons-py311-4.7.0.pkg
[141i386-quarterly-job-04] Installing scons-py311-4.7.0...
[141i386-quarterly-job-04] `-- Installing python311-3.11.10...
[141i386-quarterly-job-04] |   `-- Installing gettext-runtime-0.22.5...
[141i386-quarterly-job-04] |   | `-- Installing indexinfo-0.3.1...
[141i386-quarterly-job-04] |   | `-- Extracting indexinfo-0.3.1: .... done
[141i386-quarterly-job-04] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[141i386-quarterly-job-04] |   `-- Installing libffi-3.4.6...
[141i386-quarterly-job-04] |   `-- Extracting libffi-3.4.6: .......... done
[141i386-quarterly-job-04] |   `-- Installing mpdecimal-4.0.0...
[141i386-quarterly-job-04] |   `-- Extracting mpdecimal-4.0.0: .......... done
[141i386-quarterly-job-04] |   `-- Installing readline-8.2.13_1...
[141i386-quarterly-job-04] |   `-- Extracting readline-8.2.13_1: .......... done
<snip>
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:54:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameGUI *>::addMethod<void (GameGUI *, int)>' requested here
   54 |         addMethod<void(GameGUI*,int)>("enableGUIElement", &GameGUI::enableGUIElement);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<void (GameGUI *, std::string, std::string)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:63:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameGUI *>::addMethod<void (GameGUI *, std::string, std::string)>' requested here
   63 |         addMethod<void(GameGUI*,string,string)>("showScriptTextTr", &GameGUI::showScriptTextTr);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<void (GameGUI *)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:64:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameGUI *>::addMethod<void (GameGUI *)>' requested here
   64 |         addMethod<void(GameGUI*)>("hideScriptText", &GameGUI::hideScriptText);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (Game *)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:70:2: note: in instantiation of function template specialization 'NativeValuePrototype<Game *>::addMethod<int (Game *)>' requested here
   70 |         addMethod<int(Game*)>("teamsCount", &Game::teamsCount);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<bool (Game *, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:71:2: note: in instantiation of function template specialization 'NativeValuePrototype<Game *>::addMethod<bool (Game *, int)>' requested here
   71 |         addMethod<bool(Game*,int)>("isTeamAlive", &Game::isTeamAlive);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (Game *, int, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:73:2: note: in instantiation of function template specialization 'NativeValuePrototype<Game *>::addMethod<int (Game *, int, int)>' requested here
   73 |         addMethod<int(Game*,int,int)>("unitsCount", &Game::unitsCount);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (Game *, int, int, int, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:74:2: note: in instantiation of function template specialization 'NativeValuePrototype<Game *>::addMethod<int (Game *, int, int, int, int)>' requested here
   74 |         addMethod<int(Game*,int,int,int,int)>("unitsUpgradesCount", &Game::unitsUpgradesCount);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (Game *, int, int, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:75:2: note: in instantiation of function template specialization 'NativeValuePrototype<Game *>::addMethod<int (Game *, int, int, int)>' requested here
   75 |         addMethod<int(Game*,int,int,int)>("buildingsCount", &Game::buildingsCount);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (GameHints *)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:83:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameHints *>::addMethod<int (GameHints *)>' requested here
   83 |         addMethod<int(GameHints*)>("count", &GameHints::getNumberOfHints);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<void (GameHints *, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:85:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameHints *>::addMethod<void (GameHints *, int)>' requested here
   85 |         addMethod<void(GameHints*,int)>("show", &GameHints::setHintVisible);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<bool (GameHints *, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:88:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameHints *>::addMethod<bool (GameHints *, int)>' requested here
   88 |         addMethod<bool(GameHints*,int)>("isVisible", &GameHints::isHintVisible);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<int (GameObjectives *)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:94:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameObjectives *>::addMethod<int (GameObjectives *)>' requested here
   94 |         addMethod<int(GameObjectives*)>("count", &GameObjectives::getNumberOfObjectives);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<void (GameObjectives *, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:96:2: note: in instantiation of function template specialization 'NativeValuePrototype<GameObjectives *>::addMethod<void (GameObjectives *, int)>' requested here
   96 |         addMethod<void(GameObjectives*,int)>("setComplete", &GameObjectives::setObjectiveComplete);
      |         ^
In file included from src/MapScriptUSL.cpp:28:
libusl/src/native.h:45:79: error: no type named 'arg1_type' in 'boost::function<bool (GameObjectives *, int)>'
   45 |                 BOOST_MPL_ASSERT(( boost::is_same<This, typename boost::function<Function>::arg1_type> ));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/boost/mpl/assert.hpp:300:49: note: expanded from macro 'BOOST_MPL_ASSERT'
  300 |               boost::mpl::assert_arg( (void (*) pred)BOOST_NULLPTR, 1 ) \
      |                                                 ^~~~
/usr/local/include/boost/mpl/assert.hpp:60:58: note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
   60 | #   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
      |                                                          ^~~~
src/MapScriptUSL.cpp:102:5: note: in instantiation of function template specialization 'NativeValuePrototype<GameObjectives *>::addMethod<bool (GameObjectives *, int)>' requested here
  102 |     addMethod<bool(GameObjectives*,int)>("isVisible", &GameObjectives::isObjectiveVisible);
      |     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
scons: *** [build/src/MapScriptUSL.o] Error 1
9 warnings generated.
scons: building terminated because of errors.
===> 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/games/glob2