[package - main-armv7-default][emulators/gngb] Failed for gngb-20060309_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 03:51:38 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/pb73012d372f5_s91b2da1370/logs/gngb-20060309_10.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=pb73012d372f5_s91b2da1370
Log:

=>> Building emulators/gngb
build started at Fri Mar 24 03:51:24 UTC 2023
port directory: /usr/ports/emulators/gngb
package name: gngb-20060309_10
building for: FreeBSD main-armv7-default-job-05 14.0-CURRENT FreeBSD 14.0-CURRENT 1400082 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400082
Job Id: 05




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400082
UNAME_v=FreeBSD 14.0-CURRENT 1400082
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-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 gngb-20060309_10:
     OPENGL=off: 2D/3D rendering support via OpenGL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-gl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/gngb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/gngb/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/gngb/work/.cache  HOME=/wrkdirs/usr/ports/emulators/gngb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/gngb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/gngb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 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/gngb/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/gngb/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/gngb/work/.cache  HOME=/wrkdirs/usr/ports/emulators/gngb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/gngb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/gngb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89 "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/includ
 e "  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--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gngb"  EXAMPLESDIR="share/examples/gngb"  DATADIR="share/gngb"  WWWDIR="www/gngb"  ETCDIR="etc/gngb"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gngb DOCSDIR=/usr/local/share/doc/gngb EXAMPLESDIR=/usr/local/share/examples/gngb  WWWDIR=/usr/local/www/gngb ETCDIR=/usr/local/etc/gngb
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400082
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   >============================
===>   NOTICE:

The gngb port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gngb-20060309_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-armv7-default-job-05] Installing pkg-1.19.1_1...
[main-armv7-default-job-05] Extracting pkg-1.19.1_1: .......... done
===>   gngb-20060309_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gngb-20060309_10
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The gngb port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
<snip>

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by gngb-20060309_10 for building
===>  Extracting for gngb-20060309_10
=> SHA256 Checksum OK for gngb-20060309.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for gngb-20060309_10
===>  Applying FreeBSD patches for gngb-20060309_10 from /usr/ports/emulators/gngb/files
===========================================================================
=======================<phase: build-depends  >============================
===>   gngb-20060309_10 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[main-armv7-default-job-05] Installing gmake-4.3_2...
[main-armv7-default-job-05] `-- Installing gettext-runtime-0.21.1...
[main-armv7-default-job-05] |   `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-05] `-- Extracting gettext-runtime-0.21.1: .......... done
[main-armv7-default-job-05] Extracting gmake-4.3_2: .......... done
===>   gngb-20060309_10 depends on package: gmake>=4.3 - found
===>   Returning to build of gngb-20060309_10
===>   gngb-20060309_10 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_15,2.pkg
[main-armv7-default-job-05] Installing sdl-1.2.15_15,2...
[main-armv7-default-job-05] `-- Installing aalib-1.4.r5_13...
[main-armv7-default-job-05] `-- Extracting aalib-1.4.r5_13: .......... done
[main-armv7-default-job-05] `-- Installing libGLU-9.0.2_1...
[main-armv7-default-job-05] |   `-- Installing libglvnd-1.6.0...
[main-armv7-default-job-05] |   | `-- Installing libX11-1.7.2,1...
[main-armv7-default-job-05] |   |   `-- Installing libxcb-1.15_1...
[main-armv7-default-job-05] |   |   | `-- Installing libXau-1.0.9...
[main-armv7-default-job-05] |   |   | `-- Extracting libXau-1.0.9: .......... done
[main-armv7-default-job-05] |   |   | `-- Installing libXdmcp-1.1.3...
[main-armv7-default-job-05] |   |   |   `-- Installing xorgproto-2022.1...
[main-armv7-default-job-05] |   |   |   `-- Extracting xorgproto-2022.1: .......... done
[main-armv7-default-job-05] |   |   | `-- Extracting libXdmcp-1.1.3: ......... done
[main-armv7-default-job-05] |   |   `-- Extracting libxcb-1.15_1: .......... done
[main-armv7-default-job-05] |   | `-- Extracting libX11-1.7.2,1: .......... done
[main-armv7-default-job-05] |   | `-- Installing libXext-1.3.4,1...
[main-armv7-default-job-05] |   | `-- Extracting libXext-1.3.4,1: .......... done
[main-armv7-default-job-05] |   `-- Extracting libglvnd-1.6.0: .......... done
[main-armv7-default-job-05] `-- Extracting libGLU-9.0.2_1: ..... done
[main-armv7-default-job-05] `-- Installing libXrandr-1.5.2...
[main-armv7-default-job-05] |   `-- Installing libXrender-0.9.10_2...
[main-armv7-default-job-05] |   `-- Extracting libXrender-0.9.10_2: .......... done
[main-armv7-default-job-05] `-- Extracting libXrandr-1.5.2: .......... done
[main-armv7-default-job-05] Extracting sdl-1.2.15_15,2: .......... done
=====
Message from aalib-1.4.r5_13:

--
===>   NOTICE:

The aalib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   gngb-20060309_10 depends on file: /usr/local/bin/sdl-config - found
===>   Returning to build of gngb-20060309_10
===========================================================================
=======================<phase: lib-depends    >============================
===>   gngb-20060309_10 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for gngb-20060309_10
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for pthread_create in -lpthread... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL_Init in -lSDL... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for gettimeofday... (cached) yes
checking for sleep... (cached) yes
checking for mkdir... yes
checking for socket... yes
checking for strtol... (cached) yes
checking for getopt_long... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzopen in -lbz2... yes
checking for zlib.h... (cached) yes
checking for gzopen in -lz... yes
Architeture: no
System: FreeBSD
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing default-1 commands
===========================================================================
=======================<phase: build          >============================
===>  Building for gngb-20060309_10
gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309'
Making all in src
gmake[3]: Entering directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309/src'
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c cpu.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c emu.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c frame_skip.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c interrupt.c
interrupt.c:510:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c main.c
In file included from main.c:27:
./getopt.h:147:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern int getopt ();
           ^
/usr/include/unistd.h:379:6: note: conflicting prototype is here
int      getopt(int, char * const [], const char *);
         ^
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c memory.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c message.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c rom.c
cc -DHAVE_CONFIG_H -I. -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu89  -DSDL_YUV -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -c serial.c
serial.c:149:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) {
                                              ^~~~
/usr/include/sys/socket.h:684:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
serial.c:227:10: error: incompatible pointer to integer conversion assigning to 'Uint8' (aka 'unsigned char') from 'Uint8[1000]' (aka 'unsigned char[1000]') [-Wint-conversion]
  else SB=c;
         ^~
serial.c:267:21: error: incompatible integer to pointer conversion passing 'Uint8' (aka 'unsigned char') to parameter of type 'const void *' [-Wint-conversion]
  write(dest_socket,SB,1);
                    ^~
./memory.h:59:12: note: expanded from macro 'SB'
#define SB (himem[0x61])
           ^~~~~~~~~~~~~
/usr/include/unistd.h:372:33: note: passing argument to parameter here
ssize_t  write(int, const void *, size_t);
                                ^
1 warning and 2 errors generated.
gmake[3]: *** [Makefile:143: serial.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309/src'
gmake[2]: *** [Makefile:187: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309'
gmake[1]: *** [Makefile:332: all-recursive-am] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/gngb/work/gngb-20060309'
===> 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/gngb