Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2021 09:01:46 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-arm64-quarterly][games/gracer] Failed for gracer-0.1.5_22 in build
Message-ID:  <202103180901.12I91kR0085939@ampere1.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: zeising@FreeBSD.org
Ident:          $FreeBSD: branches/2021Q1/games/gracer/Makefile 516845 2019-11-05 22:16:14Z zeising $
Log URL:        http://ampere1.nyi.freebsd.org/data/130releng-arm64-quarterly/568714/logs/gracer-0.1.5_22.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=130releng-arm64-quarterly&build=568714
Log:

=>> Building games/gracer
build started at Thu Mar 18 09:01:21 UTC 2021
port directory: /usr/ports/games/gracer
package name: gracer-0.1.5_22
building for: FreeBSD 130releng-arm64-quarterly-job-07 13.0-RC2 FreeBSD 13.0-RC2 1300139 arm64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2021Q1/games/gracer/Makefile 516845 2019-11-05 22:16:14Z zeising $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1300139
Job Id: 07




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RC2 1300139
UNAME_r=13.0-RC2
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130releng-arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-arm64-quarterly/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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--with-plib=/usr/local --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/games/gracer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gracer/work  HOME=/wrkdirs/usr/ports/games/gracer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/gracer/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/games/gracer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gracer/work  HOME=/wrkdirs/usr/ports/games/gracer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/gracer/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  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include/tcl8.6 -isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"  BSD_INSTALL_MAN="ins
 tall  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/gracer"  EXAMPLESDIR="share/examples/gracer"  DATADIR="share/gracer"  WWWDIR="www/gracer"  ETCDIR="etc/gracer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gracer DOCSDIR=/usr/local/share/doc/gracer EXAMPLESDIR=/usr/local/share/examples/gracer  WWWDIR=/usr/local/www/gracer ETCDIR=/usr/local/etc/gracer
--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-RC2
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   >============================
===>   NOTICE:

The gracer 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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gracer-0.1.5_22 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-arm64-quarterly-job-07] Installing pkg-1.16.3...
[130releng-arm64-quarterly-job-07] Extracting pkg-1.16.3: .......... done
===>   gracer-0.1.5_22 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gracer-0.1.5_22
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The gracer 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 GPLv2+ accepted by the user
===> Fetching all distfiles required by gracer-0.1.5_22 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The gracer 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
<snip>
/usr/local/include/tcl8.6/tcl.h:2587:53: note: expanded from macro 'Tcl_FindHashEntry'
        (*((tablePtr)->findProc))(tablePtr, (const char *)(key))
                                                           ^~~
glbind.c:915:45: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key);
                                            ^~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2587:53: note: expanded from macro 'Tcl_FindHashEntry'
        (*((tablePtr)->findProc))(tablePtr, (const char *)(key))
                                                           ^~~
glbind.c:1024:10: warning: cast to smaller integer type 'GLenum' (aka 'unsigned int') from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast]
  return (GLenum) Tcl_GetHashValue (entry);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glbind.c:1166:35: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    GL_CHECK(glDeleteTextures (1, &val));
                                  ^~~~
./common/gr_debug.h:177:26: note: expanded from macro 'GL_CHECK'
#define GL_CHECK(expr)                  expr
                                        ^~~~
/usr/local/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here
GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
                                                                 ^
glutwidgets.c:352:21: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x1 - widget->x0) + fabs (w->y0 - widget->y0) * 5;
                    ^
glutwidgets.c:352:21: note: use function 'abs' instead
    new_distance =  fabs (w->x1 - widget->x0) + fabs (w->y0 - widget->y0) * 5;
                    ^~~~
                    abs
glutwidgets.c:352:49: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x1 - widget->x0) + fabs (w->y0 - widget->y0) * 5;
                                                ^
glutwidgets.c:352:49: note: use function 'abs' instead
    new_distance =  fabs (w->x1 - widget->x0) + fabs (w->y0 - widget->y0) * 5;
                                                ^~~~
                                                abs
