[package - main-riscv64-default][emulators/joytran] Failed for joytran-0.9.5.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 01 Dec 2021 20:49:36 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:     beyert@cs.ucr.edu
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/p401d71441a09_sf16ec9c6e3/logs/joytran-0.9.5.2_1.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=p401d71441a09_sf16ec9c6e3
Log:

=>> Building emulators/joytran
build started at Wed Dec  1 20:48:54 UTC 2021
port directory: /usr/ports/emulators/joytran
package name: joytran-0.9.5.2_1
building for: FreeBSD main-riscv64-default-job-15 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 riscv
maintained by: beyert@cs.ucr.edu
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400043
Job Id: 15




!!! 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
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
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
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 joytran-0.9.5.2_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
beyert@cs.ucr.edu
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/joytran/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/joytran/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/joytran/work/.cache  HOME=/wrkdirs/usr/ports/emulators/joytran/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/joytran/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/joytran/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/joytran/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/joytran/work/.cache  HOME=/wrkdirs/usr/ports/emulators/joytran/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/joytran/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 DESTDIR=/wrkdirs/usr/ports/emulators/joytran/work/stage 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--
PORTDOCS="" CMAKE_BUILD_TYPE="release" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/joytran"  EXAMPLESDIR="share/examples/joytran"  DATADIR="share/joytran"  WWWDIR="www/joytran"  ETCDIR="etc/joytran"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/joytran DOCSDIR=/usr/local/share/doc/joytran EXAMPLESDIR=/usr/local/share/examples/joytran  WWWDIR=/usr/local/www/joytran ETCDIR=/usr/local/etc/joytran
--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=1400043
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   joytran-0.9.5.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-15] Installing pkg-1.17.5...
[main-riscv64-default-job-15] Extracting pkg-1.17.5: .......... done
===>   joytran-0.9.5.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of joytran-0.9.5.2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by joytran-0.9.5.2_1 for building
<snip>
Message from python38-3.8.12_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
===>   joytran-0.9.5.2_1 depends on executable: ninja - found
===>   Returning to build of joytran-0.9.5.2_1
===>   joytran-0.9.5.2_1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.0,1.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-15] Installing pkgconf-1.8.0,1...
[main-riscv64-default-job-15] Extracting pkgconf-1.8.0,1: .......... done
===>   joytran-0.9.5.2_1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of joytran-0.9.5.2_1
===>   joytran-0.9.5.2_1 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.0.12_7.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-15] Installing sdl2-2.0.12_7...
[main-riscv64-default-job-15] `-- Installing libXScrnSaver-1.2.3_2...
[main-riscv64-default-job-15] |   `-- Installing libX11-1.7.2,1...
[main-riscv64-default-job-15] |   | `-- Installing libxcb-1.14_1...
[main-riscv64-default-job-15] |   |   `-- Installing libXau-1.0.9...
[main-riscv64-default-job-15] |   |   `-- Extracting libXau-1.0.9: .......... done
[main-riscv64-default-job-15] |   |   `-- Installing libXdmcp-1.1.3...
[main-riscv64-default-job-15] |   |   | `-- Installing xorgproto-2021.5...
[main-riscv64-default-job-15] |   |   | `-- Extracting xorgproto-2021.5: .......... done
[main-riscv64-default-job-15] |   |   `-- Extracting libXdmcp-1.1.3: ......... done
[main-riscv64-default-job-15] |   |   `-- Installing libpthread-stubs-0.4...
[main-riscv64-default-job-15] |   |   `-- Extracting libpthread-stubs-0.4: .... done
[main-riscv64-default-job-15] |   | `-- Extracting libxcb-1.14_1: .......... done
[main-riscv64-default-job-15] |   `-- Extracting libX11-1.7.2,1: .......... done
[main-riscv64-default-job-15] |   `-- Installing libXext-1.3.4,1...
[main-riscv64-default-job-15] |   `-- Extracting libXext-1.3.4,1: .......... done
[main-riscv64-default-job-15] `-- Extracting libXScrnSaver-1.2.3_2: .......... done
[main-riscv64-default-job-15] `-- Installing libXcursor-1.2.0...
[main-riscv64-default-job-15] |   `-- Installing libXfixes-6.0.0...
[main-riscv64-default-job-15] |   `-- Extracting libXfixes-6.0.0: .......... done
[main-riscv64-default-job-15] |   `-- Installing libXrender-0.9.10_2...
[main-riscv64-default-job-15] |   `-- Extracting libXrender-0.9.10_2: .......... done
[main-riscv64-default-job-15] `-- Extracting libXcursor-1.2.0: .......... done
[main-riscv64-default-job-15] `-- Installing libXi-1.8,1...
[main-riscv64-default-job-15] `-- Extracting libXi-1.8,1: .......... done
[main-riscv64-default-job-15] `-- Installing libXinerama-1.1.4_2,1...
[main-riscv64-default-job-15] `-- Extracting libXinerama-1.1.4_2,1: .......... done
[main-riscv64-default-job-15] `-- Installing libXrandr-1.5.2...
[main-riscv64-default-job-15] `-- Extracting libXrandr-1.5.2: .......... done
[main-riscv64-default-job-15] `-- Installing libXxf86vm-1.1.4_3...
[main-riscv64-default-job-15] `-- Extracting libXxf86vm-1.1.4_3: .......... done
[main-riscv64-default-job-15] `-- Installing libglvnd-1.3.4...
[main-riscv64-default-job-15] `-- Extracting libglvnd-1.3.4: .......... done
[main-riscv64-default-job-15] `-- Installing libxkbcommon-1.3.1...
[main-riscv64-default-job-15] |   `-- Installing libxml2-2.9.12...
[main-riscv64-default-job-15] |   `-- Extracting libxml2-2.9.12: .......... done
[main-riscv64-default-job-15] |   `-- Installing wayland-1.19.0_1...
[main-riscv64-default-job-15] |   | `-- Installing libepoll-shim-0.0.20210418...
[main-riscv64-default-job-15] |   | `-- Extracting libepoll-shim-0.0.20210418: .......... done
[main-riscv64-default-job-15] |   `-- Extracting wayland-1.19.0_1: .......... done
[main-riscv64-default-job-15] |   `-- Installing xkeyboard-config-2.34...
[main-riscv64-default-job-15] |   `-- Extracting xkeyboard-config-2.34: .......... done
[main-riscv64-default-job-15] `-- Extracting libxkbcommon-1.3.1: .......... done
[main-riscv64-default-job-15] `-- Installing mesa-libs-21.1.8...
[main-riscv64-default-job-15] |   `-- Installing libXdamage-1.1.5...
[main-riscv64-default-job-15] |   `-- Extracting libXdamage-1.1.5: ......... done
[main-riscv64-default-job-15] |   `-- Installing libdrm-2.4.108,1...
[main-riscv64-default-job-15] |   | `-- Installing libpciaccess-0.16...
[main-riscv64-default-job-15] |   |   `-- Installing pciids-20211028...
[main-riscv64-default-job-15] |   |   `-- Extracting pciids-20211028: ..... done
[main-riscv64-default-job-15] |   | `-- Extracting libpciaccess-0.16: ......... done
[main-riscv64-default-job-15] |   `-- Extracting libdrm-2.4.108,1: .......... done
[main-riscv64-default-job-15] |   `-- Installing libxshmfence-1.3_1...
[main-riscv64-default-job-15] |   `-- Extracting libxshmfence-1.3_1: ......... done
[main-riscv64-default-job-15] `-- Extracting mesa-libs-21.1.8: .......... done
[main-riscv64-default-job-15] Extracting sdl2-2.0.12_7: .......... done
=====
Message from wayland-1.19.0_1:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libxkbcommon-1.3.1:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
===>   joytran-0.9.5.2_1 depends on file: /usr/local/bin/sdl2-config - found
===>   Returning to build of joytran-0.9.5.2_1
===>   joytran-0.9.5.2_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   joytran-0.9.5.2_1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - not found
===>   Installing existing package /packages/All/libXtst-1.2.3_2.pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
[main-riscv64-default-job-15] Installing libXtst-1.2.3_2...
[main-riscv64-default-job-15] Extracting libXtst-1.2.3_2: .......... done
===>   joytran-0.9.5.2_1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===>   Returning to build of joytran-0.9.5.2_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   joytran-0.9.5.2_1 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for joytran-0.9.5.2_1
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2
-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nxb-bin/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nxb-bin/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


