Date: Tue, 9 Mar 2021 02:28:18 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 130releng-i386-quarterly][games/gracer] Failed for gracer-0.1.5_22 in build Message-ID: <202103090228.1292SIGZ083196@beefy13.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://beefy13.nyi.freebsd.org/data/130releng-i386-quarterly/567860/logs/gracer-0.1.5_22.log Build URL: http://beefy13.nyi.freebsd.org/build.html?mastername=130releng-i386-quarterly&build=567860 Log: =>> Building games/gracer build started at Tue Mar 9 02:27:56 UTC 2021 port directory: /usr/ports/games/gracer package name: gracer-0.1.5_22 building for: FreeBSD 130releng-i386-quarterly-job-01 13.0-RC1 FreeBSD 13.0-RC1 1300139 i386 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: 1400000 Jail OSVERSION: 1300139 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300139 UNAME_v=FreeBSD 13.0-RC1 1300139 UNAME_r=13.0-RC1 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-i386-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/130releng-i386-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=130releng-i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/130releng-i386-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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /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: i386-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: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-RC1 OSREL=13.0 OSVERSION=1300139 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=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) 524288 stack size (kbytes, -s) 65536 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-i386-quarterly-job-01] Installing pkg-1.16.3... [130releng-i386-quarterly-job-01] 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 the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla <snip> ar cru libcommon.a gr_ac3d.o gr_angle.o gr_boundary.o gr_course.o gr_debug.o gr_matrix.o gr_memory.o gr_physics.o gr_plane.o gr_quat.o gr_scene.o gr_texture.o gr_vertex.o ranlib libcommon.a gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/common' Making all in ac2scene gmake[3]: Entering directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/ac2scene' cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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 ac2scene.c ac2scene.c:100:11: warning: 4 enumeration values not handled in switch: 'GR_SCENE_OPT_TRIANGLE_FAN_START', 'GR_SCENE_OPT_TRIANGLE_FAN_LOOP', 'GR_SCENE_OPT_QUAD_STRIP_START'... [-Wswitch] switch (hint->state) { ^ ac2scene.c:178:11: warning: 5 enumeration values not handled in switch: 'GR_SCENE_OPT_TRIANGLE_STRIP_START', 'GR_SCENE_OPT_TRIANGLE_STRIP_LEFT', 'GR_SCENE_OPT_TRIANGLE_STRIP_RIGHT'... [-Wswitch] switch (hint->state) { ^ ac2scene.c:248:11: warning: 5 enumeration values not handled in switch: 'GR_SCENE_OPT_TRIANGLE_STRIP_START', 'GR_SCENE_OPT_TRIANGLE_STRIP_LEFT', 'GR_SCENE_OPT_TRIANGLE_STRIP_RIGHT'... [-Wswitch] switch (hint->state) { ^ 3 warnings generated. /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -Wall -fstack-protector-strong -o ac2scene ac2scene.o ../common/libcommon.a -L/usr/local/lib -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lgif -ljpeg -lpng -lm -L/usr/local/lib mkdir .libs cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -Wall -fstack-protector-strong -o ac2scene ac2scene.o ../common/libcommon.a -L/usr/local/lib -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lgif -ljpeg -lpng -lm -L/usr/local/lib gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/ac2scene' Making all in ac2course gmake[3]: Entering directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/ac2course' cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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 ac2course.c /bin/sh ../libtool --mode=link cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -Wall -fstack-protector-strong -o ac2course ac2course.o ../common/libcommon.a -lm -L/usr/local/lib mkdir .libs cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g -Wall -fstack-protector-strong -o ac2course ac2course.o ../common/libcommon.a -lm -L/usr/local/lib gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/ac2course' Making all in src gmake[3]: Entering directory '/wrkdirs/usr/ports/games/gracer/work/gracer-0.1.5/src' 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 glbind.c glbind.c:105:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = Tcl_GetStringResult (main_interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:120:10: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return Tcl_GetStringResult (main_interp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:144:8: warning: address of 'entry' will always evaluate to 'true' [-Wpointer-bool-conversion] if (&entry) ~~ ^~~~~ glbind.c:700:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:706:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] filename = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:760:7: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:816:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] filename = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glbind.c:820:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] filename = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^ 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); ^ 11 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 glutwidgets.c 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 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 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:834:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = Tcl_GetStringResult (interp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 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 gr_world.c 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 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 /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' *** 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?202103090228.1292SIGZ083196>