[package - head-amd64-default][games/spacezero] Failed for spacezero-0.86.00 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Sun Sep 13 14:59:18 UTC 2020
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: amdmi3 at FreeBSD.org
Last committer: tobik at FreeBSD.org
Ident: $FreeBSD: head/games/spacezero/Makefile 528750 2020-03-19 23:02:30Z tobik $
Log URL: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p548441_s365678/logs/spacezero-0.86.00.log
Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p548441_s365678
Log:
=>> Building games/spacezero
build started at Sun Sep 13 14:58:48 UTC 2020
port directory: /usr/ports/games/spacezero
package name: spacezero-0.86.00
building for: FreeBSD head-amd64-default-job-09 13.0-CURRENT FreeBSD 13.0-CURRENT 1300114 amd64
maintained by: amdmi3 at FreeBSD.org
Makefile ident: $FreeBSD: head/games/spacezero/Makefile 528750 2020-03-19 23:02:30Z tobik $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300114
Job Id: 09
!!! Jail is newer than host. (Jail: 1300114, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300114
UNAME_v=FreeBSD 13.0-CURRENT 1300114
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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---
===> The following configuration options are available for spacezero-0.86.00:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
amdmi3 at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/spacezero/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacezero/work HOME=/wrkdirs/usr/ports/games/spacezero/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacezero/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/spacezero/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spacezero/work HOME=/wrkdirs/usr/ports/games/spacezero/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spacezero/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lX11 -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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--
PORTDOCS="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spacezero" EXAMPLESDIR="share/examples/spacezero" DATADIR="share/spacezero" WWWDIR="www/spacezero" ETCDIR="etc/spacezero"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spacezero DOCSDIR=/usr/local/share/doc/spacezero EXAMPLESDIR=/usr/local/share/examples/spacezero WWWDIR=/usr/local/www/spacezero ETCDIR=/usr/local/etc/spacezero
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: x86_64-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" "-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.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300114
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 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 GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> spacezero-0.86.00 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.15.4.txz
[head-amd64-default-job-09] Installing pkg-1.15.4...
[head-amd64-default-job-09] Extracting pkg-1.15.4: .......... done
===> spacezero-0.86.00 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of spacezero-0.86.00
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacezero-0.86.00 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacezero-0.86.00 for building
=> SHA256 Checksum OK for spacezero-0.86.00.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by spacezero-0.86.00 for building
===> Extracting for spacezero-0.86.00
=> SHA256 Checksum OK for spacezero-0.86.00.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for spacezero-0.86.00
===> Applying FreeBSD patches for spacezero-0.86.00 from /usr/ports/games/spacezero/files
===========================================================================
=======================<phase: build-depends >============================
===> spacezero-0.86.00 depends on package: pkgconf>=1.3.0_1 - not found
===> Installing existing package /packages/All/pkgconf-1.7.3,1.txz
[head-amd64-default-job-09] Installing pkgconf-1.7.3,1...
[head-amd64-default-job-09] Extracting pkgconf-1.7.3,1: .......... done
===> spacezero-0.86.00 depends on package: pkgconf>=1.3.0_1 - found
===> Returning to build of spacezero-0.86.00
===> spacezero-0.86.00 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
<snip>
./src/objects.c:2102:18: note: use '=' to turn this equality comparison into an assignment
if((obj2->player==0) ){ /* Inexplore Planet */
^~
=
./src/objects.c:2116:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((players[obj2->player].team==players[player].team) ){ /* Ally Planet */
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./src/objects.c:2116:32: note: remove extraneous parentheses around the comparison to silence this warning
if((players[obj2->player].team==players[player].team) ){ /* Ally Planet */
~ ^ ~
./src/objects.c:2116:32: note: use '=' to turn this equality comparison into an assignment
if((players[obj2->player].team==players[player].team) ){ /* Ally Planet */
^~
=
--- ./src/spacezero.o ---
./src/spacezero.c:2720:24: warning: self-comparison always evaluates to true [-Wtautological-compare]
if(obj1->habitat==obj1->habitat){
^
./src/spacezero.c:3570:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
x=x0+6*rg*(float)rand()/RAND_MAX-3*rg;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/spacezero.c:3571:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
y=y0+6*rg*(float)rand()/RAND_MAX-3*rg;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/spacezero.c:3583:18: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
r=(float)rand()/RAND_MAX;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
--- ./src/objects.o ---
12 warnings generated.
--- ./src/ai.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/ai.c -o ./src/ai.o
--- ./src/spacezero.o ---
4 warnings generated.
--- ./src/save.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/save.c -o ./src/save.o
--- ./src/ai.o ---
./src/ai.c:1588:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((player->team==players[planetdest->player].team) ) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/ai.c:1588:24: note: remove extraneous parentheses around the comparison to silence this warning
if((player->team==players[planetdest->player].team) ) {
~ ^ ~
./src/ai.c:1588:24: note: use '=' to turn this equality comparison into an assignment
if((player->team==players[planetdest->player].team) ) {
^~
=
./src/ai.c:3084:59: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
if((((obj->level+0.5)/3.)*gnplanets)*((float)rand()/RAND_MAX)<1){
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/ai.c:4180:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((players[planet->player].team==players[ccdata->player].team)){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/ai.c:4180:39: note: remove extraneous parentheses around the comparison to silence this warning
if((players[planet->player].team==players[ccdata->player].team)){
~ ^ ~
./src/ai.c:4180:39: note: use '=' to turn this equality comparison into an assignment
if((players[planet->player].team==players[ccdata->player].team)){
^~
=
./src/ai.c:4256:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((players[ls->obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/ai.c:4256:40: note: remove extraneous parentheses around the comparison to silence this warning
if((players[ls->obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
~ ^ ~
./src/ai.c:4256:40: note: use '=' to turn this equality comparison into an assignment
if((players[ls->obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
^~
=
./src/ai.c:4348:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((players[obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/ai.c:4348:34: note: remove extraneous parentheses around the comparison to silence this warning
if((players[obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
~ ^ ~
./src/ai.c:4348:34: note: use '=' to turn this equality comparison into an assignment
if((players[obj->player].team==players[ccdata->player].team)){ls=ls->next;continue;}
^~
=
--- ./src/save.o ---
./src/save.c:257:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
control=((float)rand()/RAND_MAX);
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/save.c:1103:21: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
obj->ai,modified,ttl,obj->habitat,obj->mode);
^~~
2 warnings generated.
--- ./src/shell.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/shell.c -o ./src/shell.o
--- ./src/ai.o ---
5 warnings generated.
--- ./src/spacecomm.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/spacecomm.c -o ./src/spacecomm.o
--- ./src/help.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/help.c -o ./src/help.o
--- ./src/comm.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/comm.c -o ./src/comm.o
--- ./src/graphics.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/graphics.c -o ./src/graphics.o
--- ./src/functions.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/functions.c -o ./src/functions.o
./src/functions.c:55:31: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
rtable[i]=(float)rand()/RAND_MAX;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
1 warning generated.
--- ./src/data.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/data.c -o ./src/data.o
--- ./src/menu.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/menu.c -o ./src/menu.o
./src/menu.c:1137:20: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if(param.sound<0 && param.sound>1){
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
./src/menu.c:1132:20: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if(param.music<0 && param.music>1){
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
--- ./src/sectors.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/sectors.c -o ./src/sectors.o
--- ./src/menu.o ---
2 warnings generated.
--- ./src/clock.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/clock.c -o ./src/clock.o
--- ./src/statistics.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/statistics.c -o ./src/statistics.o
--- ./src/randomnamegen.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/randomnamegen.c -o ./src/randomnamegen.o
--- ./src/locales.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/locales.c -o ./src/locales.o
--- ./src/players.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/players.c -o ./src/players.o
--- ./src/snow.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/snow.c -o ./src/snow.o
--- ./src/sound.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/sound.c -o ./src/sound.o
--- ./src/snow.o ---
./src/snow.c:51:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
flakes[i].x= ((float)w*rand())/RAND_MAX;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/snow.c:52:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
flakes[i].y= ((float)h*rand())/RAND_MAX;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
./src/snow.c:73:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
wind=(mxwind*rand())/RAND_MAX-mxwind/2;
~^~~~~~~~
/usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX'
#define RAND_MAX 0x7fffffff
^~~~~~~~~~
3 warnings generated.
--- ./src/streamsound.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic -I./include -DDATADIR=\"/usr/local/share/spacezero\" -DINSTALL_DATA_DIR=\"/usr/local/share/spacezero\" `pkg-config --cflags gtk+-2.0` -c ./src/streamsound.c -o ./src/streamsound.o
--- spacezero ---
cc ./src/spacezero.o ./src/objects.o ./src/ai.o ./src/save.o ./src/shell.o ./src/spacecomm.o ./src/help.o ./src/comm.o ./src/graphics.o ./src/functions.o ./src/data.o ./src/menu.o ./src/sectors.o ./src/clock.o ./src/statistics.o ./src/randomnamegen.o ./src/locales.o ./src/players.o ./src/snow.o ./src/sound.o ./src/streamsound.o -lX11 -fstack-protector-strong -lm -lpthread -lopenal -lalut -lvorbisfile `pkg-config --libs gtk+-2.0` -o ./bin/spacezero
ld: error: duplicate symbol: listheadtext
>>> defined at spacezero.c
>>> ./src/spacezero.o:(listheadtext)
>>> defined at spacecomm.c
>>> ./src/spacecomm.o:(.bss+0x160)
ld: error: duplicate symbol: flakes
>>> defined at spacezero.c
>>> ./src/spacezero.o:(flakes)
>>> defined at snow.c
>>> ./src/snow.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [spacezero] Error code 1
make[1]: stopped in /wrkdirs/usr/ports/games/spacezero/work/spacezero
1 error
make[1]: stopped in /wrkdirs/usr/ports/games/spacezero/work/spacezero
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/games/spacezero
More information about the freebsd-pkg-fallout
mailing list