[package - head-i386-default][math/qwtplot3d-qt4] Failed for qwtplot3d-qt4-0.2.7_6 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sat Feb 10 16:12:52 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:     ports at FreeBSD.org
Last committer: rezny at FreeBSD.org
Ident:          $FreeBSD: head/math/qwtplot3d-qt4/Makefile 441503 2017-05-23 05:03:14Z rezny $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p461354_s329096/logs/qwtplot3d-qt4-0.2.7_6.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p461354_s329096
Log:

=>> Building math/qwtplot3d-qt4
build started at Sat Feb 10 16:11:52 UTC 2018
port directory: /usr/ports/math/qwtplot3d-qt4
package name: qwtplot3d-qt4-0.2.7_6
building for: FreeBSD head-i386-default-job-16 12.0-CURRENT FreeBSD 12.0-CURRENT 1200057 i386
maintained by: ports at FreeBSD.org
Makefile ident:      $FreeBSD: head/math/qwtplot3d-qt4/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.4-49-g17610211
Host OSVERSION: 1200054
Jail OSVERSION: 1200057
Job Id: 16




!!! Jail is newer than host. (Jail: 1200057, 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=i386
UNAME_m=i386
OSVERSION=1200057
UNAME_v=FreeBSD 12.0-CURRENT 1200057
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-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-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-49-g17610211
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---
---End OPTIONS List---

--MAINTAINER--
ports at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-qt-includes=/usr/local/include/qt4  --with-qt-libraries=/usr/local/lib/qt4  --with-extra-includes=/usr/local/include  --with-extra-libs=/usr/local/lib
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
QT_SELECT=qt4 QMAKEMODULES="/wrkdirs/usr/ports/math/qwtplot3d-qt4/work/qwtplot3d/mkspecs/modules:/usr/local/share/qt4/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work  HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh QTDIR="/usr/local/lib/qt4" QMAKE="/usr/local/lib/qt4/bin/qmake"  MOC="/usr/local/lib/qt4/bin/moc" RCC="/usr/local/lib/qt4/bin/rcc" UIC="/usr/local/lib/qt4/bin/uic"  QMAKESPEC="/usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)"
--End CONFIGURE_ENV--

--MAKE_ENV--
QT_SELECT=qt4 QMAKEMODULES="/wrkdirs/usr/ports/math/qwtplot3d-qt4/work/qwtplot3d/mkspecs/modules:/usr/local/share/qt4/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work  HOME=/wrkdirs/usr/ports/math/qwtplot3d-qt4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/qwtplot3d-qt4/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  -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="" QT_BINDIR="lib/qt4/bin" QT_INCDIR="include/qt4" QT_LIBDIR="lib/qt4" QT_ARCHDIR="lib/qt4" QT_PLUGINDIR="lib/qt4/plugins" QT_LIBEXECDIR="libexec/qt4" QT_IMPORTDIR="lib/qt4/imports" QT_QMLDIR="lib/qt4/qml" QT_DATADIR="share/qt4" QT_DOCDIR="share/doc/qt4" QT_L10NDIR="share/qt4/translations" QT_EXAMPLEDIR="share/examples/qt4" QT_TESTDIR="share/qt4/tests" QT_MKSPECDIR="share/qt4/mkspecs" QT_QTCHOOSERDIR="etc/xdg/qtchooser" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/qwtplot3d"  EXAMPLESDIR="share/examples/qwtplot3d"  DATADIR="share/qwtplot3d"  WWWDIR="www/qwtplot3d"  ETCDIR="etc/qwtplot3d"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/qwtplot3d DOCSDIR=/usr/local/share/doc/qwtplot3d EXAMPLESDIR=/usr/local/share/examples/qwtplot3d  WWWDIR=/usr/local/www/qwtplot3d ETCDIR=/usr/local/etc/qwtplot3d
--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 ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200057
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)  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 qwtplot3d 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    >============================
===>   qwtplot3d-qt4-0.2.7_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-16] Installing pkg-1.10.4...
[head-i386-default-job-16] Extracting pkg-1.10.4: .......... done
===>   qwtplot3d-qt4-0.2.7_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of qwtplot3d-qt4-0.2.7_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The qwtplot3d 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 qwtplot3d-qt4-0.2.7_6 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The qwtplot3d 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 qwtplot3d-qt4-0.2.7_6 for building
=> SHA256 Checksum OK for qwtplot3d-0.2.7.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The qwtplot3d 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>
[head-i386-default-job-16] |   | `-- Extracting libXfontcache-1.0.5_3: .......... done
[head-i386-default-job-16] |   `-- Extracting xset-1.2.3_1: .. done
[head-i386-default-job-16] `-- Extracting xdg-utils-1.1.1: .......... done
[head-i386-default-job-16] `-- Installing xorg-fonts-truetype-7.7_1...
[head-i386-default-job-16] |   `-- Installing dejavu-2.37...
[head-i386-default-job-16] |   | `-- Installing mkfontdir-1.0.7...
[head-i386-default-job-16] |   |   `-- Installing mkfontscale-1.1.2...
[head-i386-default-job-16] |   |   | `-- Installing libfontenc-1.1.3_1...
[head-i386-default-job-16] |   |   | `-- Extracting libfontenc-1.1.3_1: ......... done
[head-i386-default-job-16] |   |   `-- Extracting mkfontscale-1.1.2: .. done
[head-i386-default-job-16] |   | `-- Extracting mkfontdir-1.0.7: .. done
[head-i386-default-job-16] |   `-- Extracting dejavu-2.37: .......... done
[head-i386-default-job-16] |   `-- Installing font-bh-ttf-1.0.3_3...
[head-i386-default-job-16] |   `-- Extracting font-bh-ttf-1.0.3_3: .......... done
[head-i386-default-job-16] |   `-- Installing font-misc-ethiopic-1.0.3_3...
[head-i386-default-job-16] |   `-- Extracting font-misc-ethiopic-1.0.3_3: ... done
[head-i386-default-job-16] |   `-- Installing font-misc-meltho-1.0.3_3...
[head-i386-default-job-16] |   `-- Extracting font-misc-meltho-1.0.3_3: .......... done
[head-i386-default-job-16] Extracting qt4-gui-4.8.7_3: .......... done
Message from perl5-5.24.3:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
Message from python27-2.7.14_1:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
Message from ca_root_nss-3.35:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
Message from trousers-0.3.14_2:

