Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 14:09:31 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][graphics/pencil] Failed for pencil-0.4.4b_13 in build
Message-ID:  <201610241409.u9OE9V4F060714@beefy8.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:     martymac@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/graphics/pencil/Makefile 412346 2016-04-01 14:00:51Z mat $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p424296_s307660/logs/pencil-0.4.4b_13.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p424296_s307660
Log:

====>> Building graphics/pencil
build started at Mon Oct 24 14:02:49 UTC 2016
port directory: /usr/ports/graphics/pencil
building for: FreeBSD head-armv6-default-job-24 12.0-CURRENT FreeBSD 12.0-CURRENT r307660 arm
maintained by: martymac@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/pencil/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.1.14
Host OSVERSION: 1200005
Jail OSVERSION: 1200014




!!! Jail is newer than host. (Jail: 1200014, Host: 1200005) !!!
!!! 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
UNAME_v=FreeBSD 12.0-CURRENT r307660
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=armv6
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
QEMU_EMULATING=1
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=pencil-0.4.4b_13
OSREL=12.0
_OSRELEASE=12.0-CURRENT
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1200014
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--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--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/pencil/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/pencil/work  HOME=/wrkdirs/usr/ports/graphics/pencil/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh QTDIR="/usr/local" QMAKE="/usr/local/bin/qmake-qt4"  MOC="/usr/local/bin/moc-qt4" RCC="/usr/local/bin/rcc" UIC="/usr/local/bin/uic-qt4"  QMAKESPEC="/usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(/nxb-bin/usr/bin/c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/pencil/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/pencil/work  HOME=/wrkdirs/usr/ports/graphics/pencil/work TMPDIR="/tmp" 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 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
QT_PREFIX="/usr/local"
QT_BINDIR="bin"
QT_INCDIR="include/qt4"
QT_LIBDIR="lib/qt4"
QT_ARCHDIR="lib/qt4/qt4"
QT_PLUGINDIR="lib/qt4/plugins"
QT_LIBEXECDIR="libexec/qt4"
QT_IMPORTDIR="lib/qt4/imports"
QT_QMLDIR="lib/qt4/qt4/qml"
QT_DATADIR="share/qt4"
QT_DOCDIR="share/doc/qt4"
QT_L10NDIR="share/qt4/translations"
QT_ETCDIR="etc/xdg"
QT_EXAMPLEDIR="share/examples/qt4"
QT_TESTDIR="share/qt4/tests"
QT_MKSPECDIR="share/qt4/mkspecs"
OSREL=12.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/pencil"
EXAMPLESDIR="share/examples/pencil"
DATADIR="share/pencil"
WWWDIR="www/pencil"
ETCDIR="etc/pencil"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/pencil
DOCSDIR=/usr/local/share/doc/pencil
EXAMPLESDIR=/usr/local/share/examples/pencil
WWWDIR=/usr/local/www/pencil
ETCDIR=/usr/local/etc/pencil
--End SUB_LIST--

---Begin make.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
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
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
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
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
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
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
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
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
<snip>
src/structure/layervector.h:43:11: warning: 'LayerVector::getImageAtIndex' hides overloaded virtual function [-Woverloaded-virtual]
                QImage* getImageAtIndex(int, QSize, bool, bool, qreal, bool, int);
                        ^
src/structure/layerimage.h:39:19: note: hidden overloaded virtual function 'LayerImage::getImageAtIndex' declared here: different number of parameters (1 vs 7)
                virtual QImage* getImageAtIndex(int index);
                                ^
In file included from src/external/flash/flash.cpp:20:
In file included from src/external/flash/flash.h:26:
src/structure/layervector.h:54:8: warning: 'LayerVector::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
                void loadDomElement(QDomElement element,  QString filePath);
                     ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/external/flash/flash.cpp:20:
In file included from src/external/flash/flash.h:27:
src/structure/layerbitmap.h:45:7: warning: 'LayerBitmap::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
        void loadDomElement(QDomElement element, QString filePath);
             ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
