From owner-freebsd-pkg-fallout@freebsd.org Sat Feb 17 21:41:17 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16FF1F12296 for ; Sat, 17 Feb 2018 21:41:17 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9149E6E130 for ; Sat, 17 Feb 2018 21:41:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 51D04F12295; Sat, 17 Feb 2018 21:41:16 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B1ABF12294 for ; Sat, 17 Feb 2018 21:41:16 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C34E36E12E for ; Sat, 17 Feb 2018 21:41:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (thunderx1.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:fb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A34F5225FD for ; Sat, 17 Feb 2018 21:41:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (localhost [127.0.0.1]) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HLfF3O086136 for ; Sat, 17 Feb 2018 21:41:15 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w1HLfFg9086112; Sat, 17 Feb 2018 21:41:15 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 17 Feb 2018 21:41:15 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201802172141.w1HLfFg9086112@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-arm64-default][x11-clocks/glclock] Failed for glclock-6.0.b6.0_6 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 21:41:17 -0000 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://thunderx1.nyi.freebsd.org/data/head-arm64-default/p461032_s328914/logs/glclock-6.0.b6.0_6.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p461032_s328914 Log: =>> Building x11-clocks/glclock build started at Sat Feb 17 21:39:39 UTC 2018 port directory: /usr/ports/x11-clocks/glclock package name: glclock-6.0.b6.0_6 building for: FreeBSD head-arm64-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 arm64 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.4-42-g98f2e28b Host OSVERSION: 1200052 Jail OSVERSION: 1200056 Job Id: 06 !!! Jail is newer than host. (Jail: 1200056, Host: 1200052) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200056 UNAME_v=FreeBSD 12.0-CURRENT 1200056 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-arm64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-arm64-default/ref/.p/pool MASTERNAME=head-arm64-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 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 LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DIMAGE_PATH="\\\"/usr/local/lib/X11/glclock/\\\"" -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DIMAGE_PATH="\\\"/usr/local/lib/X11/glclock/\\\"" -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 #### /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=aarch64 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--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 1048576 stack size (kbytes, -s) 1048576 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-- =================================================== ===> 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 =========================================================================== =================================================== ===> glclock-6.0.b6.0_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-arm64-default-job-06] Installing pkg-1.10.4... [head-arm64-default-job-06] Extracting pkg-1.10.4: .......... 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 =========================================================================== =================================================== =========================================================================== =================================================== ===> 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 =========================================================================== =================================================== ===> 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 => SHA256 Checksum OK for glclock-6.0b6.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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 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/\" -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/\" -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( ) 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( ) 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( ) 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