[package - main-amd64-default][graphics/libecwj2] Failed for libecwj2-3.3_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 07:31:01 UTC
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:     glebius@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p4785b313b958_se8efee297c/logs/libecwj2-3.3_3.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p4785b313b958_se8efee297c
Log:

=>> Building graphics/libecwj2
build started at Mon Jun 26 07:30:47 UTC 2023
port directory: /usr/ports/graphics/libecwj2
package name: libecwj2-3.3_3
building for: FreeBSD main-amd64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 amd64
maintained by: glebius@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 12




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

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

--MAINTAINER--
glebius@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work/.cache  HOME=/wrkdirs/usr/ports/graphics/libecwj2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/libecwj2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/libecwj2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/libecwj2/work/.cache  HOME=/wrkdirs/usr/ports/graphics/libecwj2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/libecwj2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/libecwj2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"  B
SD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libecwj2"  EXAMPLESDIR="share/examples/libecwj2"  DATADIR="share/libecwj2"  WWWDIR="www/libecwj2"  ETCDIR="etc/libecwj2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libecwj2 DOCSDIR=/usr/local/share/doc/libecwj2 EXAMPLESDIR=/usr/local/share/examples/libecwj2  WWWDIR=/usr/local/www/libecwj2 ETCDIR=/usr/local/etc/libecwj2
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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   >============================
===>  License libecwj2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libecwj2-3.3_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-12] Installing pkg-1.19.1_1...
[main-amd64-default-job-12] Extracting pkg-1.19.1_1: .......... done
===>   libecwj2-3.3_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libecwj2-3.3_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License libecwj2 accepted by the user
=> ecw_jpeg_2000_sdk_3_3_source.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://glebi.us/tmp/403/ecw_jpeg_2000_sdk_3_3_source.zip
ecw_jpeg_2000_sdk_3_3_source.zip                      5367 kB 1920 kBps    02s
===> Fetching all distfiles required by libecwj2-3.3_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License libecwj2 accepted by the user
===> Fetching all distfiles required by libecwj2-3.3_3 for building
=> SHA256 Checksum OK for ecw_jpeg_2000_sdk_3_3_source.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License libecwj2 accepted by the user
===> Fetching all distfiles required by libecwj2-3.3_3 for building
===>  Extracting for libecwj2-3.3_3
=> SHA256 Checksum OK for ecw_jpeg_2000_sdk_3_3_source.zip.
(cd /wrkdirs/usr/ports/graphics/libecwj2/work &&  /usr/bin/unzip ImageCompressionSDKSourceCode3.3Setup_20070509.zip)
Archive:  ImageCompressionSDKSourceCode3.3Setup_20070509.zip
   creating: libecwj2-3.3/
   creating: libecwj2-3.3/bin/
 extracting: libecwj2-3.3/bootstrap
 extracting: libecwj2-3.3/Build.txt
 extracting: libecwj2-3.3/configure.in
   creating: libecwj2-3.3/examples/
 extracting: libecwj2-3.3/examples/bootstrap
<snip>
/usr/include/c++/v1/vector:643:9: note: in instantiation of member function 'std::vector<CNCSJPCPacket>::__clear' requested here
        __clear();
        ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCPacket.h:129:27: note: in instantiation of member function 'std::vector<CNCSJPCPacket>::clear' requested here
        void clear() { m_Packets.clear(); };
                                 ^
/usr/include/c++/v1/__memory/allocator.h:173:15: note: qualify call to silence this warning
        __p->~_Tp();
              ^
