[package - main-riscv64-default][devel/z88dk] Failed for z88dk-2.1_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 13:48:54 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:     danfe@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/pc1606fd46fa4_s38f8addaab/logs/z88dk-2.1_3.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=pc1606fd46fa4_s38f8addaab
Log:

=>> Building devel/z88dk
build started at Tue Apr 26 13:46:41 UTC 2022
port directory: /usr/ports/devel/z88dk
package name: z88dk-2.1_3
building for: FreeBSD main-riscv64-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400057 riscv
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400057
Job Id: 13




!!! Jail is newer than host. (Jail: 1400057, 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=1400057
UNAME_v=FreeBSD 14.0-CURRENT 1400057
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---
---End OPTIONS List---

--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/z88dk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/z88dk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/z88dk/work/.cache  HOME=/wrkdirs/usr/ports/devel/z88dk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/z88dk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
ZCCCFG=/wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/config Q= PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/z88dk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/z88dk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/z88dk/work/.cache  HOME=/wrkdirs/usr/ports/devel/z88dk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/z88dk/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -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_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/z88dk"  EXAMPLESDIR="share/examples/z88dk"  DATADIR="share/z88dk"  WWWDIR="www/z88dk"  ETCDIR="etc/z88dk"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/z88dk DOCSDIR=/usr/local/share/doc/z88dk EXAMPLESDIR=/usr/local/share/examples/z88dk  WWWDIR=/usr/local/www/z88dk ETCDIR=/usr/local/etc/z88dk
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) 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=1400057
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 ClArtistic accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   z88dk-2.1_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-13] Installing pkg-1.17.5_1...
[main-riscv64-default-job-13] Extracting pkg-1.17.5_1: .......... done
===>   z88dk-2.1_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of z88dk-2.1_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ClArtistic accepted by the user
===> Fetching all distfiles required by z88dk-2.1_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ClArtistic accepted by the user
<snip>
./../z80asm -l -xz80asm-z180-ixiy.lib -mz180 -IXIY @z80asm_lib.lst
./../z80asm -l -xz80asm-z80-ixiy.lib -mz80 -IXIY @z80asm_lib.lst
./../z80asm -l -xz80asm-z80n-ixiy.lib -mz80n -IXIY @z80asm_lib.lst
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80asm/dev/z80asm_lib'
cp dev/z80asm_lib/z80asm-*.lib .
cp dev/z80asm_lib/z80asm-*.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/config/../
install  -s -m 555 z80asm /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z80asm
install  -s -m 555 z80asm /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-z80asm
install  -m 555 asmpp.pl /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/asmpp.pl
gmake -C dev/z80asm_lib install PREFIX=/wrkdirs/usr/ports/devel/z88dk/work/z88dk
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80asm/dev/z80asm_lib'
install z80asm-8080-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-8080-.lib
install z80asm-8085-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-8085-.lib
install z80asm-gbz80-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-gbz80-.lib
install z80asm-r2k-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-r2k-.lib
install z80asm-r3k-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-r3k-.lib
install z80asm-z180-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z180-.lib
install z80asm-z80-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z80-.lib
install z80asm-z80n-.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z80n-.lib
install z80asm-8080-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-8080-ixiy.lib
install z80asm-8085-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-8085-ixiy.lib
install z80asm-gbz80-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-gbz80-ixiy.lib
install z80asm-r2k-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-r2k-ixiy.lib
install z80asm-r3k-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-r3k-ixiy.lib
install z80asm-z180-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z180-ixiy.lib
install z80asm-z80-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z80-ixiy.lib
install z80asm-z80n-ixiy.lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/lib/z80asm-z80n-ixiy.lib
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80asm/dev/z80asm_lib'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80asm'
gmake -C src/zcc PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zcc'
/nxb-bin/usr/bin/cc -c -o zcc.o -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -DLOCAL_REGEXP -Wall -pedantic -g -I. -I../copt -I../common zcc.c
/nxb-bin/usr/bin/cc -o zcc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -DLOCAL_REGEXP -Wall -pedantic -g zcc.o ../copt/regex/regcomp.o  ../copt/regex/regerror.o ../copt/regex/regexec.o  ../copt/regex/regfree.o ../common/dirname.c ../common/option.c
install  -s -m 555 zcc /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zcc'
gmake -C src/zpragma PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zpragma'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -pedantic -I../../ext/optparse -I../../ext/regex   -c -o zpragma.o zpragma.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -pedantic -I../../ext/optparse -I../../ext/regex -o z88dk-zpragma zpragma.o  -fstack-protector-strong 
install  -s -m 555 z88dk-zpragma /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-zpragma
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zpragma'
gmake -C src/zx7 PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zx7'
/nxb-bin/usr/bin/cc -o z88dk-zx7  -fstack-protector-strong  compress.c  optimize.c  zx7.c
/nxb-bin/usr/bin/cc -o z88dk-dzx7  -fstack-protector-strong  dzx7.c
install  -s -m 555 z88dk-zx7 /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-zx7
install  -s -m 555 z88dk-dzx7 /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-dzx7
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zx7'
gmake -C src/z80nm PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80nm'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -O3 -Wall -std=gnu11 -MMD -std=gnu11 -I../common -I../../ext/uthash/src -I../../ext/regex -I../z80asm    -c -o ar.o ar.c
/nxb-bin/usr/bin/cc -o z88dk-z80nm -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -O3 -Wall -std=gnu11 -MMD -std=gnu11 -I../common -I../../ext/uthash/src -I../../ext/regex -I../z80asm  ar.o ../common/zutils.o ../common/die.o ../common/objfile.o ../common/fileutil.o ../common/strutil.o ../../ext/regex/regcomp.o ../../ext/regex/regerror.o ../../ext/regex/regexec.o ../../ext/regex/regfree.o 
install  -s -m 555 z88dk-z80nm /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-z80nm
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z80nm'
gmake -C src/zobjcopy PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zobjcopy'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../common -I../../ext/uthash/src -I../../ext/optparse -I../../ext/regex    -c -o zobjcopy.o zobjcopy.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../common -I../../ext/uthash/src -I../../ext/optparse -I../../ext/regex  -o z88dk-zobjcopy zobjcopy.o ../common/die.o ../common/dirname.o ../common/fileutil.o ../common/objfile.o ../common/option.o ../common/optparse.o ../common/strutil.o ../common/zutils.o ../../ext/regex/regcomp.o ../../ext/regex/regerror.o ../../ext/regex/regexec.o ../../ext/regex/regfree.o   -fstack-protector-strong 
install  -s -m 555 z88dk-zobjcopy /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-zobjcopy
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/zobjcopy'
gmake -C src/ticks PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/ticks'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o ticks.o ticks.c
ticks.c:4269:22: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
          case 0x4a: ADCHLRR(b, c); break;                   // ADC HL,BC
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~~~
ticks.c:4269:22: note: place parentheses around the '+' expression to silence this warning
          case 0x4a: ADCHLRR(b, c); break;                   // ADC HL,BC
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~
ticks.c:4270:22: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
          case 0x5a: ADCHLRR(d, e); break;                   // ADC HL,DE
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~~~
ticks.c:4270:22: note: place parentheses around the '+' expression to silence this warning
          case 0x5a: ADCHLRR(d, e); break;                   // ADC HL,DE
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~
ticks.c:4271:22: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses]
          case 0x6a: ADCHLRR(h, l); break;                   // ADC HL,HL
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~~~
ticks.c:4271:22: note: place parentheses around the '+' expression to silence this warning
          case 0x6a: ADCHLRR(h, l); break;                   // ADC HL,HL
                     ^~~~~~~~~~~~~
