[package - main-riscv64-default][emulators/dosbox-x] Failed for dosbox-x-0.84.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 02 Jul 2022 20:49:09 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:     nc@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pb2bfaa3cf348_s038405f32f/logs/dosbox-x-0.84.0.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pb2bfaa3cf348_s038405f32f
Log:

=>> Building emulators/dosbox-x
build started at Sat Jul  2 20:41:11 UTC 2022
port directory: /usr/ports/emulators/dosbox-x
package name: dosbox-x-0.84.0
building for: FreeBSD main-riscv64-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400063 riscv
maintained by: nc@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400063
Job Id: 05




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400063
UNAME_v=FreeBSD 14.0-CURRENT 1400063
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-riscv64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-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-x-0.84.0:
     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--
nc@FreeBSD.org
--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-x/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work/.cache  HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox-x/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 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-x/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work/.cache  HOME=/wrkdirs/usr/ports/emulators/dosbox-x/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox-x/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" 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--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dosbox-x"  EXAMPLESDIR="share/examples/dosbox-x"  DATADIR="share/dosbox-x"  WWWDIR="www/dosbox-x"  ETCDIR="etc/dosbox-x"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dosbox-x DOCSDIR=/usr/local/share/doc/dosbox-x EXAMPLESDIR=/usr/local/share/examples/dosbox-x  WWWDIR=/usr/local/www/dosbox-x ETCDIR=/usr/local/etc/dosbox-x
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400063
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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-x-0.84.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-05] Installing pkg-1.18.3...
[main-riscv64-default-job-05] Extracting pkg-1.18.3: .......... done
===>   dosbox-x-0.84.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dosbox-x-0.84.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
<snip>
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:618:43: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint32_t        GetDirIDCluster(void)           { return sGet(sDTA,dirCluster); };
                                                                 ^~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:619:61: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
    uint8_t   GetAttr(void)               { return (uint8_t)sGet(sDTA,sattr); }
                                                            ^~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:708:32: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetType(uint8_t _type) { sSave(sMCB,type,_type);}
                                      ^~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:709:33: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetSize(uint16_t _size) { sSave(sMCB,size,_size);}
                                       ^~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:710:37: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetPSPSeg(uint16_t _pspseg) { sSave(sMCB,psp_segment,_pspseg);}
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:711:42: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint8_t GetType(void) { return (uint8_t)sGet(sMCB,type);}
                                                ^~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:712:44: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint16_t GetSize(void) { return (uint16_t)sGet(sMCB,size);}
                                                  ^~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:713:46: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint16_t GetPSPSeg(void) { return (uint16_t)sGet(sMCB,psp_segment);}
                                                    ^~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:739:34: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetDrive(uint8_t _drive) { sSave(sSDA,current_drive, _drive); }
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:740:31: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetDTA(uint32_t _dta) { sSave(sSDA,current_dta, _dta); }
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:741:31: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        void SetPSP(uint16_t _psp) { sSave(sSDA,current_psp, _psp); }
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:395:61: note: expanded from macro 'sSave'
#define sSave(s,m,val) SaveIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m),val)
                                                            ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:742:43: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint8_t GetDrive(void) { return (uint8_t)sGet(sSDA,current_drive); }
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:743:43: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint16_t GetPSP(void) { return (uint16_t)sGet(sSDA,current_psp); }
                                                 ^~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
./../include/dos_inc.h:744:33: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
        uint32_t GetDTA(void) { return sGet(sSDA,current_dta); }
                                       ^~~~~~~~~~~~~~~~~~~~~~
./../include/dos_inc.h:394:55: note: expanded from macro 'sGet'
#define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m))
                                                      ^~~~~~~~~~~~
./../include/dos_inc.h:393:46: note: expanded from macro 'sOffset'
#define sOffset(s,m) ((char*)&(((s*)NULL)->m)-(char*)NULL)
                                             ^~~~~~~~~~~~
In file included from cdrom_image.cpp:58:
./../src/libs/libchdr/libchdr_chd.c:1166:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
        int result = 0;
            ^
In file included from cdrom_image.cpp:64:
./../src/libs/libchdr/FLAC/bitreader.c:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register uint32_t crc = br->read_crc16;
        ^~~~~~~~~
In file included from cdrom_image.cpp:70:
./../src/libs/libchdr/FLAC/md5.c:57:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register FLAC__uint32 a, b, c, d;
        ^~~~~~~~~
./../src/libs/libchdr/FLAC/md5.c:57:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register FLAC__uint32 a, b, c, d;
        ^~~~~~~~~
