From owner-freebsd-pkg-fallout@FreeBSD.ORG Wed Apr 9 09:03:46 2014 Return-Path: Delivered-To: pkg-fallout@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5492DC3; Wed, 9 Apr 2014 09:03:46 +0000 (UTC) Received: from beefy2.isc.freebsd.org (beefy2.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E6C31957; Wed, 9 Apr 2014 09:03:46 +0000 (UTC) Received: from beefy2.isc.freebsd.org (localhost [127.0.0.1]) by beefy2.isc.freebsd.org (8.14.8/8.14.8) with ESMTP id s3993kh2079702; Wed, 9 Apr 2014 09:03:46 GMT (envelope-from pkg-fallout-builder@FreeBSD.org) Received: (from root@localhost) by beefy2.isc.freebsd.org (8.14.8/8.14.8/Submit) id s3993j15079636; Wed, 9 Apr 2014 09:03:45 GMT (envelope-from pkg-fallout-builder@FreeBSD.org) Date: Wed, 9 Apr 2014 09:03:45 GMT From: pkg-fallout-builder@FreeBSD.org Message-Id: <201404090903.s3993j15079636@beefy2.isc.freebsd.org> To: vg@FreeBSD.org Subject: [REL - 10amd64-quarterly][textproc/ctpp2] Failed for ctpp2-2.8.3_1 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 09:03:46 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: vg@FreeBSD.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: branches/2014Q2/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2014-04-09_06h10m22s/logs/ctpp2-2.8.3_1.log Build URL: http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2014-04-09_06h10m22s Log: ====>> Building textproc/ctpp2 build started at Wed Apr 9 09:03:29 UTC 2014 port directory: /usr/ports/textproc/ctpp2 building for: FreeBSD 10amd64-quarterly-job-09 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 amd64 maintained by: vg@FreeBSD.org Makefile ident: $FreeBSD: branches/2014Q2/textproc/ctpp2/Makefile 346875 2014-03-03 10:23:43Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE-p1 UNAME_r=10.0-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/10amd64-quarterly/ref PKG_EXT=txz tpid=33507 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=ctpp2-2.8.3_1 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=10amd64-quarterly USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for ctpp2-2.8.3_1: DEBUG=off: Enable debug output DISCARD_ILSEQ=on: Discard illegal sequence and continue DOCS=on: Build and/or install documentation MD5=on: Enable md5 support OPTIMIZATION=on: Enable optimization TRANSLITERATE=on: Enable transliteration in the conversion ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- DEBUG="@comment " NO_DEBUG="" DISCARD_ILSEQ="" NO_DISCARD_ILSEQ="@comment " DOCS="" NO_DOCS="@comment " MD5="" NO_MD5="@comment " OPTIMIZATION="" NO_OPTIMIZATION="@comment " TRANSLITERATE="" NO_TRANSLITERATE="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ctpp2 DOCSDIR=/usr/local/share/doc/ctpp2 EXAMPLESDIR=/usr/local/share/examples/ctpp2 WWWDIR=/usr/local/www/ctpp2 ETCDIR=/usr/local/etc/ctpp2 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for ctpp2-2.8.3_1 =================================================== =========================================================================== =================================================== ===> ctpp2-2.8.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.2.7.txz Installing pkg-1.2.7... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ctpp2-2.8.3_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ctpp2-2.8.3_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by ctpp2-2.8.3_1 for building => SHA256 Checksum OK for ctpp2-2.8.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ctpp2-2.8.3_1 for building ===> Extracting for ctpp2-2.8.3_1 => SHA256 Checksum OK for ctpp2-2.8.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ctpp2-2.8.3_1 ===> Applying FreeBSD patches for ctpp2-2.8.3_1 =========================================================================== =================================================== ===> ctpp2-2.8.3_1 depends on executable: rst2html - not found ===> Verifying install for rst2html in /usr/ports/textproc/py-docutils ===> Installing existing package /packages/All/py27-docutils-0.11.txz Installing py27-docutils-0.11...Installing py27-setuptools27-2.0.1...Installing python27-2.7.6_4...Installing gettext-0.18.3.1... done done done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of ctpp2-2.8.3_1 ===> ctpp2-2.8.3_1 depends on file: /usr/local/bin/cmake - not found ===> Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake ===> Installing existing package /packages/All/cmake-2.8.12.1_4.txz Installing cmake-2.8.12.1_4...Installing cmake-modules-2.8.12.1_1... done done ===> Returning to build of ctpp2-2.8.3_1 =========================================================================== =================================================== ===> ctpp2-2.8.3_1 depends on shared library: libintl.so - found =========================================================================== =================================================== ===> Configuring for ctpp2-2.8.3_1 ===> Performing in-source build /bin/mkdir -p /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3 -- The C compiler identification is Clang 3.3.0 -- The CXX compiler identification is Clang 3.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for round in m -- Looking for round in m - found -- Looking for roundl in m -- Looking for roundl in m - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/uio.h -- Looking for include file sys/uio.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file math.h -- Looking for include file math.h - found -- Looking for include file stdio.h -- Looking for include file stdio.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found /usr/include/c++/v1/map:588:5: note: candidate constructor not viable: no known conversion from 'iterator' (aka '__map_iterator') to 'std::__1::__tree_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long>' for 1st argument __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {} ^ /usr/include/c++/v1/map:621:82: note: passing argument to parameter '__y' here bool operator==(const __map_const_iterator& __x, const __map_const_iterator& __y) ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:786:17: error: no viable conversion from 'iterator' (aka '__map_iterator') to 'const std::__1::__map_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> >' if (itmHash == u.p_data -> u.m_data -> end()) { return false; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/map:590:5: note: candidate constructor __map_const_iterator( ^ /usr/include/c++/v1/map:564:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__map_iterator') to 'const std::__1::__map_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> > &' for 1st argument class _LIBCPP_TYPE_VIS __map_const_iterator ^ /usr/include/c++/v1/map:588:5: note: candidate constructor not viable: no known conversion from 'iterator' (aka '__map_iterator') to 'std::__1::__tree_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long>' for 1st argument __map_const_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {} ^ /usr/include/c++/v1/map:621:82: note: passing argument to parameter '__y' here bool operator==(const __map_const_iterator& __x, const __map_const_iterator& __y) ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4453:50: error: no viable conversion from 'pair, [...]>' to 'const pair, [...]>' oDestination.u.p_data -> u.m_data -> insert(STLW::pair(itvKey -> GetString(), *itvArray)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW' #define STLW std ^ /usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string, _U2 = CTPP::CDT] pair(const pair<_U1, _U2>& __p ^ /usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair' to 'const std::__1::pair, CTPP::CDT> &' for 1st argument pair(const pair& __p) ^ /usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here insert(const value_type& __v) {return __tree_.__insert_unique(__v);} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4491:50: error: no viable conversion from 'pair, [...]>' to 'const pair, [...]>' oDestination.u.p_data -> u.m_data -> insert(STLW::pair(itvKey -> GetString(), CDT())); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW' #define STLW std ^ /usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string, _U2 = CTPP::CDT] pair(const pair<_U1, _U2>& __p ^ /usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair' to 'const std::__1::pair, CTPP::CDT> &' for 1st argument pair(const pair& __p) ^ /usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here insert(const value_type& __v) {return __tree_.__insert_unique(__v);} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:4495:49: error: no viable conversion from 'pair, [...]>' to 'const pair, [...]>' oDestination.u.p_data -> u.m_data -> insert(STLW::pair(itvKey -> GetString(), *itvArray)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:43:22: note: expanded from macro 'STLW' #define STLW std ^ /usr/include/c++/v1/utility:255:9: note: candidate constructor [with _U1 = std::__1::basic_string, _U2 = CTPP::CDT] pair(const pair<_U1, _U2>& __p ^ /usr/include/c++/v1/utility:264:5: note: candidate constructor not viable: no known conversion from 'std::pair' to 'const std::__1::pair, CTPP::CDT> &' for 1st argument pair(const pair& __p) ^ /usr/include/c++/v1/map:921:34: note: passing argument to parameter '__v' here insert(const value_type& __v) {return __tree_.__insert_unique(__v);} ^ /usr/include/c++/v1/map:845:44: error: no viable conversion from 'iterator' (aka '__tree_iterator') to 'iterator' (aka '__map_iterator') iterator end() _NOEXCEPT {return __tree_.end();} ^~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:182:42: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::end' requested here return Iterator(u.p_data -> u.m_data -> end()); ^ /usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator') to 'const std::__1::__map_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> > &' for 1st argument class _LIBCPP_TYPE_VIS __map_iterator ^ /usr/include/c++/v1/map:961:60: error: no viable conversion from 'iterator' (aka '__tree_iterator') to 'iterator' (aka '__map_iterator') iterator find(const key_type& __k) {return __tree_.find(__k);} ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:192:41: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::find' requested here return Iterator(u.p_data -> u.m_data -> find(sKey)); ^ /usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator') to 'const std::__1::__map_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> > &' for 1st argument class _LIBCPP_TYPE_VIS __map_iterator ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: In file included from /usr/include/c++/v1/map:371: /usr/include/c++/v1/__tree:738:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/map:601:41: note: in instantiation of member function 'std::__1::__tree_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long>::operator++' requested here __map_const_iterator& operator++() {++__i_; return *this;} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:235:2: note: in instantiation of member function 'std::__1::__map_const_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> >::operator++' requested here ++itMap; ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: /usr/include/c++/v1/map:1202:53: error: static_cast from 'pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed __tree_.__insert_node_at(__parent, __child, static_cast<__node_base_pointer>(__h.get())); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:696:32: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::operator[]' requested here return u.p_data -> u.m_data -> operator[](sKey); ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: /usr/include/c++/v1/map:1055:16: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed __parent = static_cast<__node_base_pointer>(__tree_.__end_node()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/map:1197:36: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__find_equal_key' requested here __node_base_pointer& __child = __find_equal_key(__parent, __k); ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:696:32: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::operator[]' requested here return u.p_data -> u.m_data -> operator[](sKey); ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: /usr/include/c++/v1/map:945:48: error: no viable conversion from 'iterator' (aka '__tree_iterator') to 'iterator' (aka '__map_iterator') iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);} ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::erase' requested here u.p_data -> u.m_data -> erase(itmHash); ^ /usr/include/c++/v1/map:499:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka '__tree_iterator') to 'const std::__1::__map_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long> > &' for 1st argument class _LIBCPP_TYPE_VIS __map_iterator ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: In file included from /usr/include/c++/v1/map:371: /usr/include/c++/v1/__tree:1976:19: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed static_cast<__node_base_pointer>(__np)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare, std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::less >, true>, std::__1::allocator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type> >::erase' requested here iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::erase' requested here u.p_data -> u.m_data -> erase(itmHash); ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: In file included from /usr/include/c++/v1/map:371: /usr/include/c++/v1/__tree:652:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') to '__node_base_pointer' (aka 'int') is not allowed {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__tree:1969:5: note: in instantiation of member function 'std::__1::__tree_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long>::operator++' requested here ++__r; ^ /usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare, std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::less >, true>, std::__1::allocator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type> >::erase' requested here iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::erase' requested here u.p_data -> u.m_data -> erase(itmHash); ^ In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:32: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/CDT.hpp:40: In file included from /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/include/STLMap.hpp:39: In file included from /usr/include/c++/v1/map:371: /usr/include/c++/v1/__tree:652:19: error: cannot cast from type 'int' to pointer type '__node_pointer' (aka 'std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *') {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__tree:157:14: error: member reference type 'int' is not a pointer if (__x->__right_ != nullptr) ~~~ ^ /usr/include/c++/v1/__tree:652:47: note: in instantiation of function template specialization 'std::__1::__tree_next' requested here {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); ^ /usr/include/c++/v1/__tree:1969:5: note: in instantiation of member function 'std::__1::__tree_iterator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__tree_node, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, void *> *, long>::operator++' requested here ++__r; ^ /usr/include/c++/v1/map:945:56: note: in instantiation of member function 'std::__1::__tree, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::__map_value_compare, std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type, std::__1::less >, true>, std::__1::allocator, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::__value_type> >::erase' requested here iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);} ^ /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3/src/CDT.cpp:761:26: note: in instantiation of member function 'std::__1::map, CTPP::CDT, std::__1::less >, std::__1::allocator, CTPP::CDT> > >::erase' requested here u.p_data -> u.m_data -> erase(itmHash); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3 *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/textproc/ctpp2/work/ctpp2-2.8.3 *** Error code 1 Stop. make: stopped in /usr/ports/textproc/ctpp2 ===> Cleaning for ctpp2-2.8.3_1