[package - main-amd64-default][games/quake2max] Failed for quake2max-0.45_16 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jan 2025 13:48: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: danfe@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p71b167230419_s46a9fb7287f/logs/quake2max-0.45_16.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p71b167230419_s46a9fb7287f Log: =>> Building games/quake2max build started at Sun Jan 26 13:47:59 UTC 2025 port directory: /usr/ports/games/quake2max package name: quake2max-0.45_16 building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500030 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3279 Jan 25 2024 /usr/ports/games/quake2max/Makefile Ports top last git commit: 71b16723041 Ports top unclean checkout: no Port dir last git commit: a22f7c00b77 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500028 Jail OSVERSION: 1500030 Job Id: 02 !!! Jail is newer than host. (Jail: 1500030, Host: 1500028) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500030 UNAME_v=FreeBSD 15.0-CURRENT 1500030 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.2 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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 quake2max-0.45_16: CLIENT=on: Build original client DEDICATED=on: Build dedicated server GAME=off: Build main game (default mod) GLX=on: Build OpenGL renderer OPTIMIZED_CFLAGS=on: Use extra compiler optimizations SDLCLIENT=on: Build SDL client SDLGL=on: Build SDL OpenGL renderer ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- LIBDIR="/usr/local/lib/quake2max" BUILD_QUAKE2MAX=YES BUILD_DEDICATED=YES BUILD_GLX=YES WITH_OPTIMIZED_CFLAGS=YES BUILD_QUAKE2MAX-SDL=YES BUILD_SDLGL=YES Q2DIR="/usr/local/share/quake2" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/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 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CX XFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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-- LIBDIR="lib/quake2max" CLIENT="" DEDICATED="" GAME="@comment " GLX="" SDLCLIENT="" SDLGL="" Q2DIR="share/quake2" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/quake2max" EXAMPLESDIR="share/examples/quake2max" DATADIR="share/quake2max" WWWDIR="www/quake2max" ETCDIR="etc/quake2max" --End PLIST_SUB-- --SUB_LIST-- Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/quake2max DOCSDIR=/usr/local/share/doc/quake2max EXAMPLESDIR=/usr/local/share/examples/quake2max WWWDIR=/usr/local/www/quake2max ETCDIR=/usr/local/etc/quake2max --End SUB_LIST-- ---Begin 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 3 jobs MAKE_JOBS_NUMBER=3 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) 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) 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 pipebuf (-y) 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 ===> quake2max-0.45_16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.3.pkg [main-amd64-default-job-02] Installing pkg-2.0.3... [main-amd64-default-job-02] Extracting pkg-2.0.3: .......... done ===> quake2max-0.45_16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of quake2max-0.45_16 =========================================================================== =======================<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 quake2max-0.45_16 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 quake2max-0.45_16 for building => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. =========================================================================== =======================<phase: extract-depends>============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on executable: unrar - not found ===> Installing existing package /packages/All/unrar-7.01,6.pkg [main-amd64-default-job-02] Installing unrar-7.01,6... [main-amd64-default-job-02] Extracting unrar-7.01,6: .... done ===> quake2max-0.45_16 depends on executable: unrar - found ===> Returning to build of quake2max-0.45_16 =========================================================================== =======================<phase: extract >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by quake2max-0.45_16 for building ===> Extracting for quake2max-0.45_16 => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. =========================================================================== =======================<phase: patch-depends >============================ <snip> cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_ccmds.o -c server/sv_ccmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_ents.o -c server/sv_ents.c server/sv_ccmds.c:928:17: warning: passing 'char[32768]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 928 | SZ_Init (&buf, buf_data, sizeof(buf_data)); | ^~~~~~~~ server/../qcommon/qcommon.h:131:37: note: passing argument to parameter 'data' here 131 | void SZ_Init (sizebuf_t *buf, byte *data, int length); | ^ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_game.o -c server/sv_game.c server/sv_ents.c:533:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] 533 | int c_fullsend; | ^ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_init.o -c server/sv_init.c 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_main.o -c server/sv_main.c 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_send.o -c server/sv_send.c server/sv_init.c:462:3: warning: call to undeclared function 'M_ForceMenuOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | M_ForceMenuOff(); | ^ server/sv_init.c:477:3: warning: call to undeclared function 'M_ForceMenuOff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | M_ForceMenuOff(); | ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_user.o -c server/sv_user.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_world.o -c server/sv_world.c server/sv_world.c:371:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] 371 | check = EDICT_FROM_AREA(l); | ^~~~~~~~~~~~~~~~~~ server/sv_world.c:38:28: note: expanded from macro 'EDICT_FROM_AREA' 38 | #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/sv_world.c:36:52: note: expanded from macro 'STRUCT_FROM_LINK' 36 | #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) | ^~~~~~~~~~~~~~~~~~~ server/sv_world.c:358:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] 358 | int count; | ^ server/sv_world.c:437:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] 437 | float *angles; | ^ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/qsh_unix.o -c unix/qsh_unix.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/vid_menu.o -c unix/vid_menu.c unix/qsh_unix.c:87:14: warning: call to undeclared function 'round_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | new_size = round_page(new_size); | ^ unix/qsh_unix.c:91:12: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 91 | else if (new_size < old_size) | ^~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:102:6: note: uninitialized use occurs here 102 | if (n != membase) | ^ unix/qsh_unix.c:91:8: note: remove the 'if' if its condition is always true 91 | else if (new_size < old_size) | ^~~~~~~~~~~~~~~~~~~~~~~~ 92 | { unix/qsh_unix.c:79:9: note: initialize the variable 'n' to silence this warning 79 | byte *n; | ^ | = NULL unix/qsh_unix.c:156:8: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | *s = tolower(*s); | ^ unix/qsh_unix.c:156:8: note: include the header <ctype.h> or explicitly provide a declaration for 'tolower' 3 warnings generated. unix/vid_menu.c:138:7: warning: unused variable 'ref' [-Wunused-variable] 138 | int ref; | ^~~ unix/vid_menu.c:132:16: warning: unused variable 'slider' [-Wunused-variable] 132 | menuslider_s *slider = ( menuslider_s * ) s; | ^~~~~~ unix/vid_menu.c:167:8: warning: unused variable 'gamma' [-Wunused-variable] 167 | float gamma; | ^~~~~ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/vid_so.o -c unix/vid_so.c unix/vid_menu.c:453:40: warning: variable 'y' is uninitialized when used here [-Wuninitialized] 453 | s_ref_list.generic.y = MENU_FONT_SIZE*y+2;; | ^ unix/vid_menu.c:367:7: note: initialize the variable 'y' to silence this warning 367 | int y; | ^ | = 0 unix/vid_menu.c:730:6: warning: unused variable 'w' [-Wunused-variable] 730 | int w, h; | ^ unix/vid_menu.c:730:9: warning: unused variable 'h' [-Wunused-variable] 730 | int w, h; | ^ unix/vid_menu.c:62:13: warning: unused variable 's_current_menu_index' [-Wunused-variable] 62 | static int s_current_menu_index; | ^~~~~~~~~~~~~~~~~~~~ unix/vid_menu.c:73:22: warning: unused variable 's_lightmapscale_slider' [-Wunused-variable] 73 | static menuslider_s s_lightmapscale_slider; | ^~~~~~~~~~~~~~~~~~~~~~ unix/vid_menu.c:75:22: warning: unused variable 's_vertexlight_box' [-Wunused-variable] 75 | static menulist_s s_vertexlight_box; | ^~~~~~~~~~~~~~~~~ unix/vid_menu.c:78:22: warning: unused variable 's_back_action' [-Wunused-variable] 78 | static menuaction_s s_back_action; | ^~~~~~~~~~~~~ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sys_unix.o -c unix/sys_unix.c unix/vid_so.c:481:2: warning: call to undeclared function 'refreshCursorMenu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | refreshCursorMenu(); | ^ unix/vid_so.c:482:2: warning: call to undeclared function 'refreshCursorLink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | refreshCursorLink(); | ^ unix/vid_so.c:523:4: warning: call to undeclared function 'M_Think_MouseCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | M_Think_MouseCursor(); | ^ unix/sys_unix.c:80:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 80 | for (p = (unsigned char *)text; *p; p++) { | ^ unix/sys_unix.c:77:5: note: previous statement is here 77 | if (nostdout && nostdout->value) | ^ 10 warnings generated. 1 warning generated. 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/glob.o -c unix/glob.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/net_udp.o -c unix/net_udp.c unix/glob.c:51:12: warning: unused function 'glob_pattern_p' [-Wunused-function] 51 | static int glob_pattern_p(char *pattern) | ^~~~~~~~~~~~~~ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/q_shared.o -c game/q_shared.c 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/pmove.o -c qcommon/pmove.c unix/net_udp.c:182:53: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr(copy); | ^ unix/net_udp.c:302:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 302 | , 0, (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /usr/include/sys/socket.h:707:96: note: passing argument to parameter here 707 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ unix/net_udp.c:362:11: warning: variable 'net_socket' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 362 | else if (to.type == NA_BROADCAST_IPX) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:373:16: note: uninitialized use occurs here 373 | ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) ); | ^~~~~~~~~~ unix/net_udp.c:362:7: note: remove the 'if' if its condition is always true 362 | else if (to.type == NA_BROADCAST_IPX) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 363 | { 364 | net_socket = ipx_sockets[sock]; 365 | if (!net_socket) 366 | return; 367 | } | 368 | else | ~~~~ 369 | Com_Error (ERR_FATAL, "NET_SendPacket: bad address type"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:336:17: note: initialize the variable 'net_socket' to silence this warning 336 | int net_socket; | ^ | = 0 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cd_unix.o -c unix/cd_unix.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_unix.o -c unix/snd_unix.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_sdl.o -c unix/gl_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DOPENGL cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cd_sdl.o -c unix/cd_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE unix/snd_unix.c:56:11: warning: unused variable 's' [-Wunused-variable] 56 | char *s; | ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_sdl.o -c unix/snd_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE In file included from unix/gl_sdl.c:45: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] 116 | #define GL_GLEXT_VERSION 29 | ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here 35 | #define GL_GLEXT_VERSION 20220530 | ^ ==================== Linking quake2/rfx_glx.so ==================== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -shared -o quake2/rfx_glx.so release/ref_gl/gl_cin.o release/ref_gl/gl_draw.o release/ref_gl/gl_image.o release/ref_gl/gl_light.o release/ref_gl/gl_mesh.o release/ref_gl/gl_model.o release/ref_gl/gl_rmain.o release/ref_gl/gl_rmisc.o release/ref_gl/gl_rsurf.o release/ref_gl/gl_script.o release/ref_gl/gl_vlights.o release/ref_gl/gl_warp.o release/ref_gl/sul_png.o release/ref_gl/qgl_unix.o release/ref_gl/q_shared.o release/ref_gl/qsh_unix.o release/ref_gl/glob.o release/ref_gl/gl_glx.o -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lGLU -ljpeg -lpng cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -o quake2/quake2max-ded release/ded/cmd.o release/ded/cmodel.o release/ded/common.o release/ded/crc.o release/ded/cvar.o release/ded/files.o release/ded/md4.o release/ded/net_chan.o release/ded/sv_ccmds.o release/ded/sv_ents.o release/ded/sv_game.o release/ded/sv_init.o release/ded/sv_main.o release/ded/sv_send.o release/ded/sv_user.o release/ded/sv_world.o release/ded/qsh_unix.o release/ded/sys_unix.o release/ded/glob.o release/ded/net_udp.o release/ded/q_shared.o release/ded/pmove.o release/ded/cl_null.o release/ded/cd_null.o -lm -lz ld: error: undefined symbol: round_page >>> referenced by qsh_unix.c >>> release/ded/qsh_unix.o:(Hunk_End) >>> referenced by qsh_unix.c >>> release/ded/qsh_unix.o:(Hunk_End) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [Makefile:458: quake2/quake2max-ded] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 1 warning generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix' gmake: *** [Makefile:184: release] Error 2 ===> 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 making "build" in /usr/ports/games/quake2max