To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
Message from freetype2-2.8_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).
Message from qt4-corelib-4.8.7_11:

======================================================================

Qt 4 can be built with optional support for:
 - Common UNIX Printing System (CUPS) (enabled by default)
 - Network Audio System (NAS)
 - Qt style that renders using GTK (QGTKSTYLE)

In order to enable them, you have to add
	QT4_OPTIONS=	CUPS NAS QGTKSTYLE
to your /etc/make.conf and compile devel/qt4-corelib and
x11-toolkits/qt4-gui ports.

Attention! Whenever you change the QT4_OPTIONS both
devel/qt4-corelib and x11-toolkits/qt4-gui ports must be rebuilt!

======================================================================
Message from dejavu-2.37:

Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   qwtplot3d-qt4-0.2.7_6 depends on shared library: libQtGui.so - found (/usr/local/lib/qt4/libQtGui.so)
===>   Returning to build of qwtplot3d-qt4-0.2.7_6
===>   qwtplot3d-qt4-0.2.7_6 depends on shared library: libQtOpenGL.so - not found
===>   Installing existing package /packages/All/qt4-opengl-4.8.7_3.txz
[head-i386-default-job-16] Installing qt4-opengl-4.8.7_3...
[head-i386-default-job-16] Extracting qt4-opengl-4.8.7_3: .......... done
===>   qwtplot3d-qt4-0.2.7_6 depends on shared library: libQtOpenGL.so - found (/usr/local/lib/qt4/libQtOpenGL.so)
===>   Returning to build of qwtplot3d-qt4-0.2.7_6
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for qwtplot3d-qt4-0.2.7_6
===========================================================================
=======================<phase: build          >============================
===>  Building for qwtplot3d-qt4-0.2.7_6
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_axis.o src/qwt3d_axis.cpp
src/qwt3d_axis.cpp:206:9: warning: unused variable 'beg' [-Wunused-variable]
        Triple beg = beg_ + ((autostart_ - start_) / (stop_ - start_)) * normal;
               ^
src/qwt3d_axis.cpp:207:9: warning: unused variable 'end' [-Wunused-variable]
        Triple end = end_ - ((stop_ - autostop_) / (stop_ - start_))* normal;
               ^
2 warnings generated.
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_color.o src/qwt3d_color.cpp
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_coordsys.o src/qwt3d_coordsys.cpp
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_drawable.o src/qwt3d_drawable.cpp
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_mousekeyboard.o src/qwt3d_mousekeyboard.cpp
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_movements.o src/qwt3d_movements.cpp
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -fPIC -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -Iinclude -I/usr/local/include -Itmp -I/usr/local/include/qt4 -I/usr/local/include -o tmp/qwt3d_lighting.o src/qwt3d_lighting.cpp
src/qwt3d_lighting.cpp:178:27: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                          ^~~~~~~~~~~~~~~~~~~~~~
src/qwt3d_lighting.cpp:178:27: note: insert an explicit cast to silence this issue
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                          ^~~~~~~~~~~~~~~~~~~~~~
                          static_cast<GLfloat>( )
src/qwt3d_lighting.cpp:178:51: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                                                  ^~~~~~~~~~~~~~~~~~~~~~
src/qwt3d_lighting.cpp:178:51: note: insert an explicit cast to silence this issue
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                                                  ^~~~~~~~~~~~~~~~~~~~~~
                                                  static_cast<GLfloat>( )
src/qwt3d_lighting.cpp:178:75: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
src/qwt3d_lighting.cpp:178:75: note: insert an explicit cast to silence this issue
  GLfloat lightPos[4] = { lights_[light].shift.x, lights_[light].shift.y, lights_[light].shift.z, 1.0};
                                                                          ^~~~~~~~~~~~~~~~~~~~~~
                                                                          static_cast<GLfloat>( )
3 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/math/qwtplot3d-qt4/work/qwtplot3d
*** Error code 1

Stop.
make: stopped in /usr/ports/math/qwtplot3d-qt4


More information about the freebsd-pkg-fallout mailing list