./../src/libs/libchdr/FLAC/md5.c:57:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register FLAC__uint32 a, b, c, d;
        ^~~~~~~~~
./../src/libs/libchdr/FLAC/md5.c:57:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register FLAC__uint32 a, b, c, d;
        ^~~~~~~~~
cdrom_image.cpp:1324:16: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
                if (prestart > curr.start) return false;
                    ~~~~~~~~ ^ ~~~~~~~~~~
In file included from cdrom_image.cpp:58:
./../src/libs/libchdr/libchdr_chd.c:318:18: warning: unused function 'hunk_read_into_cache' [-Wunused-function]
static chd_error hunk_read_into_cache(chd_file *chd, UINT32 hunknum);
                 ^
In file included from cdrom_image.cpp:19:
./cdrom.h:407:28: warning: private field 'subUnit' is not used [-Wunused-private-field]
    uint8_t                subUnit;
                           ^
36 warnings generated.
depbase=`echo cdrom_ioctl_os2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../src -Wno-int-to-void-pointer-cast   -Wno-address-of-packed-member   -Wno-format-zero-length   -Wno-missing-field-initializers   -Wno-strict-aliasing   -Wno-implicit-fallthrough   -Wno-deprecated-declarations   -Wconversion-null   -Wsign-promo   -pedantic   -Wunused   -Wextra   -Wall  -DLIBICONV_PLUG -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0 -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include/SDL  -pipe -march=rv64imafdc -mabi=lp64d -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -std=gnu++14  -O2  -Wall   -Wextra   -Wunused   -pedantic   -Wsign-promo   -Wconversion-n
 ull   -Wno-deprecated-declarations   -Wno-implicit-fallthrough   -Wno-strict-aliasing   -Wno-missing-field-initializers   -Wno-format-zero-length   -Wno-address-of-packed-member   -Wno-int-to-void-pointer-cast  -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0 -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include/SDL -MT cdrom_ioctl_os2.o -MD -MP -MF $depbase.Tpo -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp && mv -f $depbase.Tpo $depbase.Po
In file included from cdrom_ioctl_os2.cpp:22:
In file included from ./cdrom.h:38:
In file included from ./../libs/libchdr/chd.h:49:
./../libs/libchdr/coretypes.h:31:15: warning: unused function 'core_fsize' [-Wunused-function]
static size_t core_fsize(core_file *f)
              ^
1 warning generated.
rm -f libdos.a
ar cru libdos.a dos.o dos_devices.o  dos_execute.o dos_files.o dos_ioctl.o  dos_memory.o dos_misc.o dos_classes.o  dos_programs.o dos_tables.o drives.o  drive_virtual.o drive_local.o  drive_cache.o drive_fat.o  drive_overlay.o drive_physfs.o  drive_iso.o dos_mscdex.o  dos_keyboard_layout.o cdrom.o  cdrom_ioctl_win32.o cdrom_aspi_win32.o  cdrom_ioctl_linux.o cdrom_image.o  cdrom_ioctl_os2.o  
ranlib libdos.a
Making all in fpu
depbase=`echo fpu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I../../src -Wno-int-to-void-pointer-cast   -Wno-address-of-packed-member   -Wno-format-zero-length   -Wno-missing-field-initializers   -Wno-strict-aliasing   -Wno-implicit-fallthrough   -Wno-deprecated-declarations   -Wconversion-null   -Wsign-promo   -pedantic   -Wunused   -Wextra   -Wall  -DLIBICONV_PLUG -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0 -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include/SDL  -pipe -march=rv64imafdc -mabi=lp64d -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -std=gnu++14  -O2  -Wall   -Wextra   -Wunused   -pedantic   -Wsign-promo   -Wconversion-null   -Wno-d
 eprecated-declarations   -Wno-implicit-fallthrough   -Wno-strict-aliasing   -Wno-missing-field-initializers   -Wno-format-zero-length   -Wno-address-of-packed-member   -Wno-int-to-void-pointer-cast  -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0 -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include -I/wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/vs/sdlnet/linux-host/include/SDL -MT fpu.o -MD -MP -MF $depbase.Tpo -c -o fpu.o fpu.cpp && mv -f $depbase.Tpo $depbase.Po
In file included from fpu.cpp:52:
./fpu_instructions_longdouble.h:29:12: fatal error: 'fpu_control.h' file not found
#  include <fpu_control.h>
           ^~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/src/fpu
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/emulators/dosbox-x/work/dosbox-x-dosbox-x-v0.84.0
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/dosbox-x