glutwidgets.c:381:21: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x1) + fabs (w->y0 - widget->y0) * 5;
                    ^
glutwidgets.c:381:21: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x1) + fabs (w->y0 - widget->y0) * 5;
                    ^~~~
                    abs
glutwidgets.c:381:49: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x1) + fabs (w->y0 - widget->y0) * 5;
                                                ^
glutwidgets.c:381:49: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x1) + fabs (w->y0 - widget->y0) * 5;
                                                ^~~~
                                                abs
glutwidgets.c:410:21: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y0 - widget->y1);
                    ^
glutwidgets.c:410:21: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y0 - widget->y1);
                    ^~~~
                    abs
glutwidgets.c:410:53: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y0 - widget->y1);
                                                    ^
glutwidgets.c:410:53: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y0 - widget->y1);
                                                    ^~~~
                                                    abs
glutwidgets.c:439:21: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y1 - widget->y0);
                    ^
glutwidgets.c:439:21: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y1 - widget->y0);
                    ^~~~
                    abs
glutwidgets.c:439:53: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y1 - widget->y0);
                                                    ^
glutwidgets.c:439:53: note: use function 'abs' instead
    new_distance =  fabs (w->x0 - widget->x0) * 2 + fabs (w->y1 - widget->y0);
                                                    ^~~~
                                                    abs
glbind.c:1448:50: warning: passing 'GLuint *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  TCL_CHECK (Tcl_GetIntFromObj (interp, objv[1], &name), ERROR);
                                                 ^~~~~
./common/gr_debug.h:30:35: note: expanded from macro 'TCL_CHECK'
#define TCL_CHECK(cmd,label)    if ((cmd) == TCL_ERROR) {goto label;}
                                     ^~~
/usr/local/include/tcl8.6/tclDecls.h:161:27: note: passing argument to parameter 'intPtr' here
                                Tcl_Obj *objPtr, int *intPtr);
                                                      ^
glbind.c:1481:45: warning: passing 'GLuint *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (Tcl_GetIntFromObj (interp, objv[i], &name) == TCL_ERROR)
                                            ^~~~~
/usr/local/include/tcl8.6/tclDecls.h:161:27: note: passing argument to parameter 'intPtr' here
                                Tcl_Obj *objPtr, int *intPtr);
                                                      ^
glbind.c:3964:32: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'GLenum' (aka 'unsigned int') [-Wint-to-void-pointer-cast]
      Tcl_SetHashValue (entry, (ClientData) glwordlist[i].val);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2573:69: note: expanded from macro 'Tcl_SetHashValue'
#define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value))
                                                                    ^~~~~
8 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c gluttclwidgets.c
22 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c glutgame.c
glutgame.c:311:55: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
      entry = Tcl_FindHashEntry (&game->trigger_hash, (ClientData) key);
                                                      ^~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2587:53: note: expanded from macro 'Tcl_FindHashEntry'
        (*((tablePtr)->findProc))(tablePtr, (const char *)(key))
                                                           ^~~
glutgame.c:338:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
                               (char *) game->trigger_key, &_new);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2590:55: note: expanded from macro 'Tcl_CreateHashEntry'
        (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr)
                                                             ^~~
glutgame.c:597:49: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  entry = Tcl_FindHashEntry (&game->entry_hash, (ClientData) entry_no);
                                                ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2587:53: note: expanded from macro 'Tcl_FindHashEntry'
        (*((tablePtr)->findProc))(tablePtr, (const char *)(key))
                                                           ^~~
glutgame.c:834:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    str = Tcl_GetStringResult (interp);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c gr_world.c
glutgame.c:948:6: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                                 (ClientData) entry_no, &_new);
                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2590:55: note: expanded from macro 'Tcl_CreateHashEntry'
        (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr)
                                                             ^~~
