Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 04:14:22 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110armv6-quarterly][graphics/pencil] Failed for pencil-0.4.4b_13 in build
Message-ID:  <201702090414.v194EMiU083472@beefy15.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: branches/2017Q1/graphics/pencil/Makefile 412346 2016-04-01 14:00:51Z mat $
Log URL:        http://beefy15.nyi.freebsd.org/data/110armv6-quarterly/433679/logs/pencil-0.4.4b_13.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=110armv6-quarterly&build=433679
Log:

====>> Building graphics/pencil
build started at Thu Feb  9 04:12:01 UTC 2017
port directory: /usr/ports/graphics/pencil
building for: FreeBSD 110armv6-quarterly-job-17 11.0-RELEASE-p5 FreeBSD 11.0-RELEASE-p5 r309692 arm
maintained by: martymac@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2017Q1/graphics/pencil/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.1.14
Host OSVERSION: 1200018
Jail OSVERSION: 1100122
Job Id: 17

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
UNAME_v=FreeBSD 11.0-RELEASE-p5 r309692
UNAME_r=11.0-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=armv6
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110armv6-quarterly/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=11.0
_OSRELEASE=11.0-RELEASE-p5
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=28
PWD=/usr/local/poudriere/data/.m/110armv6-quarterly/ref/.p/pool
MASTERNAME=110armv6-quarterly
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=1100122
---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_INCDIR="include/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=11.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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pencil-0.4.4b_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.9.4_1.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-17] Installing pkg-1.9.4_1...
[110armv6-quarterly-job-17] Extracting pkg-1.9.4_1: .......... done
===>   pencil-0.4.4b_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pencil-0.4.4b_13
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pencil-0.4.4b_13 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pencil-0.4.4b_13 for building
=> SHA256 Checksum OK for pencil-0.4.4b-src.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pencil-0.4.4b_13 for building
===>  Extracting for pencil-0.4.4b_13
=> SHA256 Checksum OK for pencil-0.4.4b-src.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pencil-0.4.4b_13
===>  Applying FreeBSD patches for pencil-0.4.4b_13
===========================================================================
=======================<phase: build-depends  >============================
===>   pencil-0.4.4b_13 depends on package: libGL>0 - not found
===>   Installing existing package /packages/All/libGL-11.2.2.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-17] Installing libGL-11.2.2...
[110armv6-quarterly-job-17] `-- Installing expat-2.2.0_1...
[110armv6-quarterly-job-17] `-- Extracting expat-2.2.0_1: .......... done
[110armv6-quarterly-job-17] `-- Installing dri2proto-2.8...
[110armv6-quarterly-job-17] `-- Extracting dri2proto-2.8: .... done
[110armv6-quarterly-job-17] `-- Installing libXdamage-1.1.4_3...
[110armv6-quarterly-job-17] |   `-- Installing libXfixes-5.0.3...
[110armv6-quarterly-job-17] |   | `-- Installing xproto-7.0.31...
[110armv6-quarterly-job-17] |   | `-- Extracting xproto-7.0.31: .......... done
[110armv6-quarterly-job-17] |   | `-- Installing fixesproto-5.0...
[110armv6-quarterly-job-17] |   | `-- Extracting fixesproto-5.0: .... done
[110armv6-quarterly-job-17] |   | `-- Installing libX11-1.6.4,1...
[110armv6-quarterly-job-17] |   |   `-- Installing kbproto-1.0.7...
[110armv6-quarterly-job-17] |   |   `-- Extracting kbproto-1.0.7: .......... done
[110armv6-quarterly-job-17] |   |   `-- Installing libXdmcp-1.1.2...
<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?201702090414.v194EMiU083472>