Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 10:37:57 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][x11-clocks/glclock] Failed for glclock-6.0.b6.0_6 in build
Message-ID:  <201806241037.w5OAbvhD031315@beefy11.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: rezny@FreeBSD.org
Ident:          $FreeBSD: head/x11-clocks/glclock/Makefile 441503 2017-05-23 05:03:14Z rezny $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p473169_s335594/logs/glclock-6.0.b6.0_6.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p473169_s335594
Log:

=>> Building x11-clocks/glclock
build started at Sun Jun 24 10:37:37 UTC 2018
port directory: /usr/ports/x11-clocks/glclock
package name: glclock-6.0.b6.0_6
building for: FreeBSD head-i386-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200069 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/x11-clocks/glclock/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.7-1-g7087c444
Host OSVERSION: 1200062
Jail OSVERSION: 1200069
Job Id: 02




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200069
UNAME_v=FreeBSD 12.0-CURRENT 1200069
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-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 glclock-6.0.b6.0_6:
     OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
===> 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/x11-clocks/glclock/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-clocks/glclock/work  HOME=/wrkdirs/usr/ports/x11-clocks/glclock/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-clocks/glclock/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/x11-clocks/glclock/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-clocks/glclock/work  HOME=/wrkdirs/usr/ports/x11-clocks/glclock/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-clocks/glclock/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  -DIMAGE_PATH="\\\"/usr/local/lib/X11/glclock/\\\"" -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DIMAGE_PATH="\\\"/usr/local/lib/X11/glclock/\\\"" -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/glclock"  EXAMPLESDIR="share/examples/glclock"  DATADIR="share/glclock"  WWWDIR="www/glclock"  ETCDIR="etc/glclock"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/glclock DOCSDIR=/usr/local/share/doc/glclock EXAMPLESDIR=/usr/local/share/examples/glclock  WWWDIR=/usr/local/www/glclock ETCDIR=/usr/local/etc/glclock
--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
MACHINE=i386
MACHINE_ARCH=i386
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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-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: i386-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" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200069
PYTHONBASE=/usr/local
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)  524288
stack size              (kbytes, -s)  65536
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 glclock 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    >============================
===>   glclock-6.0.b6.0_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-i386-default-job-02] Installing pkg-1.10.5_1...
[head-i386-default-job-02] Extracting pkg-1.10.5_1: .......... done
===>   glclock-6.0.b6.0_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of glclock-6.0.b6.0_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The glclock 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 glclock-6.0.b6.0_6 for building
===========================================================================
<snip>
In file included from ./GLObject.H:16:
./GLextensions.H:596:9: warning: 'GL_EXT_texture_cube_map' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_cube_map
        ^
/usr/local/include/GL/glext.h:8297:9: note: previous definition is here
#define GL_EXT_texture_cube_map 1
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:694:9: warning: 'GL_EXT_texture_compression_s3tc' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_compression_s3tc
        ^
/usr/local/include/GL/glext.h:8289:9: note: previous definition is here
#define GL_EXT_texture_compression_s3tc 1
        ^
4 warnings generated.
c++ -c -O2 -pipe -DIMAGE_PATH=\"/usr/local/lib/X11/glclock/\" -fstack-protector -fno-strict-aliasing  -I/usr/local/include glclock.cpp
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:543:9: warning: 'GL_TEXTURE_MAX_ANISOTROPY' macro redefined [-Wmacro-redefined]
#define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
        ^
/usr/local/include/GL/glext.h:2890:9: note: previous definition is here
#define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:544:9: warning: 'GL_MAX_TEXTURE_MAX_ANISOTROPY' macro redefined [-Wmacro-redefined]
#define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
        ^
/usr/local/include/GL/glext.h:2891:9: note: previous definition is here
#define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:596:9: warning: 'GL_EXT_texture_cube_map' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_cube_map
        ^
/usr/local/include/GL/glext.h:8297:9: note: previous definition is here
#define GL_EXT_texture_cube_map 1
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:694:9: warning: 'GL_EXT_texture_compression_s3tc' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_compression_s3tc
        ^