26 warnings and 3 errors generated.
gmake[4]: *** [Makefile:3069: ______lib_libecwj2_a-NCSJP2BitsPerComponentBox.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:41:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCFileIOStream.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCIOStream.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTypes.h:34:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSError.h:53:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        CNCSError(const NCSError eError = NCS_SUCCESS, char *pFile = "" /*__FILE__*/, int nLine = 0 /*__LINE__*/, CNCSLog::NCSLogLevel eLevel = CNCSLog::LOG_LEVEL1, const char *pText = (char*)NULL);
                                                                     ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCMainHeader.h:31:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCQCDMarker.h:45:20: warning: 'CNCSJPCQCDMarker::Parse' hides overloaded virtual function [-Woverloaded-virtual]
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCQuantizationParameter.h:70:20: note: hidden overloaded virtual function 'CNCSJPCQuantizationParameter::Parse' declared here: different number of parameters (3 vs 2)
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream, INT32 nLength);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCMainHeader.h:32:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCQCCMarker.h:50:20: warning: 'CNCSJPCQCCMarker::Parse' hides overloaded virtual function [-Woverloaded-virtual]
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCQuantizationParameter.h:70:20: note: hidden overloaded virtual function 'CNCSJPCQuantizationParameter::Parse' declared here: different number of parameters (3 vs 2)
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream, INT32 nLength);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:28:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTilePartHeader.h:33:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCPLTMarker.h:26:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:139:36: error: unknown template name 'auto_ptr'
        class ContextAutoPtr: public std::auto_ptr<Context> {
                                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:127:4: warning: expression result unused [-Wunused-value]
                        nCtx;pSrc;iComponent;//Keep compiler happy
                        ^~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:127:9: warning: expression result unused [-Wunused-value]
                        nCtx;pSrc;iComponent;//Keep compiler happy
                             ^~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:127:14: warning: expression result unused [-Wunused-value]
                        nCtx;pSrc;iComponent;//Keep compiler happy
                                  ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:142:44: error: expected '(' or '{'
                ContextAutoPtr(Context *s): std::auto_ptr<Context>(s) {};
                                                         ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:144:23: error: no member named 'get' in 'CNCSJPCNode::ContextAutoPtr'
                        ContextAutoPtr P(s.get());
                                         ~ ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:28:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTilePartHeader.h:36:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCComponent.h:31:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCPrecinct.h:25:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCSubBand.h:175:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCSubBand.h:183:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCSubBand.h:191:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCSubBand.h:199:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:28:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTilePartHeader.h:36:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCComponent.h:31:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:252:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:260:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:268:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:276:4: warning: expression result unused [-Wunused-value]
                        iComponent;//Keep compiler happy
                        ^~~~~~~~~~
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCResolution.h:285:6: warning: expression result unused [-Wunused-value]
                                        iComponent;//Keep compiler happy
                                        ^~~~~~~~~~
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:28:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTilePartHeader.h:36:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCComponent.h:110:15: warning: 'CNCSJPCComponent::Link' hides overloaded virtual function [-Woverloaded-virtual]
        virtual bool Link(CNCSJPCNode::ContextID nCtx, UINT32 nResolution, INT32 nXCMul, INT32 nYCMul);
                     ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCNode.h:94:15: note: hidden overloaded virtual function 'CNCSJPCNode::Link' declared here: different number of parameters (3 vs 4)
        virtual bool Link(ContextID nCtx, UINT16 nInputs, CNCSJPCNode *pInput, ...);
                     ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:80:20: warning: 'CNCSJPC::Parse' hides overloaded virtual function [-Woverloaded-virtual]
        virtual CNCSError Parse(CNCSJPCIOStream &Stream);
                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCMainHeader.h:95:20: note: hidden overloaded virtual function 'CNCSJPCMainHeader::Parse' declared here: different number of parameters (2 vs 1)
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:61:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:86:20: warning: 'CNCSJPC::UnParse' hides overloaded virtual function [-Woverloaded-virtual]
        virtual CNCSError UnParse(CNCSJPCIOStream &Stream);
                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCMainHeader.h:102:20: note: hidden overloaded virtual function 'CNCSJPCMainHeader::UnParse' declared here: different number of parameters (2 vs 1)
        virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:263:22: warning: 'CNCSJP2File::CNCSJP2HeaderBox::CNCSJP2ImageHeaderBox::Parse' hides overloaded virtual function [-Woverloaded-virtual]
                        virtual CNCSError Parse(class CNCSJP2File &JP2File, CNCSJPCIOStream &Stream);
                                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCComponentDepthType.h:50:20: note: hidden overloaded virtual function 'CNCSJPCComponentDepthType::Parse' declared here: type mismatch at 1st parameter ('class CNCSJPC &' vs 'class CNCSJP2File &')
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:270:22: warning: 'CNCSJP2File::CNCSJP2HeaderBox::CNCSJP2ImageHeaderBox::UnParse' hides overloaded virtual function [-Woverloaded-virtual]
                        virtual CNCSError UnParse(class CNCSJP2File &JP2File, CNCSJPCIOStream &Stream);
                                          ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCComponentDepthType.h:57:20: note: hidden overloaded virtual function 'CNCSJPCComponentDepthType::UnParse' declared here: type mismatch at 1st parameter ('class CNCSJPC &' vs 'class CNCSJP2File &')
        virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:713:21: warning: 'CNCSJP2File::CNCSJP2ContiguousCodestreamBox::Parse' hides overloaded virtual function [-Woverloaded-virtual]
                virtual CNCSError Parse(class CNCSJP2File &JP2File, CNCSJPCIOStream &Stream);
                                  ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:80:20: note: hidden overloaded virtual function 'CNCSJPC::Parse' declared here: different number of parameters (1 vs 2)
        virtual CNCSError Parse(CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:720:21: warning: 'CNCSJP2File::CNCSJP2ContiguousCodestreamBox::UnParse' hides overloaded virtual function [-Woverloaded-virtual]
                virtual CNCSError UnParse(class CNCSJP2File &JP2File, CNCSJPCIOStream &Stream);
                                  ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPC.h:86:20: note: hidden overloaded virtual function 'CNCSJPC::UnParse' declared here: different number of parameters (1 vs 2)
        virtual CNCSError UnParse(CNCSJPCIOStream &Stream);
                          ^
In file included from ../C/NCSEcw/NCSJP2/NCSJP2Box.cpp:21:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJP2File.h:41:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCFileIOStream.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCIOStream.h:25:
In file included from /wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCTypes.h:69:
In file included from /usr/include/c++/v1/vector:308:
In file included from /usr/include/c++/v1/__split_buffer:21:
/usr/include/c++/v1/__memory/allocator.h:173:9: warning: destructor called on non-final 'CNCSJPCPacket' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
        __p->~_Tp();
        ^
/usr/include/c++/v1/__memory/allocator_traits.h:315:13: note: in instantiation of member function 'std::allocator<CNCSJPCPacket>::destroy' requested here
        __a.destroy(__p);
            ^
/usr/include/c++/v1/vector:836:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<CNCSJPCPacket>>::destroy<CNCSJPCPacket, void>' requested here
        __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
                        ^
/usr/include/c++/v1/vector:830:29: note: in instantiation of member function 'std::vector<CNCSJPCPacket>::__base_destruct_at_end' requested here
  void __clear() _NOEXCEPT {__base_destruct_at_end(this->__begin_);}
                            ^
/usr/include/c++/v1/vector:643:9: note: in instantiation of member function 'std::vector<CNCSJPCPacket>::__clear' requested here
        __clear();
        ^
/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/include/NCSJPCPacket.h:129:27: note: in instantiation of member function 'std::vector<CNCSJPCPacket>::clear' requested here
        void clear() { m_Packets.clear(); };
                                 ^
/usr/include/c++/v1/__memory/allocator.h:173:15: note: qualify call to silence this warning
        __p->~_Tp();
              ^
23 warnings and 3 errors generated.
gmake[4]: *** [Makefile:3102: ______lib_libecwj2_a-NCSJP2Box.o] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/NCSBuildGnu'
gmake[3]: *** [Makefile:939: all] Error 2
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source/NCSBuildGnu'
gmake[2]: *** [Makefile:184: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3/Source'
gmake[1]: *** [Makefile:349: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/libecwj2/work/libecwj2-3.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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