ticks.c:492:20: note: expanded from macro 'ADCHLRR'
          v= l+b+(h+a<<8)+(ff>>8&1),\
                  ~^~
ticks.c:2876:15: warning: unsequenced modification and access to 'mp' [-Wunsequenced]
            | ++mp;
              ^
4 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_cpm.o hook_cpm.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_console.o hook_console.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_io.o hook_io.c
hook_io.c:106:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(slots[b]);
    ^
hook_io.c:118:14: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    result = write(slots[b], &val, 1);
             ^
hook_io.c:130:10: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if ( read(slots[b], &val, 1) == 1 ) {
         ^
hook_io.c:147:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    ret = write(slots[b], (char *)get_memory_addr(e | d<<8), (l | h << 8));
          ^
hook_io.c:164:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    ret = read(slots[b], (char *)get_memory_addr(e | d << 8), (l | h <<8));
          ^
hook_io.c:233:10: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if ( read(devices[selected_unit], (char *)get_memory_addr((e | d << 8)), 512) != 512 ) {
         ^
hook_io.c:247:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    if ( write(devices[selected_unit], (char *)get_memory_addr((e | d << 8)), 512) != 512 ) {
         ^
7 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_misc.o hook_misc.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook.o hook.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o debugger.o debugger.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o linenoise.o linenoise.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o utf8.o utf8.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o syms.o syms.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o disassembler_alg.o disassembler_alg.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o memory.o memory.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o am9511.o am9511.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o acia.o acia.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_rc2014.o hook_rc2014.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o debug.o debug.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o srcfile.o srcfile.c
/nxb-bin/usr/bin/cc -o z88dk-ticks -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD  ticks.o hook_cpm.o hook_console.o hook_io.o hook_misc.o hook.o debugger.o linenoise.o utf8.o syms.o disassembler_alg.o memory.o am9511.o acia.o hook_rc2014.o debug.o srcfile.o  -lm
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o disassembler_main.o disassembler_main.c
/nxb-bin/usr/bin/cc -o z88dk-dis -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD  disassembler_main.o  syms.o disassembler_alg.o debug.o
install  -s -m 555 z88dk-ticks /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-ticks
install  -s -m 555 z88dk-dis /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-dis
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/ticks'
gmake -C support/graphics PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/graphics'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  `xml2-config --cflags`   -c -o z80svg.o z80svg.c
/nxb-bin/usr/bin/cc -o z88dk-z80svg -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  `xml2-config --cflags` z80svg.o  `xml2-config --libs`
install  -s -m 555 z88dk-z80svg /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-z80svg
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/graphics'
gmake -C support/pv1000 PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/pv1000'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex   -c -o font2pv1000.o font2pv1000.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-font2pv1000 font2pv1000.o  -fstack-protector-strong 
install  -s -m 555 z88dk-font2pv1000 /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-font2pv1000
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/pv1000'
gmake -C support/basck PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/basck'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex   -c -o basck.o basck.c
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex -o z88dk-basck basck.o  -fstack-protector-strong 
install  -s -m 555 z88dk-basck /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-basck
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/support/basck'
gmake -C src/z88dk-lib PREFIX=`pwd` install
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z88dk-lib'
/nxb-bin/usr/bin/cc -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing    -c -o z88dk-lib.o z88dk-lib.c
/nxb-bin/usr/bin/cc -o z88dk-lib  -fstack-protector-strong  z88dk-lib.o
install  -s -m 555 z88dk-lib /wrkdirs/usr/ports/devel/z88dk/work/z88dk/bin/z88dk-lib
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/src/z88dk-lib'
gmake -C libsrc
gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/libsrc'

--- Building Altair8800 Library ---

gmake --no-print-directory -C stdio
zcc +test -O2 -vn  -c -c -o obj/_freopen1.o _freopen1.c
_freopen1.c:19:36: error: Attempt to modify const lvalue 'mode'
_freopen1.c:21:21: error: Attempt to modify const lvalue 'access'
_freopen1.c:22:33: error: Attempt to modify const lvalue 'flags'
_freopen1.c:25:38: error: Attempt to modify const lvalue 'access'
_freopen1.c:26:33: error: Attempt to modify const lvalue 'flags'
_freopen1.c:29:38: error: Attempt to modify const lvalue 'access'
_freopen1.c:30:33: error: Attempt to modify const lvalue 'flags'
_freopen1.c:37:15: error: Attempt to modify const lvalue 'mode'
_freopen1.c:39:25: error: Attempt to modify const lvalue 'access'
_freopen1.c:40:34: error: Attempt to modify const lvalue 'flags'

Maximum (10) number of errors reached, aborting!
Compilation aborted
gmake[3]: *** [Makefile:47: obj/_freopen1.o] Error 1
gmake[2]: *** [Makefile:1660: altair8800_clib.lib] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk/libsrc'
gmake[1]: *** [Makefile:174: libs] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/z88dk/work/z88dk'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/z88dk