[package - head-amd64-default][games/dangerdeep] Failed for dangerdeep-0.3.0_14 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Feb 8 20:51:39 UTC 2018
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 at FreeBSD.org
Last committer: mat at FreeBSD.org
Ident: $FreeBSD: head/games/dangerdeep/Makefile 450351 2017-09-22 10:48:28Z mat $
Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461193_s329007/logs/dangerdeep-0.3.0_14.log
Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461193_s329007
Log:
=>> Building games/dangerdeep
build started at Thu Feb 8 20:50:28 UTC 2018
port directory: /usr/ports/games/dangerdeep
package name: dangerdeep-0.3.0_14
building for: FreeBSD head-amd64-default-job-03 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/games/dangerdeep/Makefile 450351 2017-09-22 10:48:28Z mat $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 03
!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-48-gf881e389
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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 dangerdeep-0.3.0_14:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
ports at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/dangerdeep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dangerdeep/work HOME=/wrkdirs/usr/ports/games/dangerdeep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dangerdeep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh SDL_CONFIG=/usr/local/bin/sdl-config
--End CONFIGURE_ENV--
--MAKE_ENV--
X11BASE=/usr/local XDG_DATA_HOME=/wrkdirs/usr/ports/games/dangerdeep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/dangerdeep/work HOME=/wrkdirs/usr/ports/games/dangerdeep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/dangerdeep/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 SDL_CONFIG=/usr/local/bin/sdl-config PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dangerdeep" EXAMPLESDIR="share/examples/dangerdeep" DATADIR="share/dangerdeep" WWWDIR="www/dangerdeep" ETCDIR="etc/dangerdeep"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dangerdeep DOCSDIR=/usr/local/share/doc/dangerdeep EXAMPLESDIR=/usr/local/share/examples/dangerdeep WWWDIR=/usr/local/www/dangerdeep ETCDIR=/usr/local/etc/dangerdeep
--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 ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=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) 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 dangerdeep 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
===========================================================================
=======================<phase: pkg-depends >============================
===> dangerdeep-0.3.0_14 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-03] Installing pkg-1.10.4...
[head-amd64-default-job-03] Extracting pkg-1.10.4: .......... done
===> dangerdeep-0.3.0_14 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of dangerdeep-0.3.0_14
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> NOTICE:
The dangerdeep 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
===> Fetching all distfiles required by dangerdeep-0.3.0_14 for building
===========================================================================
=======================<phase: checksum >============================
===> NOTICE:
The dangerdeep 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
===> Fetching all distfiles required by dangerdeep-0.3.0_14 for building
=> SHA256 Checksum OK for dangerdeep/dangerdeep-0.3.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> NOTICE:
The dangerdeep 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:
<snip>
===> NOTICE:
The sdl_image 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
===> dangerdeep-0.3.0_14 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so)
===> Returning to build of dangerdeep-0.3.0_14
===> dangerdeep-0.3.0_14 depends on shared library: libSDL_net.so - not found
===> Installing existing package /packages/All/sdl_net-1.2.8_3.txz
[head-amd64-default-job-03] Installing sdl_net-1.2.8_3...
[head-amd64-default-job-03] Extracting sdl_net-1.2.8_3: ......... done
Message from sdl_net-1.2.8_3:
===> NOTICE:
The sdl_net 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
===> dangerdeep-0.3.0_14 depends on shared library: libSDL_net.so - found (/usr/local/lib/libSDL_net.so)
===> Returning to build of dangerdeep-0.3.0_14
===========================================================================
=======================<phase: configure >============================
===> Configuring for dangerdeep-0.3.0_14
===========================================================================
=======================<phase: build >============================
===> Building for dangerdeep-0.3.0_14
scons: Reading SConscript files ...
Compiling for FreeBSD Environment
Found GL library "/usr/local/lib/libGL.so"
Install binary path: /usr/local/bin
Using data dir: /usr/local/share/dangerdeep
Checking for C library GL... yes
Checking for C library GLU... yes
Checking for C library SDL... yes
Checking for C library SDL_image... yes
Checking for C library SDL_net... yes
Checking for C library SDL_mixer... yes
Checking for C library fftw3... yes
Checking for C library fftw3f... no
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/wrkdirs/usr/ports/games/dangerdeep/work/dangerdeep-0.3.0/SConstruct", line 277, in <module>
scons: warning: BuildDir() and the build_dir keyword have been deprecated;
use VariantDir() and the variant_dir keyword instead.
File "/wrkdirs/usr/ports/games/dangerdeep/work/dangerdeep-0.3.0/SConstruct", line 279, in <module>
scons: done reading SConscript files.
scons: Building targets ...
c++ -o build/freebsd/subsim.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/subsim.cpp
In file included from src/subsim.cpp:46:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/ai.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/ai.cpp
In file included from src/ai.cpp:29:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/airplane.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/airplane.cpp
In file included from src/airplane.cpp:26:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
src/airplane.cpp:32:15: warning: base class 'sea_object' is uninitialized when used here to access 'sea_object::gm' [-Wuninitialized]
: sea_object(gm, parent), rollfac(0), pitchfac(0)
^
3 warnings generated.
c++ -o build/freebsd/cfg.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/cfg.cpp
In file included from src/cfg.cpp:26:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/coastmap.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/coastmap.cpp
In file included from src/coastmap.cpp:31:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/condvar.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/condvar.cpp
c++ -o build/freebsd/convoy.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/convoy.cpp
In file included from src/convoy.cpp:29:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/countrycodes.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/countrycodes.cpp
c++ -o build/freebsd/credits.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/credits.cpp
In file included from src/credits.cpp:27:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/date.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/date.cpp
c++ -o build/freebsd/daysky.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/daysky.cpp
In file included from src/daysky.cpp:20:
In file included from src/daysky.h:24:
src/tone_reproductor.h:77:54: warning: assigning field to itself [-Wself-assign-field]
void set_max_display_luminance(float _MaxdL) {MaxdL = MaxdL;}
^
1 warning generated.
c++ -o build/freebsd/depth_charge.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/depth_charge.cpp
In file included from src/depth_charge.cpp:24:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
2 warnings generated.
c++ -o build/freebsd/event.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/event.cpp
c++ -o build/freebsd/freeview_display.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/GL src/freeview_display.cpp
In file included from src/freeview_display.cpp:39:
src/global_data.h:132:81: warning: for loop has empty body [-Wempty-body]
inline unsigned ulog2(unsigned x) { unsigned i = 0; for ( ; x > 0; ++i, x >>= 1); return i - 1; }
^
src/global_data.h:132:81: note: put the semicolon on a separate line to silence this warning
src/global_data.h:133:93: warning: for loop has empty body [-Wempty-body]
inline unsigned nextgteqpow2(unsigned x) { unsigned i = 1; for ( ; i < x && i != 0; i <<= 1); return i; }
^
src/global_data.h:133:93: note: put the semicolon on a separate line to silence this warning
src/freeview_display.cpp:344:27: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
src/freeview_display.cpp:344:27: note: insert an explicit cast to silence this issue
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
static_cast<GLfloat>( )
src/freeview_display.cpp:344:37: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
src/freeview_display.cpp:344:37: note: insert an explicit cast to silence this issue
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
static_cast<GLfloat>( )
src/freeview_display.cpp:344:47: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
src/freeview_display.cpp:344:47: note: insert an explicit cast to silence this issue
GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f };
^~~~~~~~
static_cast<GLfloat>( )
2 warnings and 3 errors generated.
scons: *** [build/freebsd/freeview_display.o] Error 1
scons: building terminated because of errors.
*** Error code 1
Stop.
make: stopped in /usr/ports/games/dangerdeep
More information about the freebsd-pkg-fallout
mailing list