Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 20:39:47 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][games/dangerdeep] Failed for dangerdeep-0.3.0_14 in build
Message-ID:  <201805222039.w4MKdlWp090162@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: mat@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/p470591_s333820/logs/dangerdeep-0.3.0_14.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p470591_s333820
Log:

=>> Building games/dangerdeep
build started at Tue May 22 20:38:35 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 1200063 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/dangerdeep/Makefile 450351 2017-09-22 10:48:28Z mat $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200062
Jail OSVERSION: 1200063
Job Id: 03




!!! Jail is newer than host. (Jail: 1200063, Host: 1200062) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200063
UNAME_v=FreeBSD 12.0-CURRENT 1200063
UNAME_r=12.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.6-3-g832b198d
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 dangerdeep-0.3.0_14:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@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  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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200063
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
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)  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.5_1.txz
[head-amd64-default-job-03] Installing pkg-1.10.5_1...
[head-amd64-default-job-03] Extracting pkg-1.10.5_1: .......... 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:

<snip>

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_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of dangerdeep-0.3.0_14
===>   dangerdeep-0.3.0_14 depends on shared library: libSDL_image.so - not found
===>   Installing existing package /packages/All/sdl_image-1.2.12_11.txz
[head-amd64-default-job-03] Installing sdl_image-1.2.12_11...
[head-amd64-default-job-03] `-- Installing jpeg-turbo-1.5.3...
[head-amd64-default-job-03] `-- Extracting jpeg-turbo-1.5.3: .......... done
[head-amd64-default-job-03] `-- Installing png-1.6.34...
[head-amd64-default-job-03] `-- Extracting png-1.6.34: .......... done
[head-amd64-default-job-03] `-- Installing tiff-4.0.9_1...
[head-amd64-default-job-03] |   `-- Installing jbigkit-2.1_1...
[head-amd64-default-job-03] |   `-- Extracting jbigkit-2.1_1: .......... done
[head-amd64-default-job-03] `-- Extracting tiff-4.0.9_1: .......... done
[head-amd64-default-job-03] `-- Installing webp-1.0.0...
[head-amd64-default-job-03] |   `-- Installing giflib-5.1.4...
[head-amd64-default-job-03] |   `-- Extracting giflib-5.1.4: .......... done
[head-amd64-default-job-03] `-- Extracting webp-1.0.0: .......... done
[head-amd64-default-job-03] Extracting sdl_image-1.2.12_11: .......... done
===>   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
===>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805222039.w4MKdlWp090162>