glutgame.c:1205:53: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
      entry = Tcl_FindHashEntry (&game->entry_hash, (ClientData) d);
                                                    ^~~~~~~~~~~~~~
/usr/local/include/tcl8.6/tcl.h:2587:53: note: expanded from macro 'Tcl_FindHashEntry'
        (*((tablePtr)->findProc))(tablePtr, (const char *)(key))
                                                           ^~~
glutgame.c:1292:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        str = Tcl_GetStringResult (interp);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glutgame.c:1305:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        str = Tcl_GetStringResult (interp);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gr_world.c:162:13: warning: 10 enumeration values not handled in switch: 'GR_CLINE_REGION_C', 'GR_CLINE_REGION_A', 'GR_CLINE_REGION_B'... [-Wswitch]
    switch (vehicle->cinfo.res) {
            ^
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c vehicle.c
8 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c lap.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -g -Wall -c joystick.c
joystick.c:34:12: warning: unused variable 'js_fd' [-Wunused-variable]
static int js_fd = -1;
           ^
joystick.c:35:20: warning: unused variable 'js_interp' [-Wunused-variable]
static Tcl_Interp *js_interp;
                   ^
joystick.c:36:17: warning: unused variable 'js_obj' [-Wunused-variable]
static Tcl_Obj *js_obj;
                ^
3 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c sound.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	 -I/usr/local/include 	 	 	-I/usr/local/include/tcl8.6 	 	 	 	-I/usr/local/include/plib  -I/usr/local/include/tcl8.6 -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c main.cxx
sed -e 's^\@VERSION\@^0.1.5^g' < ui.tcl.in > ui.tcl.tmp \
&& mv ui.tcl.tmp ui.tcl
sed -e 's^\@gracerdatadir\@^/usr/local/share/gracer^g' < init.tcl.in > init.tcl.tmp \
&& mv init.tcl.tmp init.tcl
/bin/sh ../libtool --mode=link c++  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -fstack-protector-strong  -o gracer  glbind.o glutwidgets.o gluttclwidgets.o glutgame.o gr_world.o vehicle.o lap.o joystick.o sound.o main.o -L/usr/local/lib 	 	 	 	 	 	 	-L/usr/local/lib -ltcl86 	 -lz -lpthread -lm 	 -L/usr/local/lib  -lX11 -lXext  -lSM -lICE -lXt -lXmu -lXi 	-lGL -lGLU 	-lglut 	 -lgif 	 -ljpeg 	 -lpng 	 -lplibsl -lplibul 	../common/libcommon.a -lm -L/usr/local/lib
mkdir .libs
c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -o gracer glbind.o glutwidgets.o gluttclwidgets.o glutgame.o gr_world.o vehicle.o lap.o joystick.o sound.o main.o -L/usr/local/lib -L/usr/local/lib -ltcl86 -lz -lpthread -lm -L/usr/local/lib -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lglut -lgif -ljpeg -lpng -lplibsl -lplibul ../common/libcommon.a -lm -L/usr/local/lib
ld: error: duplicate symbol: GrBreak
>>> defined at vehicle.h:73 (./vehicle.h:73)
>>>            glutgame.o:(GrBreak)
>>> defined at vehicle.h:73 (./vehicle.h:73)
>>>            gr_world.o:(.bss+0x0)

ld: error: duplicate symbol: GrBreak
>>> defined at vehicle.h:73 (./vehicle.h:73)
>>>            glutgame.o:(GrBreak)
>>> defined at vehicle.h:73 (./vehicle.h:73)
>>>            vehicle.o:(.bss+0x0)

ld: error: duplicate symbol: GrBreak
>>> defined at vehicle.h:73 (./vehicle.h:73)
>>>            glutgame.o:(GrBreak)
>>> defined at main.cxx
>>>            main.o:(.bss+0x0)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:240: gracer] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/src'
gmake[2]: *** [Makefile:229: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5'
gmake[1]: *** [Makefile:374: all-recursive-am] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5'
===> 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/gracer



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