src/external/flash/flash.cpp:101:70: warning: unused parameter 'object' [-Wunused-parameter]
void Flash::convertToSWFMovieClip( BitmapImage* bitmapImage, Object* object, QMatrix view, SWFMovieClip* sprite ) {
                                                                     ^
5 warnings generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o blur.o src/graphics/bitmap/blur.cpp
src/graphics/bitmap/blur.cpp:189:15: warning: use of unary operator that may be intended as compound assignment (-=)
        for(i =- radius; i <= radius; ++i) {
              ^~
1 warning generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o bitmapimage.o src/graphics/bitmap/bitmapimage.cpp
In file included from src/graphics/bitmap/bitmapimage.cpp:19:
In file included from src/structure/object.h:23:
src/structure/layerbitmap.h:45:7: warning: 'LayerBitmap::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
        void loadDomElement(QDomElement element, QString filePath);
             ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/bitmap/bitmapimage.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:43:11: warning: 'LayerVector::getImageAtIndex' hides overloaded virtual function [-Woverloaded-virtual]
                QImage* getImageAtIndex(int, QSize, bool, bool, qreal, bool, int);
                        ^
src/structure/layerimage.h:39:19: note: hidden overloaded virtual function 'LayerImage::getImageAtIndex' declared here: different number of parameters (1 vs 7)
                virtual QImage* getImageAtIndex(int index);
                                ^
In file included from src/graphics/bitmap/bitmapimage.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:54:8: warning: 'LayerVector::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
                void loadDomElement(QDomElement element,  QString filePath);
                     ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/bitmap/bitmapimage.cpp:19:
In file included from src/structure/object.h:27:
In file included from src/external/flash/flash.h:23:
/usr/local/include/ming/mingpp.h:139:22: warning: 'SWFException::what' hides overloaded virtual function [-Woverloaded-virtual]
        virtual const char *what()
                            ^
/usr/include/c++/v1/exception:96:25: note: hidden overloaded virtual function 'std::exception::what' declared here: different qualifiers (const vs none)
    virtual const char* what() const _NOEXCEPT;
                        ^
src/graphics/bitmap/bitmapimage.cpp:81:57: warning: unused parameter 'doc' [-Wunused-parameter]
QDomElement BitmapImage::createDomElement(QDomDocument &doc) {
                                                        ^
src/graphics/bitmap/bitmapimage.cpp:114:26: warning: unused parameter 'image' [-Wunused-parameter]
void outputImage(QImage* image, QSize size, QMatrix myView) {
                         ^
src/graphics/bitmap/bitmapimage.cpp:114:39: warning: unused parameter 'size' [-Wunused-parameter]
void outputImage(QImage* image, QSize size, QMatrix myView) {
                                      ^
src/graphics/bitmap/bitmapimage.cpp:114:53: warning: unused parameter 'myView' [-Wunused-parameter]
void outputImage(QImage* image, QSize size, QMatrix myView) {
                                                    ^
8 warnings generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o bezierarea.o src/graphics/vector/bezierarea.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o beziercurve.o src/graphics/vector/beziercurve.cpp
In file included from src/graphics/vector/beziercurve.cpp:19:
In file included from src/structure/object.h:23:
src/structure/layerbitmap.h:45:7: warning: 'LayerBitmap::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
        void loadDomElement(QDomElement element, QString filePath);
             ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/vector/beziercurve.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:43:11: warning: 'LayerVector::getImageAtIndex' hides overloaded virtual function [-Woverloaded-virtual]
                QImage* getImageAtIndex(int, QSize, bool, bool, qreal, bool, int);
                        ^
src/structure/layerimage.h:39:19: note: hidden overloaded virtual function 'LayerImage::getImageAtIndex' declared here: different number of parameters (1 vs 7)
                virtual QImage* getImageAtIndex(int index);
                                ^
In file included from src/graphics/vector/beziercurve.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:54:8: warning: 'LayerVector::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
                void loadDomElement(QDomElement element,  QString filePath);
                     ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/vector/beziercurve.cpp:19:
In file included from src/structure/object.h:27:
In file included from src/external/flash/flash.h:23:
/usr/local/include/ming/mingpp.h:139:22: warning: 'SWFException::what' hides overloaded virtual function [-Woverloaded-virtual]
        virtual const char *what()
                            ^
/usr/include/c++/v1/exception:96:25: note: hidden overloaded virtual function 'std::exception::what' declared here: different qualifiers (const vs none)
    virtual const char* what() const _NOEXCEPT;
                        ^
src/graphics/vector/beziercurve.cpp:374:9: warning: unused variable 'squareWidth' [-Wunused-variable]
                qreal squareWidth = 5.0/painter.matrix().m11();
                      ^
5 warnings generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o colourref.o src/graphics/vector/colourref.cpp
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o gradient.o src/graphics/vector/gradient.cpp
src/graphics/vector/gradient.cpp:29:69: warning: unused parameter 'gradients' [-Wunused-parameter]
void Gradient::paint1(QPainter &painter, VectorImage* v, int i, int gradients) {
                                                                    ^
src/graphics/vector/gradient.cpp:274:38: warning: variable 'bufferImage' is uninitialized when used here [-Wuninitialized]
                                                                                                        if( newX >= 0 && newX < bufferImage->width() && newY >=0 && newY < bufferImage->height()) {
                                                                                                                                ^~~~~~~~~~~
src/graphics/vector/gradient.cpp:88:66: note: initialize the variable 'bufferImage' to silence this warning
                        QPainter painter2; QMatrix painter2Matrix; QImage* bufferImage; QRect rect;
                                                                                      ^
                                                                                       = NULL
src/graphics/vector/gradient.cpp:977:8: warning: unused variable 'P1invisible' [-Wunused-variable]
                bool P1invisible = v->curve[ P1Ref.curveNumber ].isInvisible();
                     ^
src/graphics/vector/gradient.cpp:978:8: warning: unused variable 'P2invisible' [-Wunused-variable]
                bool P2invisible = v->curve[ P2Ref.curveNumber ].isInvisible();
                     ^
src/graphics/vector/gradient.cpp:788:69: warning: unused parameter 'gradients' [-Wunused-parameter]
void Gradient::paint4(QPainter &painter, VectorImage* v, int i, int gradients) {
                                                                    ^
5 warnings generated.
/nxb-bin/usr/bin/c++ -c -O2 -pipe -fno-strict-aliasing -pthread -D_THREAD_SAFE -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -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/QtXml -I/usr/local/include/qt4 -I/usr/local/include/ming -I. -Isrc -Isrc/external/flash -Isrc/external/linux -Isrc/external/macosx -Isrc/external/win32 -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -I/usr/local/include -I. -I/usr/local/include/qt4 -I/usr/local/include -o vectorimage.o src/graphics/vector/vectorimage.cpp
In file included from src/graphics/vector/vectorimage.cpp:19:
In file included from src/structure/object.h:23:
src/structure/layerbitmap.h:45:7: warning: 'LayerBitmap::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
        void loadDomElement(QDomElement element, QString filePath);
             ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/vector/vectorimage.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:43:11: warning: 'LayerVector::getImageAtIndex' hides overloaded virtual function [-Woverloaded-virtual]
                QImage* getImageAtIndex(int, QSize, bool, bool, qreal, bool, int);
                        ^
src/structure/layerimage.h:39:19: note: hidden overloaded virtual function 'LayerImage::getImageAtIndex' declared here: different number of parameters (1 vs 7)
                virtual QImage* getImageAtIndex(int index);
                                ^
In file included from src/graphics/vector/vectorimage.cpp:19:
In file included from src/structure/object.h:24:
src/structure/layervector.h:54:8: warning: 'LayerVector::loadDomElement' hides overloaded virtual function [-Woverloaded-virtual]
                void loadDomElement(QDomElement element,  QString filePath);
                     ^
src/structure/layer.h:53:16: note: hidden overloaded virtual function 'Layer::loadDomElement' declared here: different number of parameters (1 vs 2)
                virtual void loadDomElement(QDomElement element); // construct a layer from a dom/xml representation
                             ^
In file included from src/graphics/vector/vectorimage.cpp:19:
In file included from src/structure/object.h:27:
In file included from src/external/flash/flash.h:23:
/usr/local/include/ming/mingpp.h:139:22: warning: 'SWFException::what' hides overloaded virtual function [-Woverloaded-virtual]
        virtual const char *what()
                            ^
/usr/include/c++/v1/exception:96:25: note: hidden overloaded virtual function 'std::exception::what' declared here: different qualifiers (const vs none)
    virtual const char* what() const _NOEXCEPT;
                        ^
src/graphics/vector/vectorimage.cpp:48:6: warning: unused variable 'layerNumber' [-Wunused-variable]
        int layerNumber = -1;
            ^
src/graphics/vector/vectorimage.cpp:178:14: error: no matching function for call to 'qMax'
        qreal tol = qMax(newCurve.getWidth() / factor, 3.0 / factor); // tolerance for taking the intersection as an existing vertex on a curve
                    ^~~~
/usr/local/include/qt4/QtCore/qglobal.h:1339:34: note: candidate template ignored: deduced conflicting types for parameter 'T' ('float' vs. 'double')
Q_DECL_CONSTEXPR inline const T &qMax(const T &a, const T &b) { return (a < b) ? b : a; }
                                 ^
src/graphics/vector/vectorimage.cpp:696:8: warning: unused variable 'scale' [-Wunused-variable]
        qreal scale = qAbs(painterMatrix.m11()) + qAbs(painterMatrix.m12()); // quick overestimation of sqrt( m11*m22 - m12*m21 )
              ^
src/graphics/vector/vectorimage.cpp:768:52: warning: unused parameter 'size' [-Wunused-parameter]
void VectorImage::outputImage(QImage* image, QSize size, QMatrix myView, bool simplified, bool showThinCurves, qreal curveOpacity, bool antialiasing, int gradients) {
                                                   ^
src/graphics/vector/vectorimage.cpp:830:49: warning: unused parameter 'opacity' [-Wunused-parameter]
void VectorImage::applyOpacityToSelection(qreal opacity) {
                                                ^
8 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/graphics/pencil/work/pencil-0.4.4b-source
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/pencil



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