Docs: /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/documentation/0203121918-diagram.jpg;/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/documentation/Makefile;/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/documentation/manual.tex
-- LOCALBASE: /usr/local
-- PREFIX: /usr/local
-- include path: /usr/local/include
-- lib path: /usr/local/lib
-- binary path: /usr/local/bin
-- install include path: /usr/local/include
-- install lib path: /usr/local/lib
-- install binary path: /usr/local/bin
-- install share path: /usr/local/share
-- install joytran profiles path: /usr/local/share/joytran/profiles
-- install joytran doc path: /usr/local/share/doc/joytran
-- C FLAGS USED: -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2
-- Found PkgConfig: pkgconf (found version "1.8.0") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.0.12
-- Looking for SDL2: found
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for X11: found
-- Looking for include file unistd.h - found
-- Looking for include file stdio.h - found
-- Looking for include file X11/extensions/XTest.h - found
-- Looking for include file SDL2/SDL.h - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_C_FLAGS_DEBUG
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2
===========================================================================
=======================<phase: build          >============================
===>  Building for joytran-0.9.5.2_1
[ 10% 1/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/main.c.o -MF src/CMakeFiles/joytran.dir/main.c.o.d -o src/CMakeFiles/joytran.dir/main.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/main.c
[ 20% 2/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/alloc_values.c.o -MF src/CMakeFiles/joytran.dir/alloc_values.c.o.d -o src/CMakeFiles/joytran.dir/alloc_values.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/alloc_values.c
[ 30% 3/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/helper_fns.c.o -MF src/CMakeFiles/joytran.dir/helper_fns.c.o.d -o src/CMakeFiles/joytran.dir/helper_fns.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/helper_fns.c
[ 40% 4/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/detect_joysticks.c.o -MF src/CMakeFiles/joytran.dir/detect_joysticks.c.o.d -o src/CMakeFiles/joytran.dir/detect_joysticks.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/detect_joysticks.c
[ 50% 5/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/event_loop.c.o -MF src/CMakeFiles/joytran.dir/event_loop.c.o.d -o src/CMakeFiles/joytran.dir/event_loop.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/event_loop.c
[ 60% 6/10] /nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/generate_events.c.o -MF src/CMakeFiles/joytran.dir/generate_events.c.o.d -o src/CMakeFiles/joytran.dir/generate_events.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/generate_events.c
FAILED: src/CMakeFiles/joytran.dir/generate_events.c.o 
/nxb-bin/usr/bin/cc  -I/usr/local/include -I/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src -W -Wall -Werror -pedantic -fcommon -isystem/usr/local/include -DVERSION=\"0.9.5.2\" -DEMAIL="\"beyert AT SYMBOL fastmail DOT SYMBOL net\"" -DLOCALBASE="\"/usr/local\"" -DPREFIX="\"/usr/local\"" -DFLUSH_SLICES="\"1\"" -DWITH_SDL2 -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -MD -MT src/CMakeFiles/joytran.dir/generate_events.c.o -MF src/CMakeFiles/joytran.dir/generate_events.c.o.d -o src/CMakeFiles/joytran.dir/generate_events.c.o -c /wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/generate_events.c
/wrkdirs/usr/ports/emulators/joytran/work/joytran-0.9.5.2/src/generate_events.c:150:28: error: variable 'delay' set but not used [-Werror,-Wunused-but-set-variable]
  int i = 0, x = 0, y = 0, delay = 0, xdelay, ydelay;
                           ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/joytran