From nobody Wed Apr 05 23:22:41 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PsLJf386Hz44KGN for ; Wed, 5 Apr 2023 23:22:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsLJf0kXhz3DYm for ; Wed, 5 Apr 2023 23:22:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680736962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=oilDEw48EwRsMd5k9QA3oVH++yO9mks7WV+ptWjrhbU=; b=V53IeMUFF/32vjcEMoZU3dOSIiyQXd+y+tRGReVXe9YjokOMhoBo0q0k66V2qVp3HwlryL apYoU/L4ouEBkxQB1txqnI3eTl5qL5BfyRE4YJhBUXvl2PF++gHq49/yJjCR/IWhZLWyWX XNkrjZlQRMNG0XN+Faya7JSSW8+CytKsAWUwPWiyttFl8xQwQLcdYQGjRfknZuyXOJNCGz 6tpV2oPB0UJ+gRuIlGQOtrHpwqeJD82ZKb3UuBrwGON4oDjUZmmO32C3BcS2ZrDzbKLEfX VuN2eCH7KtleWGBpnpw6Vops/wrLrWNvSjeAPfEoGtGT4lxcEgFI644q2QuZMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680736962; a=rsa-sha256; cv=none; b=QWweIrEHydGNY6xHa9mU8WJNd6u7RiBDLubw8uclPxa6+WaQXREIA0VRASZmJfUkFWIdfG Ew3lu68WHqmVdnq5Jn0NRExILV1L0zcu2IDakz0j6xqDhNOohisHOSJ17g2gtrRNzYkoHI Hir4xvf4rcZaXrMh8yhgo76+gvW3u9/EBCTjjQU9Ekgltje694Abc98IeTKHlcRY80RreK jxZAvJ0q8abbQCAPo47mV2QwvrW6y2yGQ65gPQJfirg9RAxclgprcFHwI7uA4Qn2Gl4eCs 0pdqYCIK2Ew4mVVSKAaO0ScOvM/3PP65FvbWV6yXAlwVt6QI3FYKJ+83x8/iKA== Received: from beefy5.nyi.freebsd.org (beefy5.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PsLJd6lpPzhcf for ; Wed, 5 Apr 2023 23:22:41 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy5.nyi.freebsd.org (localhost [127.0.0.1]) by beefy5.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 335NMfJ9039312 for ; Wed, 5 Apr 2023 23:22:41 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy5.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 335NMfxh039306; Wed, 5 Apr 2023 23:22:41 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 5 Apr 2023 23:22:41 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202304052322.335NMfxh039306@beefy5.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - 124i386-default][games/gracer] Failed for gracer-0.1.5_23 in build X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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 Log URL: https://pkg-status.freebsd.org/beefy5/data/124i386-default/41bf13d789a7/logs/gracer-0.1.5_23.log Build URL: https://pkg-status.freebsd.org/beefy5/build.html?mastername=124i386-default&build=41bf13d789a7 Log: =>> Building games/gracer build started at Wed Apr 5 23:22:15 UTC 2023 port directory: /usr/ports/games/gracer package name: gracer-0.1.5_23 building for: FreeBSD 124i386-default-job-10 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 i386 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1204000 Job Id: 10 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1204000 UNAME_v=FreeBSD 12.4-RELEASE-p2 UNAME_r=12.4-RELEASE-p2 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 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/124i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/124i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=124i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/124i386-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 --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 XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gracer/work/.cache 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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gracer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gracer/work/.cache 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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gracer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -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 " MANPR EFIX="/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="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=12.4 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 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_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=12.4-RELEASE-p2 OSREL=12.4 OSVERSION=1204000 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-- =================================================== ===> 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> gracer-0.1.5_23 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.1_1.pkg [124i386-default-job-10] Installing pkg-1.19.1_1... [124i386-default-job-10] Extracting pkg-1.19.1_1: .......... done ===> gracer-0.1.5_23 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gracer-0.1.5_23 =========================================================================== =================================================== =========================================================================== =================================================== ===> 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by gracer-0.1.5_23 for building =========================================================================== =================================================== ===> 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: 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 -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/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/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/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 gluttclwidgets.c:514:13: warning: variable 'root' set but not used [-Wunused-but-set-variable] GlutRoot *root; ^ gluttclwidgets.c:702:13: warning: variable 'root' set but not used [-Wunused-but-set-variable] GlutRoot *root; ^ gluttclwidgets.c:829:13: warning: variable 'root' set but not used [-Wunused-but-set-variable] GlutRoot *root; ^ 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glutgame.c:1967:13: warning: variable 'root' set but not used [-Wunused-but-set-variable] GlutRoot *root; ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/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 vehicle.c:752:16: warning: variable 'wd' set but not used [-Wunused-but-set-variable] GrWheelData *wd; ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -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/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/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/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 -ldl -lz -lpthread -lm -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 -ldl -lz -lpthread -lm -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