[package - 130arm64-default][games/foobillard] Failed for foobillard-3.0a_12 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 07:24:14 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:     thomas@bsdunix.ch
Log URL:        http://ampere3.nyi.freebsd.org/data/130arm64-default/b790baec9029/logs/foobillard-3.0a_12.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=130arm64-default&build=b790baec9029
Log:

=>> Building games/foobillard
build started at Tue Jun 21 07:23:56 UTC 2022
port directory: /usr/ports/games/foobillard
package name: foobillard-3.0a_12
building for: FreeBSD 130arm64-default-job-11 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 arm64
maintained by: thomas@bsdunix.ch
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1300139
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p11
UNAME_r=13.0-RELEASE-p11
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/130arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130arm64-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 foobillard-3.0a_12:
     NVIDIA_BUMPREF=off: NVidia extensions
     SDL=off: SDL instead of glut
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
thomas@bsdunix.ch
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-glut --disable-nvidia --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/foobillard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/foobillard/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/foobillard/work/.cache  HOME=/wrkdirs/usr/ports/games/foobillard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/foobillard/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/foobillard/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/foobillard/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/foobillard/work/.cache  HOME=/wrkdirs/usr/ports/games/foobillard/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/foobillard/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/loc
 al" 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=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/foobillard"  EXAMPLESDIR="share/examples/foobillard"  DATADIR="share/foobillard"  WWWDIR="www/foobillard"  ETCDIR="etc/foobillard"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/foobillard DOCSDIR=/usr/local/share/doc/foobillard EXAMPLESDIR=/usr/local/share/examples/foobillard  WWWDIR=/usr/local/www/foobillard ETCDIR=/usr/local/etc/foobillard
