[package - head-armv6-default][games/billardgl] Failed for billardgl-1.75_1 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Wed Feb 7 08:36:54 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: amdmi3 at FreeBSD.org
Last committer: rezny at FreeBSD.org
Ident: $FreeBSD: head/games/billardgl/Makefile 441503 2017-05-23 05:03:14Z rezny $
Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p461032_s328914/logs/billardgl-1.75_1.log
Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p461032_s328914
Log:
=>> Building games/billardgl
build started at Wed Feb 7 08:36:35 UTC 2018
port directory: /usr/ports/games/billardgl
package name: billardgl-1.75_1
building for: FreeBSD head-armv6-default-job-10 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm
maintained by: amdmi3 at FreeBSD.org
Makefile ident: $FreeBSD: head/games/billardgl/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.4-42-g98f2e28b
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 10
!!! 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
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
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-armv6-default/ref
QEMU_EMULATING=1
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-armv6-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-42-g98f2e28b
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 billardgl-1.75_1:
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--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/billardgl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/billardgl/work HOME=/wrkdirs/usr/ports/games/billardgl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/billardgl/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/billardgl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/billardgl/work HOME=/wrkdirs/usr/ports/games/billardgl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/billardgl/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 LIBDIR="/usr/lib" CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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/billardgl" EXAMPLESDIR="share/examples/billardgl" DATADIR="share/billardgl" WWWDIR="www/billardgl" ETCDIR="etc/billardgl"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/billardgl DOCSDIR=/usr/local/share/doc/billardgl EXAMPLESDIR=/usr/local/share/examples/billardgl WWWDIR=/usr/local/www/billardgl ETCDIR=/usr/local/etc/billardgl
--End SUB_LIST--
---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=armv6
CONFIGURE_MAX_CMD_LEN=262144
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> billardgl-1.75_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.4.txz
[head-armv6-default-job-10] Installing pkg-1.10.4...
[head-armv6-default-job-10] Extracting pkg-1.10.4: .......... done
===> billardgl-1.75_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of billardgl-1.75_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by billardgl-1.75_1 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by billardgl-1.75_1 for building
=> SHA256 Checksum OK for BillardGL-1.75.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by billardgl-1.75_1 for building
===> Extracting for billardgl-1.75_1
=> SHA256 Checksum OK for BillardGL-1.75.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for billardgl-1.75_1
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for billardgl-1.75_1
===========================================================================
=======================<phase: build-depends >============================
===> billardgl-1.75_1 depends on file: /usr/local/lib/libGL.so - not found
<snip>
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===> Returning to build of billardgl-1.75_1
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - not found
===> Installing existing package /packages/All/dri3proto-1.0.txz
[head-armv6-default-job-10] Installing dri3proto-1.0...
[head-armv6-default-job-10] Extracting dri3proto-1.0: ...... done
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===> Returning to build of billardgl-1.75_1
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found
===> Installing existing package /packages/All/libXmu-1.1.2_3,1.txz
[head-armv6-default-job-10] Installing libXmu-1.1.2_3,1...
[head-armv6-default-job-10] `-- Installing libXt-1.1.5,1...
[head-armv6-default-job-10] | `-- Installing libSM-1.2.2_3,1...
[head-armv6-default-job-10] | | `-- Installing libICE-1.0.9_1,1...
[head-armv6-default-job-10] | | `-- Extracting libICE-1.0.9_1,1: .......... done
[head-armv6-default-job-10] | `-- Extracting libSM-1.2.2_3,1: .......... done
[head-armv6-default-job-10] `-- Extracting libXt-1.1.5,1: .......... done
[head-armv6-default-job-10] Extracting libXmu-1.1.2_3,1: .......... done
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===> Returning to build of billardgl-1.75_1
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found
===> Installing existing package /packages/All/libXi-1.7.9,1.txz
[head-armv6-default-job-10] Installing libXi-1.7.9,1...
[head-armv6-default-job-10] `-- Installing inputproto-2.3.2...
[head-armv6-default-job-10] `-- Extracting inputproto-2.3.2: ........ done
[head-armv6-default-job-10] Extracting libXi-1.7.9,1: .......... done
===> billardgl-1.75_1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===> Returning to build of billardgl-1.75_1
===========================================================================
=======================<phase: lib-depends >============================
===> billardgl-1.75_1 depends on shared library: libGLU.so - not found
===> Installing existing package /packages/All/libGLU-9.0.0_3.txz
[head-armv6-default-job-10] Installing libGLU-9.0.0_3...
[head-armv6-default-job-10] Extracting libGLU-9.0.0_3: ...... done
===> billardgl-1.75_1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===> Returning to build of billardgl-1.75_1
===> billardgl-1.75_1 depends on shared library: libglut.so - not found
===> Installing existing package /packages/All/freeglut-3.0.0_1.txz
[head-armv6-default-job-10] Installing freeglut-3.0.0_1...
[head-armv6-default-job-10] `-- Installing libXrandr-1.5.1...
[head-armv6-default-job-10] | `-- Installing libXrender-0.9.10...
[head-armv6-default-job-10] | | `-- Installing renderproto-0.11.1...
[head-armv6-default-job-10] | | `-- Extracting renderproto-0.11.1: .... done
[head-armv6-default-job-10] | `-- Extracting libXrender-0.9.10: .......... done
[head-armv6-default-job-10] | `-- Installing randrproto-1.5.0...
[head-armv6-default-job-10] | `-- Extracting randrproto-1.5.0: .... done
[head-armv6-default-job-10] `-- Extracting libXrandr-1.5.1: .......... done
[head-armv6-default-job-10] Extracting freeglut-3.0.0_1: .......... done
Message from freeglut-3.0.0_1:
Joystick support is untested and it is unknown if it works.
Do not hesitate to contact x11 at FreeBSD.org if this causes issues.
===> billardgl-1.75_1 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so)
===> Returning to build of billardgl-1.75_1
===========================================================================
=======================<phase: configure >============================
===> Configuring for billardgl-1.75_1
===========================================================================
=======================<phase: build >============================
===> Building for billardgl-1.75_1
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Anzeige.o Anzeige.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Beleuchtung.o Beleuchtung.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Benutzerschnittstelle.o Benutzerschnittstelle.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o BillardGL.o BillardGL.cpp
BillardGL.cpp:38:9: warning: unknown pragma ignored [-Wunknown-pragmas]
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
^
1 warning generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Einsetzen.o Einsetzen.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Handling.o Handling.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Kamera.o Kamera.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o KommandoZeilenParameter.o KommandoZeilenParameter.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -Wall -W -DNO_DEBUG -I/usr/local/include -o Kugel.o Kugel.cpp
Kugel.cpp:422:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
Kugel.cpp:422:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:422:35: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
Kugel.cpp:422:35: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:422:52: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
Kugel.cpp:422:52: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/2.8575,neuPos[1]/2.8575,neuPos[2]/2.8575};
^~~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:427:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
Kugel.cpp:427:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:427:34: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
Kugel.cpp:427:34: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:427:50: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
Kugel.cpp:427:50: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,neuPos_z/2.8575};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:432:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,0.0};
^~~~~~~~~~~~~~~
Kugel.cpp:432:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,0.0};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:432:34: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,0.0};
^~~~~~~~~~~~~~~
Kugel.cpp:432:34: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/2.8575,neuPos_y/2.8575,0.0};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:452:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
Kugel.cpp:452:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:452:34: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
Kugel.cpp:452:34: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:452:50: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
Kugel.cpp:452:50: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos[0]/1.125,neuPos[1]/1.125,neuPos[2]/1.125};
^~~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:457:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
Kugel.cpp:457:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:457:33: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
Kugel.cpp:457:33: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:457:48: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
Kugel.cpp:457:48: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,neuPos_z/1.125};
^~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:462:18: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,0.0};
^~~~~~~~~~~~~~
Kugel.cpp:462:18: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,0.0};
^~~~~~~~~~~~~~
static_cast<GLfloat>( )
Kugel.cpp:462:33: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,0.0};
^~~~~~~~~~~~~~
Kugel.cpp:462:33: note: insert an explicit cast to silence this issue
GLfloat Pos[]={neuPos_x/1.125,neuPos_y/1.125,0.0};
^~~~~~~~~~~~~~
static_cast<GLfloat>( )
16 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/billardgl/work/BillardGL-1.75/src
*** Error code 1
Stop.
make: stopped in /usr/ports/games/billardgl
More information about the freebsd-pkg-fallout
mailing list