Date: Wed, 26 Aug 2020 23:33:30 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][games/freedroid] Failed for freedroid-1.0.2_19 in build Message-ID: <202008262333.07QNXU8d057075@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: kevinz5000@gmail.com Last committer: tobik@FreeBSD.org Ident: $FreeBSD: head/games/freedroid/Makefile 517046 2019-11-08 10:47:01Z tobik $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p546132_s364744/logs/freedroid-1.0.2_19.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p546132_s364744 Log: =>> Building games/freedroid build started at Wed Aug 26 23:32:44 UTC 2020 port directory: /usr/ports/games/freedroid package name: freedroid-1.0.2_19 building for: FreeBSD head-armv6-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300111 arm maintained by: kevinz5000@gmail.com Makefile ident: $FreeBSD: head/games/freedroid/Makefile 517046 2019-11-08 10:47:01Z tobik $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300111 Job Id: 06 !!! Jail is newer than host. (Jail: 1300111, 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=1300111 UNAME_v=FreeBSD 13.0-CURRENT 1300111 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-- kevinz5000@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --program-transform-name= --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/freedroid/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/freedroid/work HOME=/wrkdirs/usr/ports/games/freedroid/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/freedroid/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/freedroid/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/freedroid/work HOME=/wrkdirs/usr/ports/games/freedroid/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/freedroid/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 -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " 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="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/freedroid" EXAMPLESDIR="share/examples/freedroid" DATADIR="share/freedroid" WWWDIR="www/freedroid" ETCDIR="etc/freedroid" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/freedroid DOCSDIR=/usr/local/share/doc/freedroid EXAMPLESDIR=/usr/local/share/examples/freedroid WWWDIR=/usr/local/www/freedroid ETCDIR=/usr/local/etc/freedroid --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-0-g414f32a9e86) 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-0-g414f32a9e86) 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-0-g414f32a9e86) 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=1300111 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 >============================ ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> freedroid-1.0.2_19 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.14.7.txz [head-armv6-default-job-06] Installing pkg-1.14.7... [head-armv6-default-job-06] Extracting pkg-1.14.7: .......... done ===> freedroid-1.0.2_19 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of freedroid-1.0.2_19 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by freedroid-1.0.2_19 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by freedroid-1.0.2_19 for building => SHA256 Checksum OK for freedroid-1.0.2.tar.gz. <snip> checking for unistd.h... (cached) yes checking for dirent.h... (cached) yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for memset... (cached) yes checking for sqrt... yes checking for strstr... (cached) yes checking for strtok... yes checking for strcspn... (cached) yes checking for strspn... yes checking for rand... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =======================<phase: build >============================ ===> Building for freedroid-1.0.2_19 /nxb-bin/usr/bin/make all-recursive Making all in src source='menu.c' object='menu.o' libtool=no depfile='.deps/menu.Po' tmpdepfile='.deps/menu.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'menu.c' || echo './'`menu.c source='graphics.c' object='graphics.o' libtool=no depfile='.deps/graphics.Po' tmpdepfile='.deps/graphics.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'graphics.c' || echo './'`graphics.c source='map.c' object='map.o' libtool=no depfile='.deps/map.Po' tmpdepfile='.deps/map.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'map.c' || echo './'`map.c map.c:1324:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] xdist = abs (AllEnemys[j].pos.x - doorx); ^ map.c:1324:16: note: use function 'fabsf' instead xdist = abs (AllEnemys[j].pos.x - doorx); ^~~ fabsf map.c:1327:13: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] ydist = abs (AllEnemys[j].pos.y - doory); ^ map.c:1327:13: note: use function 'fabsf' instead ydist = abs (AllEnemys[j].pos.y - doory); ^~~ fabsf 2 warnings generated. source='init.c' object='init.o' libtool=no depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'init.c' || echo './'`init.c init.c:557:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (copyright); ^~~~~~~~~ init.c:557:12: note: treat the string as an argument to avoid this printf (copyright); ^ "%s", init.c:563:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf (usage_string); ^~~~~~~~~~~~ init.c:563:12: note: treat the string as an argument to avoid this printf (usage_string); ^ "%s", init.c:1060:22: warning: if statement has empty body [-Wempty-body] if (FirePressedR()); ^ init.c:1060:22: note: put the semicolon on a separate line to silence this warning init.c:1082:22: warning: if statement has empty body [-Wempty-body] if (FirePressedR()); ^ init.c:1082:22: note: put the semicolon on a separate line to silence this warning 4 warnings generated. source='ship.c' object='ship.o' libtool=no depfile='.deps/ship.Po' tmpdepfile='.deps/ship.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'ship.c' || echo './'`ship.c source='takeover.c' object='takeover.o' libtool=no depfile='.deps/takeover.Po' tmpdepfile='.deps/takeover.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'takeover.c' || echo './'`takeover.c source='bullet.c' object='bullet.o' libtool=no depfile='.deps/bullet.Po' tmpdepfile='.deps/bullet.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'bullet.c' || echo './'`bullet.c bullet.c:75:29: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (CurBullet->type == OUT) ) ~~~~~~~~~~~~~~~~^~~~~~ bullet.c:75:29: note: remove extraneous parentheses around the comparison to silence this warning if ( (CurBullet->type == OUT) ) ~ ^ ~ bullet.c:75:29: note: use '=' to turn this equality comparison into an assignment if ( (CurBullet->type == OUT) ) ^~ = 1 warning generated. source='influ.c' object='influ.o' libtool=no depfile='.deps/influ.Po' tmpdepfile='.deps/influ.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'influ.c' || echo './'`influ.c influ.c:504:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] SX = abs (SX); ^ influ.c:504:9: note: use function 'fabsf' instead SX = abs (SX); ^~~ fabsf influ.c:520:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] SY = abs (SY); ^ influ.c:520:9: note: use function 'fabsf' instead SY = abs (SY); ^~~ fabsf influ.c:729:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs (xdist) > 1) ^ influ.c:729:11: note: use function 'fabsf' instead if (abs (xdist) > 1) ^~~ fabsf influ.c:731:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs (ydist) > 1) ^ influ.c:731:11: note: use function 'fabsf' instead if (abs (ydist) > 1) ^~~ fabsf 4 warnings generated. source='misc.c' object='misc.o' libtool=no depfile='.deps/misc.Po' tmpdepfile='.deps/misc.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'misc.c' || echo './'`misc.c misc.c:892:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, buffer); ^~~~~~ misc.c:892:24: note: treat the string as an argument to avoid this fprintf (stderr, buffer); ^ "%s", 1 warning generated. source='text.c' object='text.o' libtool=no depfile='.deps/text.Po' tmpdepfile='.deps/text.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'text.c' || echo './'`text.c source='sound.c' object='sound.o' libtool=no depfile='.deps/sound.Po' tmpdepfile='.deps/sound.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'sound.c' || echo './'`sound.c source='enemy.c' object='enemy.o' libtool=no depfile='.deps/enemy.Po' tmpdepfile='.deps/enemy.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'enemy.c' || echo './'`enemy.c enemy.c:315:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( abs(x1-x2) > abs (y1-y2) ) LargerDistance=fabsf(x1-x2); ^ enemy.c:315:8: note: use function 'fabsf' instead if ( abs(x1-x2) > abs (y1-y2) ) LargerDistance=fabsf(x1-x2); ^~~ fabsf enemy.c:315:21: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( abs(x1-x2) > abs (y1-y2) ) LargerDistance=fabsf(x1-x2); ^ enemy.c:315:21: note: use function 'fabsf' instead if ( abs(x1-x2) > abs (y1-y2) ) LargerDistance=fabsf(x1-x2); ^~~ fabsf 2 warnings generated. source='input.c' object='input.o' libtool=no depfile='.deps/input.Po' tmpdepfile='.deps/input.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'input.c' || echo './'`input.c source='main.c' object='main.o' libtool=no depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'main.c' || echo './'`main.c main.c:98:27: warning: if statement has empty body [-Wempty-body] if (FirePressedR()) ; ^ main.c:98:27: note: put the semicolon on a separate line to silence this warning 1 warning generated. source='view.c' object='view.o' libtool=no depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'view.c' || echo './'`view.c source='BFont.c' object='BFont.o' libtool=no depfile='.deps/BFont.Po' tmpdepfile='.deps/BFont.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'BFont.c' || echo './'`BFont.c source='SDL_rotozoom.c' object='SDL_rotozoom.o' libtool=no depfile='.deps/SDL_rotozoom.Po' tmpdepfile='.deps/SDL_rotozoom.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'SDL_rotozoom.c' || echo './'`SDL_rotozoom.c SDL_rotozoom.c:52:24: warning: implicit declaration of function 'MyMalloc' is invalid in C99 [-Wimplicit-function-declaration] if ((sax = (int *) MyMalloc((dst->w + 1) * sizeof(Uint32))) == NULL) { ^ SDL_rotozoom.c:227:27: warning: implicit declaration of function 'MyMalloc' is invalid in C99 [-Wimplicit-function-declaration] if ((sax = (Uint32 *) MyMalloc(dst->w * sizeof(Uint32))) == NULL) { ^ 2 warnings generated. source='highscore.c' object='highscore.o' libtool=no depfile='.deps/highscore.Po' tmpdepfile='.deps/highscore.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'highscore.c' || echo './'`highscore.c source='getopt.c' object='getopt.o' libtool=no depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'getopt.c' || echo './'`getopt.c source='getopt1.c' object='getopt1.o' libtool=no depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' depmode=gcc3 /bin/sh ../depcomp /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -c `test -f 'getopt1.c' || echo './'`getopt1.c /nxb-bin/usr/bin/cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DFD_DATADIR='"/usr/local/share/freedroid"' -fstack-protector-strong -o freedroid menu.o graphics.o map.o init.o ship.o takeover.o bullet.o influ.o misc.o text.o sound.o enemy.o input.o main.o view.o BFont.o SDL_rotozoom.o highscore.o getopt.o getopt1.o -lSDL_mixer -lSDL_image -lpng -lz -ljpeg -lm -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread ld: error: duplicate symbol: ConfigDir >>> defined at misc.c >>> misc.o:(ConfigDir) >>> defined at main.c >>> main.o:(.bss+0x6D40) ld: error: duplicate symbol: FPSover1 >>> defined at misc.c >>> misc.o:(FPSover1) >>> defined at main.c >>> main.o:(.bss+0x6E60) ld: error: duplicate symbol: FPSover10 >>> defined at misc.c >>> misc.o:(FPSover10) >>> defined at main.c >>> main.o:(.bss+0x6E64) ld: error: duplicate symbol: FPSover100 >>> defined at misc.c >>> misc.o:(FPSover100) >>> defined at main.c >>> main.o:(.bss+0x6E68) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/games/freedroid/work/freedroid-1.0.2/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/games/freedroid/work/freedroid-1.0.2 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/freedroid/work/freedroid-1.0.2 *** Error code 1 Stop. make: stopped in /usr/ports/games/freedroid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008262333.07QNXU8d057075>