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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 06 Feb 2024 17:58: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:     thomas@bsdunix.ch
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pe72d10c28234_s2c191ba6b0/logs/foobillard-3.0a_12.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=pe72d10c28234_s2c191ba6b0
Log:

=>> Building games/foobillard
build started at Tue Feb  6 17:58:20 UTC 2024
port directory: /usr/ports/games/foobillard
package name: foobillard-3.0a_12
building for: FreeBSD main-arm64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500012 arm64
maintained by: thomas@bsdunix.ch
Makefile datestamp: -rw-r--r--  1 root wheel 1501 Nov 16 01:04 /usr/ports/games/foobillard/Makefile
Ports top last git commit: e72d10c2823
Ports top unclean checkout: no
Port dir last git commit: 06df180a9e3
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1500012
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500012
UNAME_v=FreeBSD 15.0-CURRENT 1500012
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-arm64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
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--
--disable-nvidia --enable-glut --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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/foobillard/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--
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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/foobillard/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  -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -L/usr/local/lib "
 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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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=15.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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foobillard-3.0a_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-arm64-default-job-06] Installing pkg-1.20.9_1...
[main-arm64-default-job-06] Extracting pkg-1.20.9_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  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by foobillard-3.0a_12 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  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>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  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  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for foobillard-3.0a_12
===>  Applying FreeBSD patches for foobillard-3.0a_12 from /usr/ports/games/foobillard/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foobillard-3.0a_12 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[main-arm64-default-job-06] Installing gmake-4.3_3...
[main-arm64-default-job-06] `-- Installing gettext-runtime-0.22.3_1...
[main-arm64-default-job-06] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-06] `-- Extracting gettext-runtime-0.22.3_1: .......... done
[main-arm64-default-job-06] Extracting gmake-4.3_3: .......... 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-2.0.3_2,1.pkg
<snip>
  440 |         gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, my_Vertex_cb);
      |                                                          ^~~~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
  336 | 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]
  443 |         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]
  444 |         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]
  445 |         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]
  446 |         funcs.cubic_to = cb_tess_cubic_to;
      |                        ^ ~~~~~~~~~~~~~~~~
font.c:466:26: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  466 |             VMvect n1,n2,n, d1,d2;
      |                          ^
font.c:370:9: warning: unused variable 'i' [-Wunused-variable]
  370 |     int i,j;
      |         ^
font.c:370:11: warning: unused variable 'j' [-Wunused-variable]
  370 |     int i,j;
      |           ^
font.c:372:28: warning: unused variable 'tobj' [-Wunused-variable]
  372 |     struct GLUtesselator * tobj;
      |                            ^~~~
font.c:373:12: warning: unused variable 'start_x' [-Wunused-variable]
  373 |     double start_x, start_y;
      |            ^~~~~~~
font.c:373:21: warning: unused variable 'start_y' [-Wunused-variable]
  373 |     double start_x, start_y;
      |                     ^~~~~~~
font.c:374:14: warning: unused variable 'v' [-Wunused-variable]
  374 |     GLdouble v[1000][3];
      |              ^
font.c:469:86: warning: variable 'tdv_s' is uninitialized when used here [-Wuninitialized]
  469 |             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
  465 |             struct TessDataVec * tdv_s;
      |                                       ^
      |                                        = NULL
font.c:530:19: warning: unused variable 'pen_x' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                   ^~~~~
font.c:530:26: warning: unused variable 'pen_y' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                          ^~~~~
font.c:530:35: warning: unused variable 'i' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                                   ^
font.c:530:37: warning: unused variable 'w' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                                     ^
font.c:530:39: warning: unused variable 'h' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                                       ^
font.c:530:49: warning: unused variable 'w1' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                                                 ^~
font.c:530:52: warning: unused variable 'h1' [-Wunused-variable]
  530 |     int           pen_x, pen_y, n,i,w,h, error, w1,h1;
      |                                                    ^~
