[package - main-powerpc64le-default][emulators/dosbox] Failed for dosbox-0.74.3_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 03 Jul 2023 16:51:11 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:     knyght@gmail.com
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p8c7f3e19a83a_se495600ce3/logs/dosbox-0.74.3_1.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p8c7f3e19a83a_se495600ce3
Log:

=>> Building emulators/dosbox
build started at Mon Jul  3 16:46:02 UTC 2023
port directory: /usr/ports/emulators/dosbox
package name: dosbox-0.74.3_1
building for: FreeBSD main-powerpc64le-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 powerpc
maintained by: knyght@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400088
Jail OSVERSION: 1400092
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400092
UNAME_v=FreeBSD 14.0-CURRENT 1400092
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-powerpc64le-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-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 dosbox-0.74.3_1:
     DOCS=on: Build and/or install documentation
====> Options available for the radio DEBUGGER: you can only select none or one of them
     DEBUGGER_ENABLE=off: Enable internal debugger
     DEBUGGER_HEAVY=off: Enable internal debugger with extra features
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
knyght@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-core-inline --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/dosbox/work/.cache  HOME=/wrkdirs/usr/ports/emulators/dosbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/dosbox/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/emulators/dosbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/dosbox/work/.cache  HOME=/wrkdirs/usr/ports/emulators/dosbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/dosbox/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="install  -s -m 0644"  BSD_INSTALL_SCRIP
 T="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/dosbox"  EXAMPLESDIR="share/examples/dosbox"  DATADIR="share/dosbox"  WWWDIR="www/dosbox"  ETCDIR="etc/dosbox"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dosbox DOCSDIR=/usr/local/share/doc/dosbox EXAMPLESDIR=/usr/local/share/examples/dosbox  WWWDIR=/usr/local/www/dosbox ETCDIR=/usr/local/etc/dosbox
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400092
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)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dosbox-0.74.3_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_2.pkg
[main-powerpc64le-default-job-06] Installing pkg-1.19.1_2...
[main-powerpc64le-default-job-06] Extracting pkg-1.19.1_2: .......... done
===>   dosbox-0.74.3_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dosbox-0.74.3_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74.3_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74.3_1 for building
=> SHA256 Checksum OK for dosbox-0.74-3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74.3_1 for building
===>  Extracting for dosbox-0.74.3_1
=> SHA256 Checksum OK for dosbox-0.74-3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dosbox-0.74.3_1
===>  Applying FreeBSD patches for dosbox-0.74.3_1 from /usr/ports/emulators/dosbox/files
===========================================================================
<snip>
                                    %lu
sdl_mapper.cpp:606:33: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(configname,"stick_%d",emustick);
                                          ~~  ^~~~~~~~
                                          %lu
sdl_mapper.cpp:659:94: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                ~~                                                         ^~~~
                                                %lu
sdl_mapper.cpp:659:99: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                         ~~                                                     ^~~~~~~
                                                         %lu
sdl_mapper.cpp:659:107: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
                                                                        ~~                                              ^~~~
                                                                        %lu
sdl_mapper.cpp:1590:4: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                        key,
                        ^~~
sdl_mapper.cpp:1688:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                           ~~       ^~~~~
                           %lu
sdl_mapper.cpp:1688:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                              ~~          ^~~~
                              %lu
sdl_mapper.cpp:1695:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                           ~~       ^~~~~
                           %lu
sdl_mapper.cpp:1695:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
                              ~~          ^~~~
                              %lu
sdl_mapper.cpp:1701:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                             ~~     ^~~~~
                             %lu
sdl_mapper.cpp:1701:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                                ~~        ^~~~~~
                                %lu
sdl_mapper.cpp:1707:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                             ~~     ^~~~~
                             %lu
sdl_mapper.cpp:1707:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jbutton_%d_%d",stick,button);
                                ~~        ^~~~~~
                                %lu
sdl_mapper.cpp:1713:30: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                          ~~        ^~~~~~
                          %lu
sdl_mapper.cpp:1713:37: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                             ~~            ^~~~
                             %lu
sdl_mapper.cpp:1713:42: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
                                ~~              ^~~~
                                %lu
