Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2018 18:35:41 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 111arm64-quarterly][games/battalion] Failed for battalion-1.4b_2 in build
Message-ID:  <201801281835.w0SIZfHq077217@thunderx1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: branches/2018Q1/games/battalion/Makefile 443615 2017-06-15 09:01:31Z amdmi3 $
Log URL:        http://thunderx1.nyi.freebsd.org/data/111arm64-quarterly/460130/logs/battalion-1.4b_2.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=111arm64-quarterly&build=460130
Log:

=>> Building games/battalion
build started at Sun Jan 28 18:34:50 UTC 2018
port directory: /usr/ports/games/battalion
package name: battalion-1.4b_2
building for: FreeBSD 111arm64-quarterly-job-21 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 1101001 arm64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2018Q1/games/battalion/Makefile 443615 2017-06-15 09:01:31Z amdmi3 $
Poudriere version: 3.2.4-20-g3ab5fc55
Host OSVERSION: 1200054
Jail OSVERSION: 1101001
Job Id: 21

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p6 1101001
UNAME_r=11.1-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/111arm64-quarterly/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/111arm64-quarterly/ref/.p/pool
MASTERNAME=111arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-20-g3ab5fc55
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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 battalion-1.4b_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/battalion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/battalion/work  HOME=/wrkdirs/usr/ports/games/battalion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/battalion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/battalion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/battalion/work  HOME=/wrkdirs/usr/ports/games/battalion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/battalion/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  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="" LIBS="-lX11 -lm -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include"  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"  B
 SD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/battalion"  EXAMPLESDIR="share/examples/battalion"  DATADIR="share/battalion"  WWWDIR="www/battalion"  ETCDIR="etc/battalion"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/battalion DOCSDIR=/usr/local/share/doc/battalion EXAMPLESDIR=/usr/local/share/examples/battalion  WWWDIR=/usr/local/www/battalion ETCDIR=/usr/local/etc/battalion
--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 ####
ARCH=aarch64
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.1-RELEASE-p6
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

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

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License batallion accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   battalion-1.4b_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.3_1.txz
[111arm64-quarterly-job-21] Installing pkg-1.10.3_1...
[111arm64-quarterly-job-21] Extracting pkg-1.10.3_1: .......... done
===>   battalion-1.4b_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of battalion-1.4b_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

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

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License batallion accepted by the user
===> Fetching all distfiles required by battalion-1.4b_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

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

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License batallion accepted by the user
===> Fetching all distfiles required by battalion-1.4b_2 for building
=> SHA256 Checksum OK for battalion1.4b.tar.bz2.
=> SHA256 Checksum OK for battalionSUN4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

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

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

<snip>
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2985:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(V[1].number), &garbage, &(V[1].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2986:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(V[2].number), &garbage, &(V[2].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2988:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(F[0].number), &garbage, &(F[0].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2989:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(F[1].number), &garbage, &(F[1].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2990:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(F[2].number), &garbage, &(F[2].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2992:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(T[0].number), &garbage, &(T[0].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2993:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(T[1].number), &garbage, &(T[1].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:2994:58: warning: format specifies type 'char *' but the argument has type 'char (*)[256]' [-Wformat]
        fscanf(hiScoreFile, "%d%c%s", &(T[2].number), &garbage, &(T[2].name));
                                 ~~                             ^~~~~~~~~~~~
battalion.c:3622:6: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
            ^
battalion.c:3622:6: note: use function 'abs' instead
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
            ^~~~
            abs
battalion.c:3622:82: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
                                                                                        ^
battalion.c:3622:82: note: use function 'abs' instead
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate + 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
                                                                                        ^~~~
                                                                                        abs
battalion.c:3624:6: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
            ^
battalion.c:3624:6: note: use function 'abs' instead
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
            ^~~~
            abs
battalion.c:3624:82: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
                                                                                        ^
battalion.c:3624:82: note: use function 'abs' instead
        if (fabs(thaMonster.headHorzRotate - (temptarget->net_headHorzRotate - 3600)) < fabs(thaMonster.headHorzRotate - nearAngle))
                                                                                        ^~~~
                                                                                        abs
battalion.c:4367:24: warning: implicit conversion from 'double' to 'GLint' (aka 'int') changes value from 2.5 to 2 [-Wliteral-conversion]
        glFogi(GL_FOG_START,  MONSTERFOGSTART);
        ~~~~~~                ^~~~~~~~~~~~~~~
./battalion.h:138:26: note: expanded from macro 'MONSTERFOGSTART'
#define MONSTERFOGSTART         2.5
                                ^~~
battalion.c:4640:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
battalion.c:4774:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
battalion.c:5075:47: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    if ((thaMonster.energyRemaining > 15) && (fabs(speed) < 6) && (r < 3.5))
                                              ^
battalion.c:5075:47: note: use function 'abs' instead
    if ((thaMonster.energyRemaining > 15) && (fabs(speed) < 6) && (r < 3.5))
                                              ^~~~
                                              abs
battalion.c:5082:22: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
                (t != MECHAG) && ((fabs(speed) < 3) || (r < 1)))
                                   ^
battalion.c:5082:22: note: use function 'abs' instead
                (t != MECHAG) && ((fabs(speed) < 3) || (r < 1)))
                                   ^~~~
                                   abs
battalion.c:5085:51: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if (((t == MECHAG)  || (t == HERO)) && (fabs(speed) < 5) && (r > 3))
                                                         ^
battalion.c:5085:51: note: use function 'abs' instead
            else if (((t == MECHAG)  || (t == HERO)) && (fabs(speed) < 5) && (r > 3))
                                                         ^~~~
                                                         abs
battalion.c:5088:51: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if (((t == MECHAG)  || (t == HERO)) && (fabs(speed) < 5) && (r < .75))
                                                         ^
battalion.c:5088:51: note: use function 'abs' instead
            else if (((t == MECHAG)  || (t == HERO)) && (fabs(speed) < 5) && (r < .75))
                                                         ^~~~
                                                         abs
battalion.c:5096:53: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if ((thaMonster.energyRemaining > 5) && ((fabs(speed) < 10) || (r < 4)))
                                                           ^
battalion.c:5096:53: note: use function 'abs' instead
            else if ((thaMonster.energyRemaining > 5) && ((fabs(speed) < 10) || (r < 4)))
                                                           ^~~~
                                                           abs
battalion.c:5102:22: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
                (t != MECHAG) && ((fabs(speed) < 3) || (r < 1)))
                                   ^
battalion.c:5102:22: note: use function 'abs' instead
                (t != MECHAG) && ((fabs(speed) < 3) || (r < 1)))
                                   ^~~~
                                   abs
battalion.c:5104:50: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3))
                                                        ^
battalion.c:5104:50: note: use function 'abs' instead
            else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r > 3))
                                                        ^~~~
                                                        abs