textobj.c:57:13: warning: variable 'w2' set but not used [-Wunused-but-set-variable]
   57 |     int x,y,w2,h2;
      |             ^
textobj.c:57:16: warning: variable 'h2' set but not used [-Wunused-but-set-variable]
   57 |     int x,y,w2,h2;
      |                ^
textobj.c:71:13: warning: variable 'w2' set but not used [-Wunused-but-set-variable]
   71 |     int x,y,w2,h2;
      |             ^
textobj.c:71:16: warning: variable 'h2' set but not used [-Wunused-but-set-variable]
   71 |     int x,y,w2,h2;
      |                ^
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]
   96 |     glGenTextures(1,&texbind);
      |                     ^~~~~~~~
/usr/local/include/GL/gl.h:1302:57: note: passing argument to parameter 'textures' here
 1302 | GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
      |                                                         ^
textobj.c:91:12: warning: unused variable 'w1' [-Wunused-variable]
   91 |     int    w1,w2, h1,h2, nx,ny;
      |            ^~
textobj.c:91:15: warning: unused variable 'w2' [-Wunused-variable]
   91 |     int    w1,w2, h1,h2, nx,ny;
      |               ^~
textobj.c:91:19: warning: unused variable 'h1' [-Wunused-variable]
   91 |     int    w1,w2, h1,h2, nx,ny;
      |                   ^~
textobj.c:91:22: warning: unused variable 'h2' [-Wunused-variable]
   91 |     int    w1,w2, h1,h2, nx,ny;
      |                      ^~
textobj.c:91:26: warning: unused variable 'nx' [-Wunused-variable]
   91 |     int    w1,w2, h1,h2, nx,ny;
      |                          ^~
textobj.c:91:29: warning: unused variable 'ny' [-Wunused-variable]
   91 |     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]
  204 |         glDeleteTextures( 1, &(obj->tex_id) );
      |                              ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
 1304 | 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]
  227 |                 glDeleteTextures( 1, &(obj->tex_id) );
      |                                      ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
 1304 | 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]
  271 |         glDeleteTextures( 1, &(obj->tex_id) );
      |                              ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
      |                                                                  ^
textobj.c:300: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]
  300 |         glDeleteTextures( 1, &(obj->tex_id) );
      |                              ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
 1304 | 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]
  389 |         glDeleteTextures( 1, &(obj->tex_id) );
      |                              ^~~~~~~~~~~~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
 1304 | GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
      |                                                                  ^
16 warnings generated.
21 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -isystem /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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -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
16 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -isystem /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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -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
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -isystem /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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -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
sound_stuff.c:132:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  132 |             write(h_audio,sndbuff,SNDBUFF_SIZE*2);
      |             ^
sound_stuff.c:247:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  247 |     close(h_audio);
      |     ^
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -isystem /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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -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
if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"'  -isystem /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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -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
2 warnings generated.
bumpref.c:170:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable]
  170 |     double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy;
      |                              ^
bumpref.c:224:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable]
  224 |     double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy;
      |                              ^
bumpref.c:538:1: warning: non-void function does not return a value [-Wreturn-type]
  538 | }
      | ^
bumpref.c:1121:1: warning: non-void function does not return a value [-Wreturn-type]
 1121 | }
      | ^
4 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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   `pkg-config freetype2 --libs`  -lglut -fstack-protector-strong -L/usr/local/lib  -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: billard3d.o:(function DisplayFunc: .text+0x80c0): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x2A00C4 is not aligned to 8 bytes
ld: error: ball.o:(function create_balltex: .text+0x22fc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x2A00C4 is not aligned to 8 bytes
ld: error: ball.o:(function create_balltex_snooker: .text+0x29fc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x2A00C4 is not aligned to 8 bytes
ld: error: ball.o:(function create_balltex_carambol: .text+0x2cbc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x2A00C4 is not aligned to 8 bytes
ld: error: ball.o:(function draw_ballpath: .text+0x4194): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x2A00C4 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