sdl_mapper.cpp:1720:23: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        sprintf(buf,"mod_%d",_mod);
                         ~~  ^~~~
                         %lu
sdl_mapper.cpp:2061:62: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key);
                                             ~~                            ^~~~~~~~~~~~~~~~~~
                                             %lu
--- sdlmain.o ---
In file included from sdlmain.cpp:58:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
sdlmain.cpp:294:111: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
                                                                                 ~~~                                        ^~~~~~~~~~~~~~~~~~
                                                                                 %2ld
sdlmain.cpp:296:105: warning: format specifies type 'int' but the argument has type 'Bits' (aka 'long') [-Wformat]
                sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
                                                                           ~~~                                        ^~~~~~~~~~~~~~~~~~
                                                                           %2ld
sdlmain.cpp:536:135: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError());
                                                                                                           ~~                                                     ^~~
                                                                                                           %lu
sdlmain.cpp:543:64: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                    ~~            ^~~~~
                                                                                    %lu
sdlmain.cpp:543:70: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                       ~~               ^~~~~~
                                                                                       %lu
sdlmain.cpp:543:77: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                        E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                          ~~                   ^~~
                                                                                          %lu
sdlmain.cpp:567:61: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                          ~~            ^~~~~
                                                                          %lu
sdlmain.cpp:567:67: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                             ~~               ^~~~~~
                                                                             %lu
sdlmain.cpp:567:74: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                                E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
                                                                                ~~                   ^~~
                                                                                %lu
10 warnings generated.
mv -f .deps/sdlmain.Tpo .deps/sdlmain.Po
--- render.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -mno-ms-bitfields -MT render.o -MD -MP -MF .deps/render.Tpo -c -o render.o render.cpp
--- sdl_mapper.o ---
24 warnings generated.
mv -f .deps/sdl_mapper.Tpo .deps/sdl_mapper.Po
--- render_scalers.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -mno-ms-bitfields -MT render_scalers.o -MD -MP -MF .deps/render_scalers.Tpo -c -o render_scalers.o render_scalers.cpp
--- render.o ---
render.cpp:484:40: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
                E_Exit("RENDER:Wrong source bpp %d", render.src.bpp );
                                                ~~   ^~~~~~~~~~~~~~
                                                %lu
render.cpp:543:29: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        LOG_MSG("Frame Skip at %d",render.frameskip.max);
                               ~~  ^~~~~~~~~~~~~~~~~~~~
                               %lu
render.cpp:551:29: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat]
        LOG_MSG("Frame Skip at %d",render.frameskip.max);
                               ~~  ^~~~~~~~~~~~~~~~~~~~
                               %lu
--- render_scalers.o ---
In file included from render_scalers.cpp:129:
In file included from ./render_templates.h:434:
./render_templates_sai.h:46:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                register int r = 0;
                ^~~~~~~~~
./render_templates_sai.h:130:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
./render_templates_sai.h:188:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
--- render.o ---
3 warnings generated.
mv -f .deps/render.Tpo .deps/render.Po
--- midi.o ---
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -mno-ms-bitfields -MT midi.o -MD -MP -MF .deps/midi.Tpo -c -o midi.o midi.cpp
--- render_scalers.o ---
In file included from render_scalers.cpp:144:
In file included from ./render_templates.h:434:
./render_templates_sai.h:46:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                register int r = 0;
                ^~~~~~~~~
./render_templates_sai.h:130:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
./render_templates_sai.h:188:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
In file included from render_scalers.cpp:159:
In file included from ./render_templates.h:434:
./render_templates_sai.h:46:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                register int r = 0;
                ^~~~~~~~~
./render_templates_sai.h:130:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
./render_templates_sai.h:188:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
                        register int r = 0;
                        ^~~~~~~~~
9 errors generated.
*** [render_scalers.o] Error code 1

make[4]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74-3/src/gui
--- midi.o ---
mv -f .deps/midi.Tpo .deps/midi.Po
1 error

make[4]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74-3/src/gui

make[3]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74-3/src

make[2]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74-3

make[1]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74-3
===> 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/emulators/dosbox