/usr/local/include/GL/glext.h:8289:9: note: previous definition is here
#define GL_EXT_texture_compression_s3tc 1
        ^
glclock.cpp:663:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        int ret = fprintf(outstream, log) ;
                                     ^~~
glclock.cpp:663:31: note: treat the string as an argument to avoid this
        int ret = fprintf(outstream, log) ;
                                     ^
                                     "%s", 
glclock.cpp:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:1182:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
            (
glclock.cpp:1182:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
                ==
glclock.cpp:10280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10280:11: note: place parentheses around the assignment to silence this warning
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
                    (
glclock.cpp:10280:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
                        ==
glclock.cpp:10345:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10345:11: note: place parentheses around the assignment to silence this warning
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                    (                                                                                                                                 )
glclock.cpp:10345:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                        ==
glclock.cpp:10718:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10718:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
            (                                                                                                                                                    )
glclock.cpp:10718:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
                ==
glclock.cpp:13809:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        fprintf(fp, fstr) ;
                                                    ^~~~
glclock.cpp:13809:18: note: treat the string as an argument to avoid this
                                        fprintf(fp, fstr) ;
                                                    ^
                                                    "%s", 
glclock.cpp:18287:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18287:16: note: treat the string as an argument to avoid this
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^
                                    "%s", 
glclock.cpp:18290:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18290:16: note: treat the string as an argument to avoid this
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^
                                    "%s", 
glclock.cpp:18292:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                fprintf(fp, glInformationsLog + "\n") ;
                            ^~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18292:15: note: treat the string as an argument to avoid this
                fprintf(fp, glInformationsLog + "\n") ;
                            ^
                            "%s", 
glclock.cpp:18917:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        argv[0] = "glclock" ;
                  ^
14 warnings generated.
c++ -c -O2 -pipe -DIMAGE_PATH=\"/usr/local/lib/X11/glclock/\" -fstack-protector -fno-strict-aliasing  -I/usr/local/include GLObject.cpp
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:543:9: warning: 'GL_TEXTURE_MAX_ANISOTROPY' macro redefined [-Wmacro-redefined]
#define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
        ^
/usr/local/include/GL/glext.h:2890:9: note: previous definition is here
#define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:544:9: warning: 'GL_MAX_TEXTURE_MAX_ANISOTROPY' macro redefined [-Wmacro-redefined]
#define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
        ^
/usr/local/include/GL/glext.h:2891:9: note: previous definition is here
#define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:596:9: warning: 'GL_EXT_texture_cube_map' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_cube_map
        ^
/usr/local/include/GL/glext.h:8297:9: note: previous definition is here
#define GL_EXT_texture_cube_map 1
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:694:9: warning: 'GL_EXT_texture_compression_s3tc' macro redefined [-Wmacro-redefined]
#define GL_EXT_texture_compression_s3tc
        ^
/usr/local/include/GL/glext.h:8289:9: note: previous definition is here
#define GL_EXT_texture_compression_s3tc 1
        ^
GLObject.cpp:843:22: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                            ^~~~~~~~~~~~~~
GLObject.cpp:843:22: note: insert an explicit cast to silence this issue
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                            ^~~~~~~~~~~~~~
                            static_cast<GLfloat>( )
GLObject.cpp:843:38: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                                            ^~~~~~~~~~~~~~
GLObject.cpp:843:38: note: insert an explicit cast to silence this issue
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                                            ^~~~~~~~~~~~~~
                                            static_cast<GLfloat>( )
GLObject.cpp:843:54: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                                                            ^~~~~~~~~~~~~~
GLObject.cpp:843:54: note: insert an explicit cast to silence this issue
        GLfloat lamb[4] = { color[0] * 0.1, color[1] * 0.1, color[2] * 0.1, 1.0f } ;
                                                            ^~~~~~~~~~~~~~
                                                            static_cast<GLfloat>( )
4 warnings and 3 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/x11-clocks/glclock/work/glclock-6.0b6.0
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-clocks/glclock



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