Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2018 09:17:50 GMT
From:      pkg-fallout@FreeBSD.org
To:        amdmi3@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][games/brainparty] Failed for brainparty-0.61_1 in build
Message-ID:  <201806100917.w5A9Hoqf066237@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:     amdmi3@FreeBSD.org
Last committer: rezny@FreeBSD.org
Ident:          $FreeBSD: head/games/brainparty/Makefile 441503 2017-05-23 05:03:14Z rezny $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p472032_s334863/logs/brainparty-0.61_1.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p472032_s334863
Log:

=>> Building games/brainparty
build started at Sun Jun 10 09:17:30 UTC 2018
port directory: /usr/ports/games/brainparty
package name: brainparty-0.61_1
building for: FreeBSD head-amd64-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200066 amd64
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/brainparty/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.7-1-g7087c444
Host OSVERSION: 1200062
Jail OSVERSION: 1200066
Job Id: 04




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200066
UNAME_v=FreeBSD 12.0-CURRENT 1200066
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.7-1-g7087c444
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 brainparty-0.61_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/brainparty/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/brainparty/work  HOME=/wrkdirs/usr/ports/games/brainparty/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/brainparty/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/brainparty/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/brainparty/work  HOME=/wrkdirs/usr/ports/games/brainparty/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/brainparty/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="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/brainparty"  EXAMPLESDIR="share/examples/brainparty"  DATADIR="share/brainparty"  WWWDIR="www/brainparty"  ETCDIR="etc/brainparty"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/brainparty DOCSDIR=/usr/local/share/doc/brainparty EXAMPLESDIR=/usr/local/share/examples/brainparty  WWWDIR=/usr/local/www/brainparty ETCDIR=/usr/local/etc/brainparty
--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=1200066
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   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   brainparty-0.61_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-amd64-default-job-04] Installing pkg-1.10.5_1...
[head-amd64-default-job-04] Extracting pkg-1.10.5_1: .......... done
===>   brainparty-0.61_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of brainparty-0.61_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by brainparty-0.61_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by brainparty-0.61_1 for building
=> SHA256 Checksum OK for brainparty0.61.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by brainparty-0.61_1 for building
===>  Extracting for brainparty-0.61_1
=> SHA256 Checksum OK for brainparty0.61.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for brainparty-0.61_1
===>  Applying FreeBSD patches for brainparty-0.61_1
===========================================================================
=======================<phase: build-depends  >============================
===>   brainparty-0.61_1 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-amd64-default-job-04] Installing sdl-1.2.15_10,2...
[head-amd64-default-job-04] `-- Installing aalib-1.4.r5_11...
[head-amd64-default-job-04] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-04] `-- Extracting aalib-1.4.r5_11: .......... done
[head-amd64-default-job-04] `-- Installing libGLU-9.0.0_3...
[head-amd64-default-job-04] |   `-- Installing mesa-libs-18.1.1...
<snip>
 compatible videocard is required).

 To do this you have to load the vesa kernel module or enable it in your
 kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
------------------------------------------------------------------------------
===>   brainparty-0.61_1 depends on file: /usr/local/bin/sdl-config - found
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[head-amd64-default-job-04] Installing gmake-4.2.1_2...
[head-amd64-default-job-04] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-04] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-04] Extracting gmake-4.2.1_2: .......... done
===>   brainparty-0.61_1 depends on executable: gmake - found
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on file: /usr/local/lib/libGL.so - found
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found
===>   Installing existing package /packages/All/glproto-1.4.17.txz
[head-amd64-default-job-04] Installing glproto-1.4.17...
[head-amd64-default-job-04] Extracting glproto-1.4.17: ......... done
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found
===>   Installing existing package /packages/All/dri2proto-2.8.txz
[head-amd64-default-job-04] Installing dri2proto-2.8...
[head-amd64-default-job-04] Extracting dri2proto-2.8: ....... done
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - not found
===>   Installing existing package /packages/All/dri3proto-1.0.txz
[head-amd64-default-job-04] Installing dri3proto-1.0...
[head-amd64-default-job-04] Extracting dri3proto-1.0: ...... done
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   brainparty-0.61_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   brainparty-0.61_1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===>   brainparty-0.61_1 depends on shared library: libSDL_mixer.so - not found
===>   Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz
[head-amd64-default-job-04] Installing sdl_mixer-1.2.12_12...
[head-amd64-default-job-04] `-- Installing flac-1.3.2...
[head-amd64-default-job-04] |   `-- Installing libogg-1.3.3,4...
[head-amd64-default-job-04] |   `-- Extracting libogg-1.3.3,4: .......... done
[head-amd64-default-job-04] `-- Extracting flac-1.3.2: .......... done
[head-amd64-default-job-04] `-- Installing libmikmod-3.3.11.1...
[head-amd64-default-job-04] `-- Extracting libmikmod-3.3.11.1: .......... done
[head-amd64-default-job-04] `-- Installing libvorbis-1.3.6,3...
[head-amd64-default-job-04] `-- Extracting libvorbis-1.3.6,3: .......... done
[head-amd64-default-job-04] `-- Installing smpeg-0.4.4_14...
[head-amd64-default-job-04] `-- Extracting smpeg-0.4.4_14: .......... done
[head-amd64-default-job-04] `-- Installing timidity-0.2i_1...
[head-amd64-default-job-04] `-- Extracting timidity-0.2i_1: .......... done
[head-amd64-default-job-04] Extracting sdl_mixer-1.2.12_12: ......... done
Message from timidity-0.2i_1:

===>   NOTICE:

The timidity 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
===>   brainparty-0.61_1 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on shared library: libSDL_ttf.so - not found
===>   Installing existing package /packages/All/sdl_ttf-2.0.11_7.txz
[head-amd64-default-job-04] Installing sdl_ttf-2.0.11_7...
[head-amd64-default-job-04] `-- Installing freetype2-2.9.1...
[head-amd64-default-job-04] `-- Extracting freetype2-2.9.1: .......... done
[head-amd64-default-job-04] Extracting sdl_ttf-2.0.11_7: .......... done
Message from freetype2-2.9.1:

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
===>   brainparty-0.61_1 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so)
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on shared library: libSDL_gfx.so - not found
===>   Installing existing package /packages/All/sdl_gfx-2.0.25_3.txz
[head-amd64-default-job-04] Installing sdl_gfx-2.0.25_3...
[head-amd64-default-job-04] Extracting sdl_gfx-2.0.25_3: .......... done
===>   brainparty-0.61_1 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so)
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 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-04] Installing sdl_image-1.2.12_11...
[head-amd64-default-job-04] `-- Installing jpeg-turbo-1.5.3...
[head-amd64-default-job-04] `-- Extracting jpeg-turbo-1.5.3: .......... done
[head-amd64-default-job-04] `-- Installing png-1.6.34...
[head-amd64-default-job-04] `-- Extracting png-1.6.34: .......... done
[head-amd64-default-job-04] `-- Installing tiff-4.0.9_1...
[head-amd64-default-job-04] |   `-- Installing jbigkit-2.1_1...
[head-amd64-default-job-04] |   `-- Extracting jbigkit-2.1_1: .......... done
[head-amd64-default-job-04] `-- Extracting tiff-4.0.9_1: .......... done
[head-amd64-default-job-04] `-- Installing webp-1.0.0...
[head-amd64-default-job-04] |   `-- Installing giflib-5.1.4...
[head-amd64-default-job-04] |   `-- Extracting giflib-5.1.4: .......... done
[head-amd64-default-job-04] `-- Extracting webp-1.0.0: .......... done
[head-amd64-default-job-04] Extracting sdl_image-1.2.12_11: .......... done
===>   brainparty-0.61_1 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so)
===>   Returning to build of brainparty-0.61_1
===>   brainparty-0.61_1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for brainparty-0.61_1
===========================================================================
=======================<phase: build          >============================
===>  Building for brainparty-0.61_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/brainparty/work/brainparty'
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -Wno-deprecated `sdl-config --cflags` -o minesweep.o minesweep.cpp
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -Wno-deprecated `sdl-config --cflags` -o flashlight.o flashlight.cpp
flashlight.cpp:156:10: warning: 13 enumeration values not handled in switch: 'SHOWING', 'GUESSING', 'PAUSING'... [-Wswitch]
        switch (GameState) {
                ^
1 warning generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -Wno-deprecated `sdl-config --cflags` -o shortcircuitsudoku.o shortcircuitsudoku.cpp
shortcircuitsudoku.cpp:109:10: warning: 12 enumeration values not handled in switch: 'SHOWING', 'GUESSING', 'PAUSING'... [-Wswitch]
        switch (GameState) {
                ^
1 warning generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -Wno-deprecated `sdl-config --cflags` -o BPGame.o BPGame.cpp
BPGame.cpp:378:11: warning: 13 enumeration values not handled in switch: 'FIRST_RUN', 'MAIN_MENU', 'ABOUT'... [-Wswitch]
                switch (GameState) {
                        ^
BPGame.cpp:508:10: warning: 14 enumeration values not handled in switch: 'FIRST_RUN', 'MAIN_MENU', 'ABOUT'... [-Wswitch]
        switch (GameState) {
                ^
BPGame.cpp:585:10: warning: enumeration values 'ABOUT' and 'STORE' not handled in switch [-Wswitch]
        switch (GameState) {
                ^
BPGame.cpp:868:10: warning: 29 enumeration values not handled in switch: 'FIRST_RUN', 'MAIN_MENU', 'ABOUT'... [-Wswitch]
        switch (GameState) {
                ^
BPGame.cpp:888:10: warning: 16 enumeration values not handled in switch: 'ABOUT', 'STORE', 'MAIN_MENU_PLAY'... [-Wswitch]
        switch (GameState) {
                ^
BPGame.cpp:1166:10: warning: 29 enumeration values not handled in switch: 'FIRST_RUN', 'MAIN_MENU', 'ABOUT'... [-Wswitch]
        switch (GameState) {
                ^
BPGame.cpp:1505:25: error: non-constant-expression cannot be narrowed from type 'int' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                               ^~~~~
BPGame.cpp:1505:25: note: insert an explicit cast to silence this issue
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                               ^~~~~
                               static_cast<GLfloat>( )
BPGame.cpp:1505:32: error: non-constant-expression cannot be narrowed from type 'int' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                      ^~~~~
BPGame.cpp:1505:32: note: insert an explicit cast to silence this issue
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                      ^~~~~
                                      static_cast<GLfloat>( )
BPGame.cpp:1505:39: error: non-constant-expression cannot be narrowed from type 'int' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                             ^~~
BPGame.cpp:1505:39: note: insert an explicit cast to silence this issue
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                             ^~~
                                             static_cast<GLfloat>( )
BPGame.cpp:1505:44: error: non-constant-expression cannot be narrowed from type 'int' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                                  ^~~
BPGame.cpp:1505:44: note: insert an explicit cast to silence this issue
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                                                  ^~~
                                                  static_cast<GLfloat>( )
BPGame.cpp:2136:10: warning: 26 enumeration values not handled in switch: 'FIRST_RUN', 'MAIN_MENU', 'ABOUT'... [-Wswitch]
        switch (state) {
                ^
7 warnings and 4 errors generated.
gmake[1]: *** [Makefile:29: BPGame.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/brainparty/work/brainparty'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/brainparty



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