Date: Sat, 19 Sep 2020 15:24:20 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][games/gracer] Failed for gracer-0.1.5_22 in build Message-ID: <202009191524.08JFOKKD043568@beefy8.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: head/games/gracer/Makefile 516845 2019-11-05 22:16:14Z zeising $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p548810_s365826/logs/gracer-0.1.5_22.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p548810_s365826 Log: =>> Building games/gracer build started at Sat Sep 19 15:23:17 UTC 2020 port directory: /usr/ports/games/gracer package name: gracer-0.1.5_22 building for: FreeBSD head-armv6-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300115 arm maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/gracer/Makefile 516845 2019-11-05 22:16:14Z zeising $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300115 Job Id: 06 !!! Jail is newer than host. (Jail: 1300115, Host: 1300100) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1300115 UNAME_v=FreeBSD 13.0-CURRENT 1300115 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/include/tcl8.6 -isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="/nxb-bin/usr/bin/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_IN STALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.0 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--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv6 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_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300115 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--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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) 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.15.4.txz [head-armv6-default-job-06] Installing pkg-1.15.4... [head-armv6-default-job-06] Extracting pkg-1.15.4: .......... done ===> gracer-0.1.5_22 depends on file: /usr/local/sbin/pkg - found <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' /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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' /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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' /nxb-bin/usr/bin/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:1309: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. /nxb-bin/usr/bin/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. /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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. /nxb-bin/usr/bin/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. /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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. /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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?202009191524.08JFOKKD043568>