battalion.c:5106:50: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75))
                                                        ^
battalion.c:5106:50: note: use function 'abs' instead
            else if (((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < .75))
                                                        ^~~~
                                                        abs
battalion.c:5108:52: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
            else if (!(((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < 1)))
                                                          ^
battalion.c:5108:52: note: use function 'abs' instead
            else if (!(((t == MECHAG) || (t == HERO)) && (fabs(speed) < 5) && (r < 1)))
                                                          ^~~~
                                                          abs
battalion.c:5472:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (int argc, char*argv[])
^
39 warnings generated.
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c audio.c -o audio.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c net.c -o net.o
net.c:387:8: warning: format specifies type 'double' but the argument has type 'char' [-Wformat]
                                                 tempTank->type, 
                                                 ^~~~~~~~~~~~~~
net.c:381:57: warning: more '%' conversions than data arguments [-Wformat]
        sprintf(mesg, "%s %d %3.1f %3.1f %3.1f %3.1f %0.3f %d %d #", MESG_NEW_TANK,
                                                              ~^
net.c:696:78: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
         n = recvfrom(sockfd, recvline, MAXLINE, 0, (struct sockaddr *) &serv_addr, (int *)& servlen);
                                                                                    ^~~~~~~~~~~~~~~~
/usr/include/sys/socket.h:628:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
net.c:804:76: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        n = recvfrom(sockfd, recvline, MAXLINE, 0, (struct sockaddr *) &cli_addr, (int *)& clilen);
                                                                                  ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:628:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
4 warnings generated.
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c gprim.c -o gprim.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c graphics.c -o graphics.o
graphics.c:1838:27: warning: comparison of array 'officeLogoData' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if ((detail >= 2) && (officeLogoData != NULL))
                          ^~~~~~~~~~~~~~    ~~~~
graphics.c:1851:27: warning: comparison of array 'picleft' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if ((detail >= 2) && (picleft != NULL))
                          ^~~~~~~    ~~~~
graphics.c:2030:28: warning: comparison of array 'picleft' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if ((detail >= 2) &&  (picleft != NULL) && (picright != NULL))
                           ^~~~~~~    ~~~~
graphics.c:2030:49: warning: comparison of array 'picright' not equal to a null pointer is always true [-Wtautological-pointer-compare]
    if ((detail >= 2) &&  (picleft != NULL) && (picright != NULL))
                                                ^~~~~~~~    ~~~~
graphics.c:3387:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                    else
                    ^
5 warnings generated.
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c objects.c -o objects.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c text.c -o text.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c update.c -o update.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c tk.c -o tk.o
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c font.c -o font.o
font.c:1367:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (j = 1; mode = strokeFont[i][j]; j += 3) {
                    ~~~~~^~~~~~~~~~~~~~~~~~
font.c:1367:19: note: place parentheses around the assignment to silence this warning
        for (j = 1; mode = strokeFont[i][j]; j += 3) {
                         ^
                    (                      )
font.c:1367:19: note: use '==' to turn this assignment into an equality comparison
        for (j = 1; mode = strokeFont[i][j]; j += 3) {
                         ^
                         ==
1 warning generated.
cc -O2 -pipe  -I/usr/local/include/X11 -DLINUXVERSION -DLINUXAUDIO -isystem /usr/local/include -fno-strict-aliasing -c soundIt.c -o soundIt.o
cc -o battalion battalion.o audio.o net.o gprim.o graphics.o objects.o text.o update.o tk.o font.o soundIt.o  -lGL -lGLU -lX11 -lm -L/usr/local/lib -DLINUXAUDIO
/usr/bin/ld: Undefined symbol "stat"
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/battalion/work/battalion1.4b
*** Error code 1

Stop.
make: stopped in /usr/ports/games/battalion



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801281835.w0SIZfHq077217>