[package - main-arm64-default][devel/z88dk] Failed for z88dk-2.1_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Dec 2021 09:50:40 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://ampere2.nyi.freebsd.org/data/main-arm64-default/pd684832c1aed_sfc21aafe5f/logs/z88dk-2.1_1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pd684832c1aed_sfc21aafe5f
Log:

=>> Building devel/z88dk
build started at Sun Dec  5 09:45:44 UTC 2021
port directory: /usr/ports/devel/z88dk
package name: z88dk-2.1_1
building for: FreeBSD main-arm64-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 arm64
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400043
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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="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_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="inst
 all  -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---
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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400043
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)  1048576
stack size              (kbytes, -s)  1048576
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_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-arm64-default-job-11] Installing pkg-1.17.5...
[main-arm64-default-job-11] Extracting pkg-1.17.5: .......... done
===>   z88dk-2.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of z88dk-2.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ClArtistic accepted by the user
===> Fetching all distfiles required by z88dk-2.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ClArtistic accepted by the user
===> Fetching all distfiles required by z88dk-2.1_1 for building
=> SHA256 Checksum OK for z88dk-src-2.1.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License ClArtistic accepted by the user
===> Fetching all distfiles required by z88dk-2.1_1 for building
===>  Extracting for z88dk-2.1_1
=> SHA256 Checksum OK for z88dk-src-2.1.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for z88dk-2.1_1
===>  Applying FreeBSD patches for z88dk-2.1_1 from /usr/ports/devel/z88dk/files
===========================================================================
=======================<phase: build-depends  >============================
===>   z88dk-2.1_1 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[main-arm64-default-job-11] Installing gmake-4.3_2...
[main-arm64-default-job-11] `-- Installing gettext-runtime-0.21...
[main-arm64-default-job-11] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-11] `-- Extracting gettext-runtime-0.21: .......... done
[main-arm64-default-job-11] Extracting gmake-4.3_2: .......... done
===>   z88dk-2.1_1 depends on package: gmake>=4.3 - found
<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'
cc -c -o zcc.o -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DLOCAL_REGEXP -Wall -pedantic -g -I. -I../copt -I../common zcc.c
cc -o zcc -O2 -pipe  -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'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -pedantic -I../../ext/optparse -I../../ext/regex   -c -o zpragma.o zpragma.c
cc -O2 -pipe  -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'
cc -o z88dk-zx7  -fstack-protector-strong  compress.c  optimize.c  zx7.c
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'
cc -O2 -pipe  -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
cc -o z88dk-z80nm -O2 -pipe  -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'
cc -O2 -pipe  -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
cc -O2 -pipe  -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'
cc -O2 -pipe  -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.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_cpm.o hook_cpm.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_console.o hook_console.c
cc -O2 -pipe  -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.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_misc.o hook_misc.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook.o hook.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o debugger.o debugger.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o linenoise.o linenoise.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o utf8.o utf8.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o syms.o syms.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o disassembler_alg.o disassembler_alg.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o memory.o memory.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o am9511.o am9511.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o acia.o acia.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o hook_rc2014.o hook_rc2014.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o debug.o debug.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o srcfile.o srcfile.c
cc -o z88dk-ticks -O2 -pipe  -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
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I../../ext/uthash/src/ -g -MMD    -c -o disassembler_main.o disassembler_main.c
cc -o z88dk-dis -O2 -pipe  -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'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  `xml2-config --cflags`   -c -o z80svg.o z80svg.c
cc -o z88dk-z80svg -O2 -pipe  -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'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex   -c -o font2pv1000.o font2pv1000.c
cc -O2 -pipe  -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'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -std=gnu11 -MMD -I../../ext/optparse -I../../ext/regex   -c -o basck.o basck.c
cc -O2 -pipe  -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'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -c -o z88dk-lib.o z88dk-lib.c
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