--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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p11
OSREL=13.0
OSVERSION=1300139
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   foobillard-3.0a_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[130arm64-default-job-11] Installing pkg-1.17.5_1...
[130arm64-default-job-11] Extracting pkg-1.17.5_1: .......... done
===>   foobillard-3.0a_12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of foobillard-3.0a_12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by foobillard-3.0a_12 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by foobillard-3.0a_12 for building
=> SHA256 Checksum OK for foobillard-3.0a.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by foobillard-3.0a_12 for building
===>  Extracting for foobillard-3.0a_12
=> SHA256 Checksum OK for foobillard-3.0a.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for foobillard-3.0a_12
===>  Applying FreeBSD patches for foobillard-3.0a_12 from /usr/ports/games/foobillard/files
===========================================================================
=======================<phase: build-depends  >============================
===>   foobillard-3.0a_12 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[130arm64-default-job-11] Installing gmake-4.3_2...
[130arm64-default-job-11] `-- Installing gettext-runtime-0.21...
[130arm64-default-job-11] |   `-- Installing indexinfo-0.3.1...
[130arm64-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[130arm64-default-job-11] `-- Extracting gettext-runtime-0.21: .......... done
[130arm64-default-job-11] Extracting gmake-4.3_2: .......... done
===>   foobillard-3.0a_12 depends on package: gmake>=4.3 - found
===>   Returning to build of foobillard-3.0a_12
===>   foobillard-3.0a_12 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.0,1.pkg
[130arm64-default-job-11] Installing pkgconf-1.8.0,1...
[130arm64-default-job-11] Extracting pkgconf-1.8.0,1: .......... done
===>   foobillard-3.0a_12 depends on package: pkgconf>=1.3.0_1 - found
<snip>
  -c -o helpscreen.o `test -f 'helpscreen.c' || echo './'`helpscreen.c; \
then mv ".deps/helpscreen.Tpo" ".deps/helpscreen.Po"; \
else rm -f ".deps/helpscreen.Tpo"; exit 1; \
fi
1 warning generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT textobj.o -MD -MP -MF ".deps/textobj.Tpo" \
  -c -o textobj.o `test -f 'textobj.c' || echo './'`textobj.c; \
then mv ".deps/textobj.Tpo" ".deps/textobj.Po"; \
else rm -f ".deps/textobj.Tpo"; exit 1; \
fi
textobj.c:96:21: warning: passing 'int *' to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    glGenTextures(1,&texbind);
                    ^~~~~~~~
/usr/local/include/GL/gl.h:1302:57: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
                                                        ^
textobj.c:91:12: warning: unused variable 'w1' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
           ^
textobj.c:91:15: warning: unused variable 'w2' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
              ^
textobj.c:91:19: warning: unused variable 'h1' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
                  ^
textobj.c:91:22: warning: unused variable 'h2' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
                     ^
textobj.c:91:26: warning: unused variable 'nx' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
                         ^
textobj.c:91:29: warning: unused variable 'ny' [-Wunused-variable]
    int    w1,w2, h1,h2, nx,ny;
                            ^
textobj.c:204:30: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        glDeleteTextures( 1, &(obj->tex_id) );
                             ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
textobj.c:227:38: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                glDeleteTextures( 1, &(obj->tex_id) );
                                     ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
textobj.c:271:30: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        glDeleteTextures( 1, &(obj->tex_id) );
                             ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
textobj.cif cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT font.o -MD -MP -MF ".deps/font.Tpo" \
:300:30: warning:   -c -o font.o `test -f 'font.c' || echo './'`font.c; \
passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]then mv ".deps/font.Tpo" ".deps/font.Po"; \

else rm -f ".deps/font.Tpo"; exit 1; \
fi
        glDeleteTextures( 1, &(obj->tex_id) );
                             ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
textobj.c:389:30: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        glDeleteTextures( 1, &(obj->tex_id) );
                             ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
12 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT sys_stuff.o -MD -MP -MF ".deps/sys_stuff.Tpo" \
  -c -o sys_stuff.o `test -f 'sys_stuff.c' || echo './'`sys_stuff.c; \
then mv ".deps/sys_stuff.Tpo" ".deps/sys_stuff.Po"; \
else rm -f ".deps/sys_stuff.Tpo"; exit 1; \
fi
font.c:439:57: warning: incompatible function pointer types passing 'void (GLenum)' (aka 'void (unsigned int)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
        gluTessCallback(tessdata->tobj, GLU_TESS_BEGIN, glBegin);
                                                        ^~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
font.c:440:58: warning: incompatible function pointer types passing 'void (void *)' to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
        gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, my_Vertex_cb);
                                                         ^~~~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
font.c:443:24: warning: incompatible function pointer types assigning to 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') from 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
        funcs.move_to  = cb_tess_move_to;
                       ^ ~~~~~~~~~~~~~~~
font.c:444:24: warning: incompatible function pointer types assigning to 'FT_Outline_LineToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') from 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
        funcs.line_to  = cb_tess_line_to;
                       ^ ~~~~~~~~~~~~~~~
font.c:445:24: warning: incompatible function pointer types assigning to 'FT_Outline_ConicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') from 'int (FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
        funcs.conic_to = cb_tess_conic_to;
                       ^ ~~~~~~~~~~~~~~~~
font.c:446:24: warning: incompatible function pointer types assigning to 'FT_Outline_CubicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') from 'int (FT_Vector *, FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
        funcs.cubic_to = cb_tess_cubic_to;
                       ^ ~~~~~~~~~~~~~~~~
font.c:370:9: warning: unused variable 'i' [-Wunused-variable]
    int i,j;
        ^
font.c:370:11: warning: unused variable 'j' [-Wunused-variable]
    int i,j;
          ^
font.c:372:28: warning: unused variable 'tobj' [-Wunused-variable]
    struct GLUtesselator * tobj;
                           ^
font.c:373:12: warning: unused variable 'start_x' [-Wunused-variable]
    double start_x, start_y;
           ^
font.c:373:21: warning: unused variable 'start_y' [-Wunused-variable]
    double start_x, start_y;
                    ^
font.c:374:14: warning: unused variable 'v' [-Wunused-variable]
    GLdouble v[1000][3];
             ^
font.c:469:86: warning: variable 'tdv_s' is uninitialized when used here [-Wuninitialized]
            if(tdv!=NULL){ tdv_n=tdv->next; if(tdv_n==NULL || tdv_n->is_start) tdv_n=tdv_s; }
                                                                                     ^~~~~
font.c:465:39: note: initialize the variable 'tdv_s' to silence this warning
            struct TessDataVec * tdv_s;
                                      ^
                                       = NULL
font.c:530:19: warning: unused variable 'pen_x' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                  ^
font.c:530:26: warning: unused variable 'pen_y' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                         ^
font.c:530:35: warning: unused variable 'i' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                                  ^
font.c:530:37: warning: unused variable 'w' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                                    ^
font.c:530:39: warning: unused variable 'h' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                                      ^
font.c:530:49: warning: unused variable 'w1' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                                                ^
font.c:530:52: warning: unused variable 'h1' [-Wunused-variable]
    int           pen_x, pen_y, n,i,w,h, error, w1,h1;
                                                   ^
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT net_socket.o -MD -MP -MF ".deps/net_socket.Tpo" \
  -c -o net_socket.o `test -f 'net_socket.c' || echo './'`net_socket.c; \
then mv ".deps/net_socket.Tpo" ".deps/net_socket.Po"; \
else rm -f ".deps/net_socket.Tpo"; exit 1; \
fi
20 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT sound_stuff.o -MD -MP -MF ".deps/sound_stuff.Tpo" \
  -c -o sound_stuff.o `test -f 'sound_stuff.c' || echo './'`sound_stuff.c; \
then mv ".deps/sound_stuff.Tpo" ".deps/sound_stuff.Po"; \
else rm -f ".deps/sound_stuff.Tpo"; exit 1; \
fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT menu.o -MD -MP -MF ".deps/menu.Tpo" \
  -c -o menu.o `test -f 'menu.c' || echo './'`menu.c; \
then mv ".deps/menu.Tpo" ".deps/menu.Po"; \
else rm -f ".deps/menu.Tpo"; exit 1; \
fi
sound_stuff.c:132:13: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
            write(h_audio,sndbuff,SNDBUFF_SIZE*2);
            ^
sound_stuff.c:247:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(h_audio);
    ^
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -I/usr/local/include -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing  -MT bumpref.o -MD -MP -MF ".deps/bumpref.Tpo" \
  -c -o bumpref.o `test -f 'bumpref.c' || echo './'`bumpref.c; \
then mv ".deps/bumpref.Tpo" ".deps/bumpref.Po"; \
else rm -f ".deps/bumpref.Tpo"; exit 1; \
fi
bumpref.c:538:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
bumpref.c:1121:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
2 warnings generated.
cc -Wall `pkg-config freetype2 --cflags`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -O2 -pipe  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -fstack-protector-strong -fno-strict-aliasing   `pkg-config freetype2 --libs`  -lglut -L/usr/local/lib -fstack-protector-strong  -o foobillard  billard3d.o billmove.o billard.o vmath.o ball.o png_loader.o table.o queue.o aiplayer.o options.o evaluate_move.o helpscreen.o textobj.o font.o sys_stuff.o net_socket.o sound_stuff.o menu.o bumpref.o -lSM -lICE -L/usr/local/lib  -lGL -lGLU -lXaw -lm -lXi -lpng -lz 
ld: error: ball.c:(function create_balltex: .text+0x2350): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B5C4 is not aligned to 8 bytes
ld: error: ball.c:(function create_balltex_snooker: .text+0x2A58): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B5C4 is not aligned to 8 bytes
ld: error: billard3d.c:(function DisplayFunc: .text+0x8288): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B5C4 is not aligned to 8 bytes
ld: error: ball.c:(function create_balltex_carambol: .text+0x2D1C): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B5C4 is not aligned to 8 bytes
ld: error: ball.c:(function draw_ballpath: .text+0x4240): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x29B5C4 is not aligned to 8 bytes
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:290: foobillard] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/foobillard/work/foobillard-3.0a/src'
gmake[2]: *** [Makefile:238: all] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/foobillard/work/foobillard-3.0a/src'
gmake[1]: *** [Makefile:179: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/foobillard/work/foobillard-3.0a'
===> 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/games/foobillard